Pagini recente » Cod sursa (job #1978173) | Cod sursa (job #2720145) | Cod sursa (job #485253) | Cod sursa (job #459672) | Borderou de evaluare (job #2509655)
Borderou de evaluare (job #2509655)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:19: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld",&n);
^
main.cpp:25:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld",r);
^
main.cpp:9:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("100m.in","r",stdin);
^
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("100m.out","w",stdout);
^
main.cpp:11:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 4 |
| 2 | 2ms | 131kb | OK | 4 |
| 3 | 77ms | 262kb | OK | 4 |
| 4 | 2ms | 131kb | OK | 4 |
| 5 | 2ms | 131kb | OK | 4 |
| 6 | 46ms | 262kb | OK | 4 |
| 7 | 7ms | 131kb | OK | 4 |
| 8 | 174ms | 258kb | OK | 4 |
| 9 | 16ms | 131kb | OK | 4 |
| 10 | 21ms | 131kb | OK | 4 |
| 11 | 40ms | 262kb | OK | 4 |
| 12 | 51ms | 262kb | OK | 4 |
| 13 | 70ms | 262kb | OK | 4 |
| 14 | 85ms | 262kb | OK | 4 |
| 15 | 99ms | 262kb | OK | 4 |
| 16 | 90ms | 262kb | OK | 4 |
| 17 | 149ms | 253kb | OK | 4 |
| 18 | 132ms | 258kb | OK | 4 |
| 19 | 142ms | 393kb | OK | 4 |
| 20 | 153ms | 262kb | OK | 4 |
| 21 | 4ms | 131kb | OK | 4 |
| 22 | 4ms | 131kb | OK | 4 |
| 23 | 3ms | 131kb | OK | 4 |
| 24 | 3ms | 131kb | OK | 4 |
| 25 | 136ms | 262kb | OK | 4 |
| Punctaj total | 100 |