Borderou de evaluare (job #3243447)
Utilizator | Data | 18 septembrie 2024 18:34:15 | |
---|---|---|---|
Problema | Isecv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void EuclidExtins(int, int, int&, int&, int&)':
main.cpp:13:11: error: 'x0' was not declared in this scope; did you mean 'x'?
13 | x=x0;
| ^~
| x
main.cpp:14:20: error: 'y0' was not declared in this scope; did you mean 'y'?
14 | y=x0-(a/b)*y0;
| ^~
| y
main.cpp: In function 'int main()':
main.cpp:26:10: error: invalid types 'int[int]' for array subscript
26 | x[i]=x%P;
| ^
main.cpp:28:14: error: invalid types 'int[int]' for array subscript
28 | x[k]=1LL*x[k]*y%P;
| ^
main.cpp:28:23: error: invalid types 'int[int]' for array subscript
28 | x[k]=1LL*x[k]*y%P;
| ^
main.cpp:37:14: error: invalid types 'int[int]' for array subscript
37 | x[i]=1LL*x[i]*k%P;
| ^
main.cpp:37:23: error: invalid types 'int[int]' for array subscript
37 | x[i]=1LL*x[i]*k%P;
| ^
main.cpp:38:17: error: invalid types 'int[int]' for array subscript
38 | if(x[i]<0)x[i]+=P;
| ^
main.cpp:38:24: error: invalid types 'int[int]' for array subscript
38 | if(x[i]<0)x[i]+=P;
| ^
main.cpp:39:20: error: invalid types 'int[int]' for array subscript
39 | gout<<x[i]<<' ';
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !