Borderou de evaluare (job #3249675)
Utilizator | Data | 17 octombrie 2024 16:04:17 | |
---|---|---|---|
Problema | Metrou5 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:33:24: error: expected unqualified-id before ',' token
33 | long long val=1,val2=1;,nn,nr,k;
| ^
main.cpp:33:27: error: expected constructor, destructor, or type conversion before ',' token
33 | long long val=1,val2=1;,nn,nr,k;
| ^
main.cpp:33:30: error: expected constructor, destructor, or type conversion before ',' token
33 | long long val=1,val2=1;,nn,nr,k;
| ^
main.cpp:33:32: error: expected constructor, destructor, or type conversion before ';' token
33 | long long val=1,val2=1;,nn,nr,k;
| ^
main.cpp: In function 'int main()':
main.cpp:37:10: error: 'nn' was not declared in this scope
37 | fin>>nn>>k;
| ^~
main.cpp:37:14: error: 'k' was not declared in this scope
37 | fin>>nn>>k;
| ^
main.cpp:41:14: error: 'nr' was not declared in this scope
41 | fin>>nr;
| ^~
main.cpp:46:13: error: 'val1' was not declared in this scope; did you mean 'val2'?
46 | val1=(val1*sb1(prim,ultim,lung))%M;
| ^~~~
| val2
main.cpp:52:5: error: 'val1' was not declared in this scope; did you mean 'val2'?
52 | val1=(val1*sb(prim,k,lung))%M;
| ^~~~
| val2
main.cpp:52:16: error: 'sb' was not declared in this scope; did you mean 'sb2'?
52 | val1=(val1*sb(prim,k,lung))%M;
| ^~
| sb2
main.cpp: In function 'long long int exp(int, int)':
main.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
13 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !