Borderou de evaluare (job #2718049)

Utilizator darkeagleDaniel Popescu darkeagle Data 8 martie 2021 13:42:08
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int suma(int)': main.cpp:56:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(t == 0) ^~ main.cpp:59:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return s%10; ^~~~~~ main.cpp: In function 'int main()': main.cpp:69:5: warning: variable 's' set but not used [-Wunused-but-set-variable] int s = 0, t; ^ main.cpp:64:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.in", "r" , stdin); ^ main.cpp:65:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit!0
23ms131kbRaspuns gresit!0
33ms131kbRaspuns gresit!0
43ms131kbRaspuns gresit!0
53ms131kbRaspuns gresit!0
64ms131kbRaspuns gresit!0
77ms131kbRaspuns gresit!0
815ms131kbRaspuns gresit!0
918ms131kbRaspuns gresit!0
1032ms262kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?