Trupmenų susikirtimas

Taškai: 0

Compile: FAIL

trupmenu_susikirtimas.cpp: In member function ‘int drob::ardidesnys(drob)’: trupmenu_susikirtimas.cpp:8:41: error: lvalue required as left operand of assignment if (x == kitas.x && y == kitas.y && c = kitas.c) { ^ trupmenu_susikirtimas.cpp:9:3: error: ‘retun’ was not declared in this scope retun 1; ^ trupmenu_susikirtimas.cpp: In function ‘int main()’: trupmenu_susikirtimas.cpp:27:28: error: ‘j’ was not declared in this scope cin >> mas2[i].x >> mas2[j].c >> mas2[i].y; ^ trupmenu_susikirtimas.cpp:31:12: error: ‘mas’ was not declared in this scope i = i + mas[i].ardidesnys(mas[j]); ^

nr.resulttimemessage