Borderou de evaluare (job #1883188)

Utilizator kywyPApescu tiGEriu kywy Data 17 februarie 2017 19:49:49
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:7:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a > b) if(a % b == 0) return b; ^ user.cpp:9: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:18: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
10ms244kbOKAY!10
20ms268kbOKAY!10
30ms260kbOKAY!10
40ms248kbOKAY!10
50ms264kbOKAY!10
60ms260kbWrong Answer.0
70ms268kbWrong Answer.0
80ms264kbWrong Answer.0
90ms252kbOKAY!10
100ms268kbOKAY!10
Punctaj total70

Ceva nu functioneaza?