Pagini recente » Borderou de evaluare (job #2218626) | Borderou de evaluare (job #1401832) | Borderou de evaluare (job #1723121) | Borderou de evaluare (job #268594) | Borderou de evaluare (job #1770263)
Borderou de evaluare (job #1770263)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++c[ is[now][i] ];
^
user.cpp:39:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
now = now - v[ is[now][i] ];
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&S,&N,&C);
^
user.cpp:18:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= C; ++i) scanf("%d %d",&v[i],&c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 280kb | Incorect | 0 |
| 5 | 0ms | 388kb | OK | 10 |
| 6 | 0ms | 440kb | OK | 10 |
| 7 | 0ms | 500kb | OK | 10 |
| 8 | 8ms | 704kb | OK | 10 |
| 9 | 12ms | 748kb | OK | 10 |
| 10 | 0ms | 272kb | OK | 10 |
| Punctaj total | 90 |