Pomedžiai

Taškai: 0

Compile: FAIL

pomedziai.cpp: In function ‘int siz(int)’: pomedziai.cpp:12:38: warning: pointer to a function used in arithmetic [-Wpointer-arith] 12 | size[r] += siz[graf[r][i]]; | ^ pomedziai.cpp:12:21: warning: pointer to a function used in arithmetic [-Wpointer-arith] 12 | size[r] += siz[graf[r][i]]; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ pomedziai.cpp:12:38: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive] 12 | size[r] += siz[graf[r][i]]; | ^ | | | int (*)(int) pomedziai.cpp: In function ‘int main()’: pomedziai.cpp:40:16: error: expected ‘;’ before ‘}’ token 40 | q.pop() | ^ | ; 41 | } | ~

nr.resulttimemessage