Borderou de evaluare (job #1883185)

Utilizator kywyPApescu tiGEriu kywy Data 17 februarie 2017 19:47:38
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int cmmdc(int, int)’: user.cpp:5:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a > b) if(a % b == 0) return b; ^ user.cpp:7:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(b >= a) if(b % a == 0) return a; ^ user.cpp: In function ‘int main()’: user.cpp:16:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOKAY!10
20ms264kbOKAY!10
30ms268kbOKAY!10
40ms248kbOKAY!10
50ms260kbOKAY!10
60ms264kbWrong Answer.0
70ms264kbWrong Answer.0
80ms260kbWrong Answer.0
90ms244kbOKAY!10
100ms264kbOKAY!10
Punctaj total70

Ceva nu functioneaza?