Borderou de evaluare (job #2987964)
Utilizator | Data | 3 martie 2023 11:01:05 | |
---|---|---|---|
Problema | Ridicare la putere in timp logaritmic | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'cont' does not name a type
5 | cont unsigned long long mod = 1999999973;
| ^~~~
main.cpp: In function 'int put(long long unsigned int, long long unsigned int)':
main.cpp:15:18: error: 'mod' was not declared in this scope; did you mean 'modf'?
15 | return ((f*f%mod) * put(a, b%2))%mod;
| ^~~
| modf
main.cpp: In function 'int main()':
main.cpp:24:21: error: 'mod' was not declared in this scope; did you mean 'modf'?
24 | out << put(x, y) % mod;
| ^~~
| modf
main.cpp:22:25: warning: unused variable 'z' [-Wunused-variable]
22 | unsigned long long x,y,z;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !