Borderou de evaluare (job #1790395)
Utilizator | Data | 28 octombrie 2016 10:24:17 | |
---|---|---|---|
Problema | Drumarb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:8:25: error: ‘sz’ was not declared in this scope
int maxim = 0, pos; sz[x] = 1; lev[x] = lev[f] + 1;
^
user.cpp:8:36: error: ‘lev’ was not declared in this scope
int maxim = 0, pos; sz[x] = 1; lev[x] = lev[f] + 1;
^
user.cpp:9:19: error: ‘g’ was not declared in this scope
for( auto y : g[x] ) {
^
user.cpp:16:9: error: ‘pth’ was not declared in this scope
pth.push_back( vector<int>(0) );
^
user.cpp:17:9: error: ‘whp’ was not declared in this scope
whp[x] = pth.size() - 1; pth[ whp[x] ].push_back( x ); }
^
user.cpp:19:9: error: ‘pth’ was not declared in this scope
pth[ whp[pos] ].push_back( x );
^
user.cpp:19:14: error: ‘whp’ was not declared in this scope
pth[ whp[pos] ].push_back( x );
^
user.cpp:21:19: error: ‘g’ was not declared in this scope
for( auto y : g[x] ) {
^
user.cpp:24:9: error: ‘ftp’ was not declared in this scope
ftp[ whp[y] ] = x; }
^
user.cpp:24:14: error: ‘whp’ was not declared in this scope
ftp[ whp[y] ] = x; }
^
user.cpp: In function ‘int upd(std::vector<std::pair<int, int> >&, int, int, int, int, int, int)’:
user.cpp:28:24: error: ‘updl’ was not declared in this scope
updl( sgt, n, l, r );
^
user.cpp:32:51: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
sgt[n].second += x; updl( sgt, n, l, r ); return; }
^
user.cpp:36:29: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
sgt[n].first = s1 + s2; return; }
^
user.cpp: In function ‘int qry(std::vector<std::pair<int, int> >&, int, int, int, int, int)’:
user.cpp:39:24: error: ‘updl’ was not declared in this scope
updl( sgt, n, l, r );
^
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:50:9: error: ‘lev’ was not declared in this scope
if( lev[ ftp[ whp[x] ] ] > lev[ ftp[ whp[y] ] ] ) {
^
user.cpp:50:14: error: ‘ftp’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !