Pagini recente » Borderou de evaluare (job #2507360) | Borderou de evaluare (job #1162969) | Borderou de evaluare (job #1086741) | Borderou de evaluare (job #1328168) | Borderou de evaluare (job #2052384)
Borderou de evaluare (job #2052384)
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:18:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:20:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:21:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch);
^
/tmp/ccKwTlpd.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 |