Pagini recente » Borderou de evaluare (job #2651470) | Borderou de evaluare (job #1364733) | Borderou de evaluare (job #2275013) | Borderou de evaluare (job #233484) | Borderou de evaluare (job #2052377)
Borderou de evaluare (job #2052377)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:34: 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:8:36: 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:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:19:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:20:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch);
^
/tmp/ccHxnlEK.o: In function `main':
user.cpp:(.text.startup+0x145): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 816ms | 7168kb | OK | 100 |
Punctaj total | 100 |