Borderou de evaluare (job #2783213)
Utilizator | Data | 13 octombrie 2021 23:23:13 | |
---|---|---|---|
Problema | Cuburi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:9: error: 'sp1' was not declared in this scope; did you mean 's1'?
26 | sp1[i]=sp1[i-1]+sd[i-1];
| ^~~
| s1
main.cpp:28:10: warning: statement has no effect [-Wunused-value]
28 | for(i==n;i>=1;i--)
| ~^~~
main.cpp:30:9: error: 'sp2' was not declared in this scope; did you mean 's2'?
30 | sp2[i]=sp2[i+1]+ss[i+1];
| ^~~
| s2
main.cpp:49:52: error: 'sp' was not declared in this scope; did you mean 'st'?
49 | cost=s1[p]-s1[x]-sd[x-1]*(p-x)+s2[p]-s2[y]-sp[y+1]*(y-p);
| ^~
| st
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !