Pagini recente » Borderou de evaluare (job #2244083) | Borderou de evaluare (job #3199186) | Borderou de evaluare (job #3285453) | Borderou de evaluare (job #1421005) | Borderou de evaluare (job #2457367)
Borderou de evaluare (job #2457367)
Raport evaluator
Compilare:
main.cpp: In function 'void Read()':
main.cpp:14:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
main.cpp:15:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(S + 1, 1005, stdin);
^
main.cpp:34:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c%d", &x, &c, &y);
^
main.cpp: In function 'int main()':
main.cpp:63:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("robo.in", "r", stdin);
^
main.cpp:65:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'void Read()' at main.cpp:15:30:
/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 | 61ms | 262kb | Incorect | 0 |
Punctaj total | 0 |