Pagini recente » Borderou de evaluare (job #1155380) | Borderou de evaluare (job #1042163) | Borderou de evaluare (job #1770250) | Borderou de evaluare (job #2451873) | Borderou de evaluare (job #1770269)
Borderou de evaluare (job #1770269)
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 | 280kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 388kb | OK | 10 |
| 6 | 0ms | 440kb | OK | 10 |
| 7 | 4ms | 508kb | OK | 10 |
| 8 | 8ms | 708kb | OK | 10 |
| 9 | 12ms | 752kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 100 |