Borderou de evaluare (job #1134545)
Utilizator | Data | 6 martie 2014 18:44:26 | |
---|---|---|---|
Problema | Secventa 6 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:1: error: expected initializer before ‘int’
int Nr, Ans, Max;
^
user.cpp: In function ‘int main()’:
user.cpp:21:22: error: ‘X’ was not declared in this scope
scanf("%d", &X[i]);
^
user.cpp:23:29: error: ‘X’ was not declared in this scope
LL NewNumber = i + (X[i / 8192] ^ X[i % 8192]);
^
user.cpp:25:9: error: ‘Max’ was not declared in this scope
Max = max(Max, NewNumber);
^
user.cpp:27:5: error: ‘Ans’ was not declared in this scope
Ans = 2;
^
user.cpp:28:5: error: ‘Nr’ was not declared in this scope
Nr = 1;
^
user.cpp:30:29: error: ‘X’ was not declared in this scope
LL NewNumber = i + (X[i / 8192] ^ X[i % 8192]);
^
user.cpp:32:45: error: ‘Max’ was not declared in this scope
while(!Deq.empty() && Deq.front() < Max)
^
user.cpp:34:44: error: ‘Max’ was not declared in this scope
while(!Deq.empty() && Deq.back() < Max)
^
user.cpp:38:9: error: ‘Max’ was not declared in this scope
Max = max(Max, NewNumber);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !