Borderou de evaluare (job #2517472)

Utilizator vvvlll50Lazar Vlad vvvlll50 Data 3 ianuarie 2020 16:59:25
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'bool prim(long long int)': main.cpp:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int d=5;d*d<=a;d+=6) ^~~ main.cpp:18:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 1; ^~~~~~ main.cpp: In function 'void div(long long int)': main.cpp:25:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] {if(prim(i)&&n%i==0)v[++nr]=i; ^~ main.cpp:26:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(prim(n/i)&&n%i==0)v[++nr]=n/i; ^~ main.cpp: In function 'void afis()': main.cpp:32:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=1;j<=nr;j++) ^~~ main.cpp:34:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(ct%2==0)pr=-1*pr; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbIncorect00
32ms131kbIncorect00
42001ms131kbTime limit exceeded00
52000ms208kbTime limit exceeded00
62003ms131kbTime limit exceeded00
72001ms204kbTime limit exceeded00
82003ms131kbTime limit exceeded00
92003ms131kbTime limit exceeded0
102002ms131kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?