Borderou de evaluare (job #1653889)
Utilizator | Data | 16 martie 2016 17:53:22 | |
---|---|---|---|
Problema | Farfurii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool check(int, int)’:
user.cpp:9:8: error: ‘sol’ was not declared in this scope
if (sol[i] > sol[j])
^
user.cpp:18:3: error: ‘cout’ was not declared in this scope
cout << n << " " << k;
^
user.cpp: In function ‘int main()’:
user.cpp:57:7: warning: unused variable ‘once’ [-Wunused-variable]
bool once = true;
^
user.cpp:75:28: warning: unused variable ‘endIndex’ [-Wunused-variable]
long long startIndex = 1, endIndex = N;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !