Pagini recente » Borderou de evaluare (job #625469) | Borderou de evaluare (job #1653631) | Borderou de evaluare (job #2408620) | Borderou de evaluare (job #3214912) | Borderou de evaluare (job #1191428)
Borderou de evaluare (job #1191428)
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:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&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/ccoYLLHu.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 | 1964ms | 920kb | OK | 20 |
2 | 2600ms | 920kb | OK | 20 |
3 | 2224ms | 920kb | OK | 20 |
4 | 1512ms | 912kb | OK | 20 |
5 | 2048ms | 920kb | OK | 20 |
Punctaj total | 100 |