Pagini recente » Borderou de evaluare (job #2439987) | Borderou de evaluare (job #334057) | Borderou de evaluare (job #2374476) | Borderou de evaluare (job #997506) | Borderou de evaluare (job #1721963)
Borderou de evaluare (job #1721963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsah.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsah.out","w",stdout);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&go);
^
user.cpp:32:40: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( s + 1, NMax, stdin );
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:32:40:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 156ms | 312kb | Incorect | 0 | 0 |
2 | 292ms | 320kb | Incorect | 0 |
Punctaj total | 0 |