Pagini recente » Borderou de evaluare (job #731595) | Borderou de evaluare (job #785315) | Borderou de evaluare (job #532955) | Borderou de evaluare (job #1802071) | Borderou de evaluare (job #1191427)
Borderou de evaluare (job #1191427)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:16:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cmd); N=0;
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:24:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cmd); N=0;
^
/tmp/cc9Z9mcT.o: In function `main':
user.cpp:(.text.startup+0x6d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1940ms | 916kb | OK | 20 |
2 | 2496ms | 916kb | OK | 20 |
3 | 2276ms | 916kb | OK | 20 |
4 | 1504ms | 908kb | OK | 20 |
5 | 2112ms | 916kb | Incorect | 0 |
Punctaj total | 80 |