Borderou de evaluare (job #2464700)

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

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
13ms131kbKilled by Signal 110
22ms131kbOk!10
32ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
63ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
94ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?