Borderou de evaluare (job #2321312)
Utilizator | Data | 15 ianuarie 2019 22:41:48 | |
---|---|---|---|
Problema | Banana | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:1: error: 'vector' does not name a type
vector<int>point(20000), rang(20000), fr(20000);
^~~~~~
main.cpp: In function 'int find(int)':
main.cpp:23:9: error: 'point' was not declared in this scope
while (point[x] != x)
^~~~~
main.cpp:25:9: error: 'point' was not declared in this scope
while (point[compx] != compx)
^~~~~
main.cpp: In function 'void tie(int, int)':
main.cpp:35:9: error: 'point' was not declared in this scope
while (point[x] != x)
^~~~~
main.cpp:37:9: error: 'point' was not declared in this scope
while (point[y] != y)
^~~~~
main.cpp:39:6: error: 'rang' was not declared in this scope
if (rang[x] >= rang[y])
^~~~
main.cpp:42:3: error: 'point' was not declared in this scope
point[y] = x;
^~~~~
main.cpp:47:3: error: 'point' was not declared in this scope
point[x] = y;
^~~~~
main.cpp: In function 'int main()':
main.cpp:62:3: error: 'point' was not declared in this scope
point[i] = i;
^~~~~
main.cpp:63:3: error: 'rang' was not declared in this scope
rang[i] = 1;
^~~~
main.cpp:80:3: error: 'fr' was not declared in this scope
fr[find(i)]++;
^~
main.cpp:81:7: error: 'fr' was not declared in this scope
sort(fr.begin(),fr.end(), greater<int>());
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !