Borderou de evaluare (job #247633)

Utilizator avatar Andrei501 Clicinschi Andrei Andrei501 IP ascuns
Problemă Piramida1 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 sept. 2016 08:10:57 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int suma(int, int)': main.cpp:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9 | if (s>10); | ^~ main.cpp:10:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 10 | { | ^ main.cpp: In function 'int main()': main.cpp:18:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | freopen ("piramida1.in","r",stdin); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | freopen ("piramida1.out","w",stdout); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 2 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 2 ms 241 kb Incorect 0
9 1 ms 241 kb Incorect 0
10 1 ms 237 kb Incorect 0
Punctaj total 0