Pagini recente » Borderou de evaluare (job #920437) | Borderou de evaluare (job #3227309) | Borderou de evaluare (job #1810790) | Borderou de evaluare (job #289519) | Borderou de evaluare (job #1189638)
Borderou de evaluare (job #1189638)
Raport evaluator
Compilare:
user.cpp: In function ‘void parse()’:
user.cpp:64:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
user.cpp: In function ‘int main()’:
user.cpp:104:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.in", "r", stdin);
^
user.cpp:105:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.out", "w", stdout);
^
user.cpp:111:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &T); T; --T)
^
user.cpp:113:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
/tmp/ccUPF6XX.o: In function `parse()':
user.cpp:(.text+0x17): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4980kb | Time limit exceeded. | 0 |
Punctaj total | 0 |