Pagini recente » Borderou de evaluare (job #728773) | Borderou de evaluare (job #2905823) | Borderou de evaluare (job #506386) | Borderou de evaluare (job #3275767) | Borderou de evaluare (job #1663589)
Borderou de evaluare (job #1663589)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:24: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);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:30:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x[i].weight, &x[i].profit);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 392ms | 2912kb | OK | 10 | 100 |
2 | 380ms | 2912kb | OK | 10 |
3 | 344ms | 2892kb | OK | 10 |
4 | 380ms | 2912kb | OK | 10 |
5 | 184ms | 2780kb | OK | 10 |
6 | 360ms | 2916kb | OK | 10 |
7 | 384ms | 2912kb | OK | 10 |
8 | 384ms | 2916kb | OK | 10 |
9 | 384ms | 2916kb | OK | 10 |
10 | 100ms | 2772kb | OK | 10 |
Punctaj total | 100 |