Pagini recente » Borderou de evaluare (job #1718892) | Borderou de evaluare (job #960064) | Borderou de evaluare (job #721279) | Borderou de evaluare (job #2384865) | Borderou de evaluare (job #1763148)
Borderou de evaluare (job #1763148)
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 | 436kb | OK | 10 |
✗ | 2 | 0ms | 436kb | OK | 10 |
✓ | 3 | 0ms | 440kb | OK | 10 |
✗ | 4 | 4ms | 440kb | OK | 10 |
✗ | 5 | 152ms | 432kb | OK | 10 |
✗ | 6 | 148ms | 436kb | OK | 10 |
✗ | 7 | 184ms | 436kb | OK | 10 |
✗ | 8 | 172ms | 432kb | OK | 10 |
✓ | 9 | 176ms | 432kb | OK | 10 |
✗ | 10 | 172ms | 440kb | OK | 10 |
Punctaj total | 100 |