Borderou de evaluare (job #1548825)
Utilizator | Data | 11 decembrie 2015 15:45:46 | |
---|---|---|---|
Problema | KBetray | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:4: error: ‘x’ does not name a type
ll x,y,suma;
^
user.cpp:16:4: error: ‘a’ does not name a type
ll a[100002],b[100002];
^
user.cpp: In function ‘int main()’:
user.cpp:27:7: error: ‘x’ was not declared in this scope
in>>x>>y;
^
user.cpp:27:10: error: ‘y’ was not declared in this scope
in>>x>>y;
^
user.cpp:28:3: error: ‘a’ was not declared in this scope
a[i]=max(x,y);
^
user.cpp:29:3: error: ‘b’ was not declared in this scope
b[i]=min(x,y);
^
user.cpp:33:2: error: ‘suma’ was not declared in this scope
suma=accumulate(a,a+n-1,0);
^
user.cpp:33:18: error: ‘a’ was not declared in this scope
suma=accumulate(a,a+n-1,0);
^
user.cpp:36:7: error: ‘b’ was not declared in this scope
sort(b,b+n-1,functie_mai_mare);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !