Borderou de evaluare (job #2235627)
Utilizator | Data | 26 august 2018 19:42:28 | |
---|---|---|---|
Problema | Copii3 | Status | done |
Runda | Algoritmiada 2018 Runda Maraton | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int usu(int)’:
user.cpp:12:12: error: ‘cat1’ was not declared in this scope
poz=p1[cat1[a-1]+nr]-p1[am1[a-1]]-p0[am0[a-1]]+p0[am0[a-1]-nr+1]+p1[am1[b]]-p1[am1[b]-nr2+1]-p0[am0[b]]-p0[am0[b+nr2]];
^~~~
user.cpp:10:9: warning: unused variable ‘act’ [-Wunused-variable]
int act=0,poz=0;
^~~
user.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:24:9: error: ‘cat0’ was not declared in this scope
cat0[i]=cat0[i-1];
^~~~
user.cpp:25:9: error: ‘cat1’ was not declared in this scope
cat1[i]=cat1[i-1];
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !