Pagini recente » Borderou de evaluare (job #2493170) | Borderou de evaluare (job #2841941) | Borderou de evaluare (job #2756490) | Borderou de evaluare (job #887075) | Borderou de evaluare (job #1777497)
Borderou de evaluare (job #1777497)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rucsac.in", "r", stdin);
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rucsac.out", "w", stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&G);
^
user.cpp:19:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &W[i], &P[i]);
^
user.cpp:21:9: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int sol;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 456kb | OK | 5 | 10 |
2 | 0ms | 460kb | OK | 5 |
3 | 0ms | 460kb | OK | 5 | 15 |
4 | 0ms | 456kb | OK | 5 |
5 | 0ms | 460kb | OK | 5 |
6 | 0ms | 464kb | OK | 5 | 10 |
7 | 0ms | 460kb | OK | 5 |
8 | 0ms | 468kb | OK | 5 | 15 |
9 | 0ms | 464kb | OK | 5 |
10 | 0ms | 464kb | OK | 5 |
11 | 20ms | 492kb | OK | 5 | 15 |
12 | 12ms | 492kb | OK | 5 |
13 | 8ms | 492kb | OK | 5 |
14 | 36ms | 524kb | OK | 5 | 15 |
15 | 64ms | 520kb | OK | 5 |
16 | 36ms | 520kb | OK | 5 |
17 | 20ms | 504kb | OK | 5 | 20 |
18 | 88ms | 524kb | OK | 5 |
19 | 44ms | 524kb | OK | 5 |
20 | 44ms | 524kb | OK | 5 |
Punctaj total | 100 |