Borderou de evaluare (job #3001329)
Utilizator | Data | 13 martie 2023 15:16:40 | |
---|---|---|---|
Problema | Ghemotoace | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'uint64_t' does not name a type; did you mean 'u_int64_t'?
10 | uint64_t ans;
| ^~~~~~~~
| u_int64_t
main.cpp: In function 'long long unsigned int makeSwaps(int, int*, int*)':
main.cpp:56:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
56 | ans -= p[nn - ipos[i]] * i;
| ^~~
| abs
main.cpp:61:12: error: 'ans' was not declared in this scope; did you mean 'abs'?
61 | return ans;
| ^~~
| abs
main.cpp: In function 'void init(int, int)':
main.cpp:72:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
72 | ans += i * p[n - i];
| ^~~
| abs
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !