Borderou de evaluare (job #2137859)
Utilizator | Data | 21 februarie 2018 08:33:04 | |
---|---|---|---|
Problema | Sword Art Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void upcheck(int)’:
user.cpp:38:22: error: expected ‘]’ before ‘;’ token
upcheck[pos/2;]
^
user.cpp:38:22: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:38:22: warning: value computed is not used [-Wunused-value]
user.cpp:38:22: warning: statement has no effect [-Wunused-value]
user.cpp:38:23: error: expected primary-expression before ‘]’ token
upcheck[pos/2;]
^
user.cpp: At global scope:
user.cpp:48:6: error: variable or field ‘del’ declared void
void del
^
user.cpp:50:26: error: expected ‘}’ before ‘;’ token
swap(heap[1],heap[N]);
^
user.cpp:51:5: error: ‘N’ does not name a type
N--;
^
user.cpp:52:14: error: expected constructor, destructor, or type conversion before ‘(’ token
downcheck(1);
^
user.cpp:53:1: error: expected declaration before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !