Pagini recente » Borderou de evaluare (job #2225918) | Borderou de evaluare (job #1232706) | Borderou de evaluare (job #1303668) | Borderou de evaluare (job #2813241) | Borderou de evaluare (job #2210766)
Borderou de evaluare (job #2210766)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100002]’ [-Wformat=]
scanf("%s",&x);
^
user.cpp:18:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1002]’ [-Wformat=]
scanf("%s",&x2);
^
user.cpp:9: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:10: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:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l,&n);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&x);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&x2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 312ms | 1692kb | OK | 10 |
| 2 | 8ms | 1336kb | OK | 10 |
| 3 | 424ms | 1812kb | OK | 10 |
| 4 | 316ms | 1696kb | OK | 10 |
| 5 | 424ms | 1804kb | OK | 10 |
| 6 | 228ms | 1600kb | OK | 10 |
| 7 | 424ms | 1804kb | OK | 10 |
| 8 | 420ms | 1808kb | OK | 10 |
| 9 | 164ms | 1576kb | OK | 10 |
| 10 | 28ms | 1356kb | OK | 10 |
| Punctaj total | 100 |