Pagini recente » Borderou de evaluare (job #517980) | Borderou de evaluare (job #206561) | Borderou de evaluare (job #2635957) | Borderou de evaluare (job #244787) | Borderou de evaluare (job #1667467)
Borderou de evaluare (job #1667467)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:43:23: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, weight, k, sol;
^
user.cpp: In function ‘void read()’:
user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &G);
^
user.cpp:34:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; i++) scanf("%d %d", &m[i].w, &m[i].p);
^
user.cpp: In function ‘int main()’:
user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in", "r", stdin);
^
user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 268ms | 2804kb | OK | 10 | 0 |
2 | 260ms | 2800kb | OK | 10 |
3 | 252ms | 2808kb | OK | 10 |
4 | 260ms | 2804kb | OK | 10 |
5 | 176ms | 2788kb | OK | 10 |
6 | 244ms | 2804kb | OK | 10 |
7 | 260ms | 2804kb | OK | 10 |
8 | 260ms | 2804kb | OK | 10 |
9 | 268ms | 2804kb | OK | 10 |
10 | Depăşit | 2756kb | Time limit exceeded. | 0 |
Punctaj total | 0 |