Borderou de evaluare (job #1872189)

Utilizator Mc_Belii231Viktor Mc_Belii231 Data 7 februarie 2017 23:38:54
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:21: error: expected initializer before ‘ull’ typedef unsigned ll ull; ^ user.cpp:14:1: error: ‘ull’ does not name a type ull cmmdc(ull a,ull b); ^ user.cpp: In function ‘int main()’: user.cpp:29:3: error: ‘ull’ was not declared in this scope ull B=0; ^ user.cpp:29:7: error: expected ‘;’ before ‘B’ ull B=0; ^ user.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)); ^ user.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)); ^ user.cpp:36:13: error: ‘B’ was not declared in this scope out << (A-B+2)/2; ^ user.cpp: At global scope: user.cpp:39:1: error: ‘ull’ does not name a type ull cmmdc(ull a, ull b) ^

Ceva nu functioneaza?