Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <time.h>
- int main()
- {
- long sum = 0;
- int i;
- for (i = 0; i < 1000000; i++)
- {
- int value;
- scanf(" %d", &value);
- sum += value;
- }
- printf("%ld\n", sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement