Trupmenų susikirtimas
- [1] 2020-06-28 13:23 (4)
- [2] 2020-06-28 13:39 (0)
- [3] 2020-06-28 13:44 (0)
- [4] 2020-06-28 16:21 (100)
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. | result | time | message |
---|