Borderou de evaluare (job #2354412)
Utilizator | Data | 25 februarie 2019 12:05:20 | |
---|---|---|---|
Problema | Suma si numarul divizorilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void ciur()':
main.cpp:11:18: error: expected primary-expression before ';' token
for(i=2;i*i<N;i++)
^
main.cpp:11:18: error: expected ')' before ';' token
main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i*i<N;i++)
^~~
main.cpp:11:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=2;i*i<N;i++)
^
main.cpp:11:22: error: expected ';' before ')' token
for(i=2;i*i<N;i++)
^
main.cpp:13:20: warning: statement has no effect [-Wunused-value]
for(j=i*i;j<N;j+=i)
^
main.cpp:13:27: error: expected ';' before ')' token
for(j=i*i;j<N;j+=i)
^
main.cpp:15:21: error: expected primary-expression before ';' token
for(i=2;i<N;i++)
^
main.cpp:15:21: error: expected ')' before ';' token
main.cpp:15:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i<N;i++)
^~~
main.cpp:15:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=2;i<N;i++)
^
main.cpp:15:25: error: expected ';' before ')' token
for(i=2;i<N;i++)
^
main.cpp: In function 'int main()':
main.cpp:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=b;i++)
^~~
main.cpp:45:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(d>minim)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !