Pagini recente » Borderou de evaluare (job #2147423) | Borderou de evaluare (job #3245190) | Borderou de evaluare (job #2645161) | Borderou de evaluare (job #2488268) | Borderou de evaluare (job #2105468)
Borderou de evaluare (job #2105468)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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:11: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:13: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:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l1);
^
user.cpp:18:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccQoeB0i.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 | 380ms | 336kb | OK | 10 |
2 | 4ms | 268kb | OK | 10 |
3 | 308ms | 356kb | OK | 10 |
4 | 420ms | 340kb | OK | 10 |
5 | 472ms | 356kb | OK | 10 |
6 | 244ms | 312kb | OK | 10 |
7 | Depăşit | 352kb | Time limit exceeded. | 0 |
8 | Depăşit | 352kb | Time limit exceeded. | 0 |
9 | 248ms | 312kb | OK | 10 |
10 | 32ms | 272kb | OK | 10 |
Punctaj total | 80 |