Borderou de evaluare (job #2471927)

Utilizator minecraft3Vintila Valentin Ioan minecraft3 Data 11 octombrie 2019 19:19:46
Problema Triunghi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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:55:5: note: in expansion of macro 'FOR1' FOR1(i, S) dp[i] = -1; dp[0] = 0; ^~~~ main.cpp:55: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:63:5: note: in expansion of macro 'FOR1' FOR1(i, np) sol[pascal[i]]+=2; if(n % 2) sol[pascal[np]]--; ^~~~ main.cpp:63: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
13ms524kbKilled by Signal 110
23ms524kbKilled by Signal 110
33ms524kbKilled by Signal 110
43ms524kbKilled by Signal 110
52ms131kbOK!10
62ms131kbOK!10
72ms131kbOK!10
83ms262kbOK!10
93ms393kbOK!10
103ms393kbOK!10
Punctaj total60

Ceva nu functioneaza?