Borderou de evaluare (job #2281499)
Utilizator | Data | 12 noiembrie 2018 12:55:38 | |
---|---|---|---|
Problema | Copaci | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:21: error: expected initializer before 'ull'
typedef unsigned ll ull;
^~~
main.cpp:14:1: error: 'ull' does not name a type
ull cmmdc(ull a,ull b);
^~~
main.cpp: In function 'int main()':
main.cpp:29:3: error: 'ull' was not declared in this scope
ull B=0;
^~~
main.cpp:33:5: error: 'B' was not declared in this scope
B+=cmmdc(abs(pts[i].x-pts[i+1].x),abs(pts[i].y-pts[i+1].y));
^
main.cpp:33:63: error: 'cmmdc' was not declared in this scope
B+=cmmdc(abs(pts[i].x-pts[i+1].x),abs(pts[i].y-pts[i+1].y));
^
main.cpp:36:13: error: 'B' was not declared in this scope
out << (A-B+2)/2;
^
main.cpp: At global scope:
main.cpp:39:1: error: 'ull' does not name a type
ull cmmdc(ull a, ull b)
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !