Borderou de evaluare (job #2471930)

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

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
13ms786kbOK!10
210ms2097kbOK!10
314ms3014kbOK!10
411ms2228kbOK!10
52ms131kbOK!10
62ms131kbOK!10
72ms131kbOK!10
83ms262kbOK!10
93ms393kbOK!10
103ms393kbOK!10
Punctaj total100

Ceva nu functioneaza?