Pagini recente » Borderou de evaluare (job #1469655) | Borderou de evaluare (job #189214) | Borderou de evaluare (job #1966039) | Borderou de evaluare (job #2024573) | Borderou de evaluare (job #2155097)
Borderou de evaluare (job #2155097)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=]
scanf("%d%s",&p,&v);
^
user.cpp:42:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(v);++i)
^
user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in","r",stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out","w",stdout);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&p,&v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1296kb | OK | 5 |
| 2 | 0ms | 1312kb | OK | 5 |
| 3 | 0ms | 1368kb | OK | 5 |
| 4 | 0ms | 1388kb | OK | 5 |
| 5 | 0ms | 1300kb | OK | 5 |
| 6 | 0ms | 1300kb | Incorect | 0 |
| 7 | 0ms | 1308kb | Incorect | 0 |
| 8 | 4ms | 1308kb | Incorect | 0 |
| 9 | 8ms | 1312kb | Incorect | 0 |
| 10 | 12ms | 1320kb | Incorect | 0 |
| 11 | 128ms | 1360kb | Incorect | 0 |
| 12 | 252ms | 1384kb | Incorect | 0 |
| 13 | Depăşit | 1344kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1376kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1400kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1416kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1436kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1464kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1476kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1472kb | Time limit exceeded. | 0 |
| Punctaj total | 25 |