Pagini recente » Borderou de evaluare (job #203288) | Borderou de evaluare (job #2957632) | Borderou de evaluare (job #1853659) | Borderou de evaluare (job #164608) | Borderou de evaluare (job #2471930)
Borderou de evaluare (job #2471930)
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:57:5: note: in expansion of macro 'FOR1'
FOR1(i, S) dp[i] = -1; dp[0] = 0;
^~~~
main.cpp:57:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
FOR1(i, S) dp[i] = -1; dp[0] = 0;
^~
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:65:5: note: in expansion of macro 'FOR1'
FOR1(i, np) sol[pascal[i]]+=2; if(n % 2) sol[pascal[np]]--;
^~~~
main.cpp:65:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
FOR1(i, np) sol[pascal[i]]+=2; if(n % 2) sol[pascal[np]]--;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 786kb | OK! | 10 |
2 | 10ms | 2097kb | OK! | 10 |
3 | 14ms | 3014kb | OK! | 10 |
4 | 11ms | 2228kb | OK! | 10 |
5 | 2ms | 131kb | OK! | 10 |
6 | 2ms | 131kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 3ms | 262kb | OK! | 10 |
9 | 3ms | 393kb | OK! | 10 |
10 | 3ms | 393kb | OK! | 10 |
Punctaj total | 100 |