Borderou de evaluare (job #1291374)
Utilizator | Data | 12 decembrie 2014 19:03:02 | |
---|---|---|---|
Problema | Algebra2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: error: ‘p’ was not declared in this scope
if (a%2==0) {p=a/2;
^
user.cpp:11:5: error: ‘x’ was not declared in this scope
x=p*(a+1);}
^
user.cpp:13:5: error: ‘x’ was not declared in this scope
x=a*(a+1);
^
user.cpp:14:5: error: ‘cout’ was not declared in this scope
cout<<a%1000000009;
^
user.cpp:8:17: warning: unused variable ‘b’ [-Wunused-variable]
long long a,b,rez,n,c;
^
user.cpp:8:19: warning: unused variable ‘rez’ [-Wunused-variable]
long long a,b,rez,n,c;
^
user.cpp:8:23: warning: unused variable ‘n’ [-Wunused-variable]
long long a,b,rez,n,c;
^
user.cpp:8:25: warning: unused variable ‘c’ [-Wunused-variable]
long long a,b,rez,n,c;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !