0_0_32682942_16561.cpp: In function 'int main()':
0_0_32682942_16561.cpp:15:16: error: missing template arguments before '(' token
mp[pair(a[1], a[2])] = min(1, abs(a[1] - a[2]));
^
0_0_32682942_16561.cpp:16:16: error: missing template arguments before '(' token
mp[pair(a[3], a[4])] = min(1, abs(a[3] - a[4]));
^
0_0_32682942_16561.cpp:17:16: error: missing template arguments before '(' token
mp[pair(a[5], a[6])] = min(1, abs(a[5] - a[6]));
^
0_0_32682942_16561.cpp:18:16: error: missing template arguments before '(' token
mp[pair(a[2], a[1])] = min(1, abs(a[1] - a[2]));
^
0_0_32682942_16561.cpp:19:16: error: missing template arguments before '(' token
mp[pair(a[4], a[3])] = min(1, abs(a[3] - a[4]));
^
0_0_32682942_16561.cpp:20:16: error: missing template arguments before '(' token
mp[pair(a[6], a[5])] = min(1, abs(a[5] - a[6]));
^
0_0_32682942_16561.cpp:23:35: error: missing template arguments before '(' token
if (!mp.count(pair(a[i], a[j]))) {
^
0_0_32682942_16561.cpp:24:28: error: missing template arguments before '(' token
mp[pair(a[i], a[j])] = mp[pair(a[j], a[i])] = abs(a[i] - a[j]);
^
0_0_32682942_16561.cpp:24:51: error: missing template arguments before '(' token
mp[pair(a[i], a[j])] = mp[pair(a[j], a[i])] = abs(a[i] - a[j]);
^
0_0_32682942_16561.cpp:32:28: error: missing template arguments before '(' token
mp[pair(a[i], a[j])] = mp[pair(a[j], a[i])] = min(mp[pair(a[i], a[j])],
^
0_0_32682942_16561.cpp:32:51: error: missing template arguments before '(' token
mp[pair(a[i], a[j])] = mp[pair(a[j], a[i])] = min(mp[pair(a[i], a[j])],
^
0_0_32682942_16561.cpp:32:78: error: missing template arguments before '(' token
mp[pair(a[i], a[j])] = mp[pair(a[j], a[i])] = min(mp[pair(a[i], a[j])],
^
0_0_32682942_16561.cpp:33:78: error: missing template arguments before '(' token
mp[pair(a[i], a[k])] + mp[pair(a[k], a[j])]);
^
0_0_32682942_16561.cpp:33:101: error: missing template arguments before '(' token
mp[pair(a[i], a[k])] + mp[pair(a[k], a[j])]);
^
0_0_32682942_16561.cpp:44:52: error: missing template arguments before '(' token
ans=min(ans,abs(s-a[i])+mp[pair(a[i],a[j])]+abs(a[j]-t));
^
|