0_0_37167944_21371.cpp: In lambda function:
0_0_37167944_21371.cpp:54:13: error: expected '{' before 'if'
if (mp.count({dy, -dx}))
^
0_0_37167944_21371.cpp: In function 'int main()':
0_0_37167944_21371.cpp:54:13: error: expected ';' before 'if'
0_0_37167944_21371.cpp:54:35: error: expected primary-expression before ')' token
if (mp.count({dy, -dx}))
^
0_0_37167944_21371.cpp:55:36: error: expected primary-expression before ']' token
ans += mp[{dy, -dx}];
^
|