Pagini recente » Borderou de evaluare (job #368020) | Borderou de evaluare (job #2125770) | Borderou de evaluare (job #774116) | Borderou de evaluare (job #2109410) | Borderou de evaluare (job #1266070)
Borderou de evaluare (job #1266070)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
for (j=1;j*j<=i;j++) if (i%j==0) if (j*j!=i) S+=j+i/j;
^
user.cpp:9:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.in","r",stdin);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.out","w",stdout);
^
user.cpp:11:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&st[i],&dr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 12ms | 352kb | OK | 5 |
6 | 12ms | 352kb | OK | 5 |
7 | 340ms | 1132kb | OK | 5 |
8 | 340ms | 1132kb | OK | 5 |
9 | 436ms | 1824kb | OK | 5 |
10 | 432ms | 1824kb | OK | 5 |
11 | Depăşit | 2288kb | Time limit exceeded. | 0 |
12 | Depăşit | 2288kb | Time limit exceeded. | 0 |
13 | Depăşit | 2284kb | Time limit exceeded. | 0 |
14 | Depăşit | 2288kb | Time limit exceeded. | 0 |
15 | Depăşit | 2288kb | Time limit exceeded. | 0 |
16 | Depăşit | 2284kb | Time limit exceeded. | 0 |
17 | Depăşit | 2288kb | Time limit exceeded. | 0 |
18 | Depăşit | 2292kb | Time limit exceeded. | 0 |
19 | Depăşit | 2288kb | Time limit exceeded. | 0 |
20 | Depăşit | 2288kb | Time limit exceeded. | 0 |
Punctaj total | 50 |