Borderou de evaluare (job #2616974)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("energii.in", "r", stdin);
^
main.cpp:28:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("energii.out", "w", stdout);
^
main.cpp:30:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&W);
^
main.cpp:32:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&wt[i],&val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 100ms | 131kb | Time limit exceeded | 0 |
2 | 101ms | 131kb | Time limit exceeded | 0 |
3 | 3ms | 131kb | Wrong answer! | 0 |
4 | 5ms | 131kb | Wrong answer! | 0 |
5 | 7ms | 131kb | Wrong answer! | 0 |
6 | 101ms | 131kb | Time limit exceeded | 0 |
7 | 101ms | 262kb | Time limit exceeded | 0 |
8 | 101ms | 131kb | Time limit exceeded | 0 |
9 | 101ms | 262kb | Time limit exceeded | 0 |
10 | 100ms | 262kb | Time limit exceeded | 0 |
11 | 101ms | 262kb | Time limit exceeded | 0 |
12 | 101ms | 262kb | Time limit exceeded | 0 |
13 | 101ms | 262kb | Time limit exceeded | 0 |
14 | 101ms | 262kb | Time limit exceeded | 0 |
15 | 101ms | 262kb | Time limit exceeded | 0 |
16 | 100ms | 262kb | Time limit exceeded | 0 |
17 | 101ms | 262kb | Time limit exceeded | 0 |
18 | 100ms | 262kb | Time limit exceeded | 0 |
19 | 103ms | 262kb | Time limit exceeded | 0 |
20 | 101ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 0 |