Borderou de evaluare (job #2256860)
Utilizator | Data | 9 octombrie 2018 11:13:09 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void calc(int)’:
user.cpp:10:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:12:9: error: ‘start’ was not declared in this scope
start=i;aux=i;nr=0;
^~~~~
user.cpp:12:17: error: ‘aux’ was not declared in this scope
start=i;aux=i;nr=0;
^~~
user.cpp:12:23: error: ‘nr’ was not declared in this scope
start=i;aux=i;nr=0;
^~
user.cpp:13:15: error: ‘t’ was not declared in this scope
while(t[k][aux]!=0)
^
user.cpp: In function ‘int main()’:
user.cpp:31:10: error: ‘n’ was not declared in this scope
fin>>n>>m;
^
user.cpp:31:13: error: ‘m’ was not declared in this scope
fin>>n>>m;
^
user.cpp:32:9: error: ‘i’ was not declared in this scope
for(i=1;i<=m;i++)
^
user.cpp:34:14: error: ‘a’ was not declared in this scope
fin>>a>>b>>c;
^
user.cpp:34:17: error: ‘b’ was not declared in this scope
fin>>a>>b>>c;
^
user.cpp:34:20: error: ‘c’ was not declared in this scope
fin>>a>>b>>c;
^
user.cpp:35:9: error: ‘v’ was not declared in this scope
v[a].push_back(make_pair(b, c));
^
user.cpp:36:9: error: ‘u’ was not declared in this scope
u[b].push_back(make_pair(a, c));
^
user.cpp:38:9: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++)
^
user.cpp:40:9: error: ‘mini’ was not declared in this scope
mini=inf;
^~~~
user.cpp:40:14: error: ‘inf’ was not declared in this scope
mini=inf;
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !