Borderou de evaluare (job #3327672)
| Utilizator | Data | 4 decembrie 2025 19:04:02 | |
|---|---|---|---|
| Problema | Munte5 | 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:29:29: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'int' to binary 'operator%'
29 | fout<<(pow(2,n-p-1))%12343;
| ~~~~~~~~~~~~~~^~~~~~
| | |
| | int
| __gnu_cxx::__promote<double>::__type {aka double}
main.cpp:32:29: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'int' to binary 'operator%'
32 | fout<<(pow(2,n-1)-2)%12343;
| ~~~~~~~~~~~~~~^~~~~~
| | |
| | int
| __gnu_cxx::__promote<double>::__type {aka double}
main.cpp:8:13: warning: unused variable 'j' [-Wunused-variable]
8 | int n,i,j,k,vf[64001],maxi=-1,S=0,dup=0,x,p=0;
| ^
main.cpp:8:15: warning: unused variable 'k' [-Wunused-variable]
8 | int n,i,j,k,vf[64001],maxi=-1,S=0,dup=0,x,p=0;
| ^
main.cpp:8:35: warning: unused variable 'S' [-Wunused-variable]
8 | int n,i,j,k,vf[64001],maxi=-1,S=0,dup=0,x,p=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
