Pagini recente » Borderou de evaluare (job #136895) | Borderou de evaluare (job #1021614) | Borderou de evaluare (job #238466) | Borderou de evaluare (job #14642) | Borderou de evaluare (job #1188478)
Borderou de evaluare (job #1188478)
Raport evaluator
Compilare:
user.cpp: In function ‘void parse()’:
user.cpp:42: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:82: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:83: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:106: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:108:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
/tmp/ccgG6qrE.o: In function `parse()':
user.cpp:(.text+0x16): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 3376kb | Time limit exceeded. | 0 |
Punctaj total | 0 |