Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 3:b66649792025, committed 2019-11-08
- Comitter:
- javicas95
- Date:
- Fri Nov 08 12:34:34 2019 +0000
- Parent:
- 2:de5c54621d59
- Commit message:
- last
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 08 12:18:35 2019 +0000 +++ b/main.cpp Fri Nov 08 12:34:34 2019 +0000 @@ -79,7 +79,7 @@ uint64_t sumatorio=0; for(int i=0; i<longi; i++) { dato=ent[i]; - sumatorio+= dato*dato; + sumatorio= sumatorio + (dato*dato); sal[i]=dato; if(dato>max) { max=dato;