Pagini recente » Borderou de evaluare (job #464788) | Borderou de evaluare (job #146661) | Borderou de evaluare (job #1901101) | Borderou de evaluare (job #867513) | Borderou de evaluare (job #2138459)
Borderou de evaluare (job #2138459)
Raport evaluator
Compilare:
user.cpp: In function ‘void knapsack()’:
user.cpp:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= p.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.in", "r", stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.out", "w", stdout);
^
user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &n, &m, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1500kb | OK | 10 |
2 | 0ms | 1496kb | OK | 10 |
3 | 0ms | 1512kb | Incorect | 0 |
4 | 0ms | 1508kb | Incorect | 0 |
5 | 0ms | 1512kb | Incorect | 0 |
6 | 4ms | 1540kb | OK | 10 |
7 | 76ms | 1684kb | OK | 10 |
8 | 204ms | 1852kb | Incorect | 0 |
9 | Depăşit | 2000kb | Time limit exceeded. | 0 |
10 | Depăşit | 2124kb | Time limit exceeded. | 0 |
Punctaj total | 40 |