Pagini recente » Borderou de evaluare (job #2939740) | Borderou de evaluare (job #2852269) | Borderou de evaluare (job #1129168) | Borderou de evaluare (job #98244) | Borderou de evaluare (job #2594335)
Borderou de evaluare (job #2594335)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:6:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
main.cpp:7:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
main.cpp:9:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
main.cpp:12:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,1000001,stdin);
^
In file included from /usr/include/stdio.h:936:0,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:12:25:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 5ms | 262kb | OK | 10 |
4 | 67ms | 2490kb | OK | 10 |
5 | 21ms | 655kb | OK | 10 |
6 | 41ms | 1310kb | OK | 10 |
7 | 139ms | 3407kb | OK | 10 |
8 | 202ms | 5111kb | OK | 10 |
9 | 14ms | 393kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |