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