Borderou de evaluare (job #2464704)

Utilizator DanDumitrescudarkeagle DanDumitrescu Data 28 septembrie 2019 20:05:47
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int gcd(int, int)': main.cpp:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x==y) ^~ main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(x>y) ^~ main.cpp: In function 'int main()': main.cpp:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int j = 2*i; j <= n; j += i) ^~~ main.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i=1;i<=n;i++) ^~~ main.cpp:36:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms536kbRaspuns gresit0
23ms131kbOk!10
32ms131kbOk!10
42ms131kbOk!10
57ms393kbRaspuns gresit0
69ms655kbRaspuns gresit0
734ms1212kbRaspuns gresit0
868ms2097kbRaspuns gresit0
9169ms3014kbRaspuns gresit0
10366ms4190kbRaspuns gresit0
Punctaj total30

Ceva nu functioneaza?