Borderou de evaluare (job #3197251)
Utilizator | Data | 26 ianuarie 2024 11:18:20 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:13: error: conflicting declaration 'std::deque<int> c'
13 | deque <int> c;
| ^
main.cpp:8:17: note: previous declaration as 'int c'
8 | int n,k,m,x,y,t,c,i,j;
| ^
main.cpp:14:1: error: 'bitset' does not name a type
14 | bitset <51> V;
| ^~~~~~
main.cpp:16:13: error: expected initializer before '-' token
16 | void bellman-ford(int x)
| ^
main.cpp: In function 'int main()':
main.cpp:53:14: error: 'r' was not declared in this scope
53 | fin>>r[i];
| ^
main.cpp:61:5: error: 'st' was not declared in this scope; did you mean 't'?
61 | st=1;
| ^~
| t
main.cpp:62:5: error: 'dr' was not declared in this scope
62 | dr=k;
| ^~
main.cpp:67:13: error: 'V' was not declared in this scope
67 | V[i]=0;
| ^
main.cpp:68:13: error: 'D' was not declared in this scope
68 | D[i]=INF;
| ^
main.cpp:68:18: error: 'INF' was not declared in this scope
68 | D[i]=INF;
| ^~~
main.cpp:70:9: error: 'mid' was not declared in this scope
70 | mid=(st+dr)/2;
| ^~~
main.cpp:71:12: error: 'bellman' was not declared in this scope
71 | if(bellman-ford(1,mid)<=mid)
| ^~~~~~~
main.cpp:71:20: error: 'ford' was not declared in this scope
71 | if(bellman-ford(1,mid)<=mid)
| ^~~~
main.cpp:76:11: error: 'minim' was not declared in this scope
76 | fout<<minim<<" "<<st;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !