Pagini recente » Borderou de evaluare (job #1609302) | Borderou de evaluare (job #882069) | Borderou de evaluare (job #876383) | Borderou de evaluare (job #3208958) | Borderou de evaluare (job #1669392)
Borderou de evaluare (job #1669392)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:39:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < objs[w].size() && i < lim; i++) {
^
user.cpp: In function ‘void read()’:
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &W);
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &w, &p);
^
user.cpp: In function ‘int main()’:
user.cpp:53: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:54: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 | 280ms | 1844kb | OK | 10 | 100 |
2 | 276ms | 1984kb | OK | 10 |
3 | 244ms | 1844kb | OK | 10 |
4 | 280ms | 1992kb | OK | 10 |
5 | 144ms | 2240kb | OK | 10 |
6 | 264ms | 1844kb | OK | 10 |
7 | 276ms | 2000kb | OK | 10 |
8 | 280ms | 1936kb | OK | 10 |
9 | 280ms | 1844kb | OK | 10 |
10 | 144ms | 2244kb | OK | 10 |
Punctaj total | 100 |