Pagini recente » Borderou de evaluare (job #1513878) | Borderou de evaluare (job #2337903) | Borderou de evaluare (job #2651554) | Borderou de evaluare (job #1377421) | Borderou de evaluare (job #2105488)
Borderou de evaluare (job #2105488)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42: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:43: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:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&l,&n);
^
user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l1);
^
user.cpp:51:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccjmMvV7.o: In function `main':
user.cpp:(.text.startup+0x9d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 384kb | OK | 10 |
2 | 4ms | 300kb | OK | 10 |
3 | Depăşit | 384kb | Time limit exceeded. | 0 |
4 | 32ms | 6484kb | OK | 10 |
5 | 84ms | 12528kb | OK | 10 |
6 | 28ms | 6464kb | OK | 10 |
7 | 64ms | 12528kb | OK | 10 |
8 | 40ms | 6500kb | OK | 10 |
9 | 12ms | 1160kb | OK | 10 |
10 | 4ms | 752kb | OK | 10 |
Punctaj total | 90 |