0_0_30002146_5577.cpp: In function 'int main()': 0_0_30002146_5577.cpp:26:36: error: too many initializers for 'XM' a[++tot] = (XM){x, 1, 0}; ^ 0_0_30002146_5577.cpp:27:41: error: too many initializers for 'XM' a[++tot] = (XM){y + 1, -1, 0}; ^