Pagini recente » Borderou de evaluare (job #2859121) | Borderou de evaluare (job #1534454) | Borderou de evaluare (job #88563) | Borderou de evaluare (job #1114289) | Borderou de evaluare (job #1763144)
Borderou de evaluare (job #1763144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.in", "r", stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.out", "w", stdout);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &q);
^
user.cpp:46:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0; i<k; ++i) scanf("%d", &cost[i]);
^
user.cpp:53:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &a, &b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 432kb | Incorect | 0 |
✗ | 2 | 0ms | 432kb | Incorect | 0 |
✓ | 3 | 0ms | 436kb | Incorect | 0 |
✗ | 4 | 4ms | 432kb | Incorect | 0 |
✗ | 5 | 156ms | 436kb | Incorect | 0 |
✗ | 6 | 156ms | 436kb | Incorect | 0 |
✗ | 7 | 184ms | 436kb | Incorect | 0 |
✗ | 8 | 176ms | 432kb | Incorect | 0 |
✓ | 9 | 176ms | 432kb | Incorect | 0 |
✗ | 10 | 176ms | 440kb | Incorect | 0 |
Punctaj total | 0 |