0_0_33113082_7694.cpp: In function 'void update(int, int, int&, int, int, int, ll)': 0_0_33113082_7694.cpp:41:10: error: expected unqualified-id at end of input tr[x]. ^ 0_0_33113082_7694.cpp:41:10: error: expected '}' at end of input