Borderou de evaluare (job #3369695)
| Utilizator | Data | 21 octombrie 2026 16:46:59 | |
|---|---|---|---|
| Problema | Multiplu2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int64_t quickexp(int64_t, int64_t)':
main.cpp:11:24: error: 'mod' was not declared in this scope; did you mean 'modf'?
11 | int64_t base = a % mod;
| ^~~
| modf
main.cpp: In function 'int32_t main()':
main.cpp:41:21: error: 'mod' was not declared in this scope; did you mean 'modf'?
41 | prod = (mod + (quickexp(p + 1ll, K) - quickexp(p, K) + mod) % mod) % mod;
| ^~~
| modf
main.cpp:48:27: error: 'mod' was not declared in this scope; did you mean 'modf'?
48 | ans = ans * 3ll % mod;
| ^~~
| modf
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
