Pagini recente » Borderou de evaluare (job #337229) | Borderou de evaluare (job #2344257) | Borderou de evaluare (job #1959538) | Borderou de evaluare (job #577345) | Borderou de evaluare (job #1564821)
Borderou de evaluare (job #1564821)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp: In function ‘void solve()’:
user.cpp:32:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp: In function ‘void rsw()’:
user.cpp:63:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "w", stdout);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccWJRFtu.o: In function `read()':
user.cpp:(.text+0xa3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 220ms | 3420kb | Incorect | 0 |
Punctaj total | 0 |