Borderou de evaluare (job #2446499)
Utilizator | Data | 9 august 2019 11:09:30 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:3:33: error: 'typeof' was not declared in this scope
#define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it)
^
main.cpp:16:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
main.cpp:3:61: error: 'it' was not declared in this scope
#define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it)
^
main.cpp:16:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
main.cpp: In function 'void rmq()':
main.cpp:26:6: error: 'i' was not declared in this scope
for(i=2;i<=K;i++)
^
main.cpp:28:6: error: 'i' was not declared in this scope
for(i=1;i<=K;i++)
^
main.cpp:30:6: error: 'i' was not declared in this scope
for(i=1;(1<<i)<K;i++)
^
main.cpp:31:7: error: 'j' was not declared in this scope
for(j=1;j<=K-(1<<i);j++)
^
main.cpp: In function 'int main()':
main.cpp:57:2: error: 'fin' was not declared in this scope
fin>>N>>M;
^~~
main.cpp:58:6: error: 'i' was not declared in this scope
for(i=2;i<=N;i++)
^
main.cpp:60:6: error: 'x' was not declared in this scope
f>>x;
^
main.cpp:67:6: error: 'x' was not declared in this scope
f>>x>>y;
^
main.cpp:67:9: error: 'y' was not declared in this scope
f>>x>>y;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !