Borderou de evaluare (job #2735044)

Utilizator KPP17Popescu Paul KPP17 Data 1 aprilie 2021 19:18:30
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (b != 1) Q.push_back(b); for (LL i = 1LL << Q.size(), e, c; e = 1, c = 0, --i;) { ^~ main.cpp:15:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (b != 1) Q.push_back(b); for (LL i = 1LL << Q.size(), e, c; e = 1, c = 0, --i;) { ^~~ main.cpp:17:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (c) if (c & 1) s += a/e; else s -= a/e;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
115ms913kbOK1010
219ms913kbOK1010
319ms913kbOK1010
450ms913kbOK1010
564ms913kbOK1010
678ms913kbOK1010
749ms913kbOK1010
82005ms913kbTime limit exceeded00
92007ms913kbTime limit exceeded0
101940ms913kbOK10
Punctaj total70

Ceva nu functioneaza?