Borderou de evaluare (job #2977757)
Utilizator | Data | 12 februarie 2023 13:26:17 | |
---|---|---|---|
Problema | Reuniune | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: 'uin64_t' does not name a type; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:20:1: note: in expansion of macro 'ull'
20 | ull area(R r){
| ^~~
main.cpp:4:13: error: 'uin64_t' does not name a type; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:23:1: note: in expansion of macro 'ull'
23 | ull peri(R r){
| ^~~
main.cpp:4:13: error: 'uin64_t' does not name a type; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:26:1: note: in expansion of macro 'ull'
26 | ull area(P p0, P p1){
| ^~~
main.cpp: In function 'int64_t ovp(R, R)':
main.cpp:73:16: error: 'peri' was not declared in this scope
73 | return max(peri(overlap(r1,r2)),peri(overlap(r2,r1)));
| ^~~~
main.cpp: At global scope:
main.cpp:4:13: error: 'uin64_t' does not name a type; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:81:1: note: in expansion of macro 'ull'
81 | ull ova(R r1,R r2){
| ^~~
main.cpp:4:13: error: 'uin64_t' does not name a type; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:85:1: note: in expansion of macro 'ull'
85 | ull ova(R r1,R r2,R r3){
| ^~~
main.cpp: In function 'int main()':
main.cpp:4:13: error: 'uin64_t' was not declared in this scope; did you mean 'uint64_t'?
4 | #define ull uin64_t
| ^~~~~~~
main.cpp:95:5: note: in expansion of macro 'ull'
95 | ull ta = area(rec[0]) + area(rec[1]) + area(rec[2]) - ova(rec[0],rec[1]) - ova(rec[1],rec[2]) - ova(rec[2],rec[0]) + ova(rec[0],rec[1],rec[2]);
| ^~~
main.cpp:96:9: error: expected ';' before 'tp'
96 | ull tp = peri(rec[0]) + peri(rec[1]) + peri(rec[2]) - ovp(rec[0],rec[1]) - ovp(rec[1],rec[2]) - ovp(rec[2],rec[0]) + ovp(rec[0],rec[1],rec[2]);
| ^~
main.cpp:98:13: error: 'ta' was not declared in this scope; did you mean 'tm'?
98 | cout << ta << " " << tp;
| ^~
| tm
main.cpp:98:26: error: 'tp' was not declared in this scope; did you mean 'tm'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !