Pagini recente » Borderou de evaluare (job #2037865) | Borderou de evaluare (job #493721) | Borderou de evaluare (job #974316) | Borderou de evaluare (job #1954092) | Borderou de evaluare (job #2632408)
Borderou de evaluare (job #2632408)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &TN);
^
main.cpp:52:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(B + 1, NMax, fin);
^
main.cpp:58:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &w);
^
main.cpp:61:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(A + 1, NMax, fin);
^
In file included from /usr/include/stdio.h:936:0,
from main.cpp:2:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:52:26:
/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);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:61:27:
/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 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |