Pagini recente » Borderou de evaluare (job #2014449) | Borderou de evaluare (job #2214494) | Borderou de evaluare (job #1046156) | Borderou de evaluare (job #1215059) | Borderou de evaluare (job #1521738)
Borderou de evaluare (job #1521738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.in", "r", stdin);
^
user.cpp:14:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.out", "w", stdout);
^
user.cpp:29:23: 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:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &k);
^
user.cpp:32:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(n);
^
/tmp/cctIlLQU.o: In function `main':
user.cpp:(.text.startup+0x14d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 796ms | 8096kb | OK | 100 |
Punctaj total | 100 |