Pagini recente » Borderou de evaluare (job #2391278) | Borderou de evaluare (job #2333605) | Borderou de evaluare (job #312516) | Borderou de evaluare (job #3206017) | Borderou de evaluare (job #2066763)
Borderou de evaluare (job #2066763)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:29: 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:9:31: 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:11:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:13:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:17:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:32:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");}
^
/tmp/ccwI1WRg.o: In function `main':
user.cpp:(.text.startup+0xb0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 108ms | 312kb | OK | 50 | 100 |
2 | 232ms | 308kb | OK | 50 |
Punctaj total | 100 |