Pagini recente » Borderou de evaluare (job #506044) | Borderou de evaluare (job #2564974) | Borderou de evaluare (job #1715309) | Borderou de evaluare (job #2173009) | Borderou de evaluare (job #1424576)
Borderou de evaluare (job #1424576)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &t);
^
user.cpp:36:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sum+1);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in", "r", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out", "w", stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 20ms | 260kb | OK | 10 |
| 7 | 60ms | 260kb | OK | 10 |
| 8 | 100ms | 264kb | OK | 10 |
| 9 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 256kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |