Borderou de evaluare (job #1041869)
Utilizator | Data | 26 noiembrie 2013 12:26:07 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3:1: error: unknown type name ‘class’
class TSegmentTree
^
user.c:4:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
user.c:21:1: error: unknown type name ‘using’
using namespace std;
^
user.c:21:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
using namespace std;
^
user.c:29:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
void TSegmentTree::Update (int iNode, int iLeft, int iRight)
^
user.c:47:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
void TSegmentTree::Update(int iPos, int iValue)
^
user.c:54:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
void TSegmentTree::Query (int iNode, int iLeft, int iRight)
^
user.c:71:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
int TSegmentTree::Query(int iStart, int iEnd)
^
user.c:81:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
TSegmentTree::TSegmentTree(int iN)
^
user.c:87:15: error: unknown type name ‘TSegmentTree’
void ReadData(TSegmentTree * objTree)
^
user.c: In function ‘main’:
user.c:125:5: error: unknown type name ‘TSegmentTree’
TSegmentTree * objTree;
^
user.c:126:5: warning: implicit declaration of function ‘ReadData’ [-Wimplicit-function-declaration]
ReadData(objTree);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !