Pagini recente » Borderou de evaluare (job #1272479) | Borderou de evaluare (job #2274946) | Borderou de evaluare (job #2376884) | Borderou de evaluare (job #1831137) | Borderou de evaluare (job #2051420)
Borderou de evaluare (job #2051420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:23:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:25:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:35:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
/tmp/ccK5gm7i.o: In function `main':
user.cpp:(.text.startup+0x100): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 408ms | 4176kb | OK | 100 |
Punctaj total | 100 |