Pagini recente » Borderou de evaluare (job #634944) | Borderou de evaluare (job #1483748) | Borderou de evaluare (job #2746225) | Borderou de evaluare (job #2334393) | Borderou de evaluare (job #2105494)
Borderou de evaluare (job #2105494)
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:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l1);
^
user.cpp:58:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/cc2POvGa.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 | 680kb | OK | 10 |
2 | 8ms | 308kb | OK | 10 |
3 | 12ms | 796kb | OK | 10 |
4 | 32ms | 6788kb | OK | 10 |
5 | 84ms | 12928kb | OK | 10 |
6 | 32ms | 6680kb | OK | 10 |
7 | 72ms | 12932kb | OK | 10 |
8 | 40ms | 6900kb | OK | 10 |
9 | 12ms | 1364kb | OK | 10 |
10 | 4ms | 792kb | OK | 10 |
Punctaj total | 100 |