Pagini recente » Borderou de evaluare (job #2902049) | Borderou de evaluare (job #3162342) | Borderou de evaluare (job #753707) | Borderou de evaluare (job #1174956) | Borderou de evaluare (job #1668634)
Borderou de evaluare (job #1668634)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:74:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:76:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&a,&n);
^
user.cpp:77:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:80:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:81:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss);
^
/tmp/ccVVdMaZ.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 4ms | 324kb | OK | 10 |
3 | 8ms | 432kb | OK | 10 |
4 | 116ms | 17780kb | OK | 10 |
5 | 188ms | 28660kb | OK | 10 |
6 | 116ms | 17600kb | OK | 10 |
7 | 244ms | 35332kb | OK | 10 |
8 | 120ms | 17844kb | OK | 10 |
9 | 12ms | 2580kb | OK | 10 |
10 | 4ms | 1152kb | OK | 10 |
Punctaj total | 100 |