Borderou de evaluare (job #1612899)
Utilizator | Data | 25 februarie 2016 08:51:17 | |
---|---|---|---|
Problema | Suma si numarul divizorilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=2;i<=1000000;i++){
^
user.cpp:12:17: error: ‘j’ was not declared in this scope
for(j=i+i;j<=1000000;j+=i)
^
user.cpp:14:17: error: ‘k’ was not declared in this scope
v[++k]=i;
^
user.cpp:19:5: error: ‘nrdiv’ was not declared in this scope
nrdiv=1;
^
user.cpp:20:10: error: ‘t’ was not declared in this scope
fin>>t;
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=1;i<=t;i++){
^
user.cpp:23:9: error: ‘x’ was not declared in this scope
x=n;
^
user.cpp:26:13: error: ‘nr’ was not declared in this scope
nr=0;
^
user.cpp:33:17: error: ‘a’ was not declared in this scope
a=v[t];
^
user.cpp:34:17: error: ‘b’ was not declared in this scope
b=nr+1;
^
user.cpp:35:17: error: ‘p’ was not declared in this scope
p=1;
^
user.cpp:44:21: error: ‘rest’ was not declared in this scope
rest=p-1;
^
user.cpp:46:21: error: ‘rest’ was not declared in this scope
rest=9972;
^
user.cpp:50:25: error: ‘im’ was not declared in this scope
im=im*n%p;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !