Pagini recente » Borderou de evaluare (job #1134967) | Borderou de evaluare (job #1019993) | Borderou de evaluare (job #1313062) | Borderou de evaluare (job #1593311) | Borderou de evaluare (job #1333630)
Borderou de evaluare (job #1333630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &t);
^
user.cpp:30: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:14: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:15: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:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:19: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 | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 28ms | 296kb | OK | 10 |
7 | 92ms | 292kb | OK | 10 |
8 | Depăşit | 288kb | Time limit exceeded. | 0 |
9 | Depăşit | 288kb | Time limit exceeded. | 0 |
10 | Depăşit | 292kb | Time limit exceeded. | 0 |
Punctaj total | 70 |