# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
974341 | 2024-05-03T08:55:03 Z | sleepntsheep | Savrsen (COCI17_savrsen) | C | 751 ms | 39552 KB |
#include<stdio.h> #include<stdlib.h> int z,j,i,a,b,f[10000001]; int main() { scanf("%d%d",&a,&b); for(i=1;i<=b;++i)for(j=i;j<=b;j+=i)f[j]+=i; for(i=a;i<=b;++i)z+=abs(f[i]-i); printf("%d",z); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 348 KB | Output isn't correct |
2 | Incorrect | 0 ms | 348 KB | Output isn't correct |
3 | Incorrect | 2 ms | 604 KB | Output isn't correct |
4 | Incorrect | 750 ms | 39552 KB | Output isn't correct |
5 | Incorrect | 735 ms | 39536 KB | Output isn't correct |
6 | Incorrect | 751 ms | 39512 KB | Output isn't correct |
7 | Incorrect | 669 ms | 38500 KB | Output isn't correct |
8 | Incorrect | 38 ms | 11612 KB | Output isn't correct |