Borderou de evaluare (job #1782601)
Utilizator | Data | 18 octombrie 2016 13:26:52 | |
---|---|---|---|
Problema | Perechi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:26: error: expected ‘)’ before ‘;’ token
ofstream g ("perechi.out";)
^
user.cpp:5:27: error: expected unqualified-id before ‘)’ token
ofstream g ("perechi.out";)
^
user.cpp: In function ‘int main()’:
user.cpp:10:8: error: ‘n’ was not declared in this scope
f>>n;
^
user.cpp:11:5: error: ‘t’ was not declared in this scope
t=sqrt(n)+i;
^
user.cpp:11:15: error: ‘i’ was not declared in this scope
t=sqrt(n)+i;
^
user.cpp:14:24: error: ‘k’ was not declared in this scope
if(n%i==0) v[++k];
^
user.cpp:17:17: error: ‘k’ was not declared in this scope
++v[k];
^
user.cpp:21:16: error: ‘k’ was not declared in this scope
for(i=1;i<=k;++i)
^
user.cpp:23:9: error: ‘s1’ was not declared in this scope
s1*=(v[i]+1);
^
user.cpp:24:9: error: ‘s2’ was not declared in this scope
s2*=v[i];
^
user.cpp:26:8: error: ‘s2’ was not declared in this scope
if(s2>1)
^
user.cpp:27:9: error: ‘s1’ was not declared in this scope
s1+=s2;
^
user.cpp:28:8: error: ‘s1’ was not declared in this scope
g<<s1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !