Pagini recente » Borderou de evaluare (job #1947502) | Borderou de evaluare (job #2800541) | Borderou de evaluare (job #2719249) | Borderou de evaluare (job #1216602) | Borderou de evaluare (job #2100743)
Borderou de evaluare (job #2100743)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tastatura.in","r",stdin);
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tastatura.out","w",stdout);
^
user.cpp:24:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x+1);
^
user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:28:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(num[i].ch+1);
^
user.cpp:31:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");}
^
/tmp/cc8G6wN5.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 100 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 388kb | OK | 10 |
5 | 4ms | 452kb | OK | 10 |
6 | 8ms | 576kb | OK | 10 |
7 | 8ms | 664kb | OK | 10 |
8 | 12ms | 780kb | OK | 10 |
9 | 16ms | 852kb | OK | 10 |
10 | 20ms | 864kb | OK | 10 |
Punctaj total | 100 |