Borderou de evaluare (job #2470556)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define FOR1(a,b) for(int a=1;a<=b;++a)
^
main.cpp:50:5: note: in expansion of macro 'FOR1'
FOR1(i, cap) profit[i] = 2; profit[0] = 0;
^~~~
main.cpp:50:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
FOR1(i, cap) profit[i] = 2; profit[0] = 0;
^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 40 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 8ms | 131kb | OK | 10 |
5 | 24ms | 131kb | OK | 10 | 40 |
6 | 2ms | 131kb | OK | 10 |
7 | 40ms | 131kb | OK | 10 |
8 | 8ms | 131kb | OK | 10 |
9 | 4ms | 131kb | OK | 10 | 20 |
10 | 46ms | 131kb | OK | 10 |
Punctaj total | 100 |