Pagini recente » Borderou de evaluare (job #1934471) | Borderou de evaluare (job #1873268) | Borderou de evaluare (job #3000910) | Borderou de evaluare (job #2814918) | Borderou de evaluare (job #1188473)
Borderou de evaluare (job #1188473)
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:78: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:79: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:102: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:104:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
/tmp/ccMfY4xl.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 | 3372kb | Time limit exceeded. | 0 |
Punctaj total | 0 |