0_0_18759524_24228.cpp: In function 'void init()':
0_0_18759524_24228.cpp:30:15: error: expected primary-expression before '%' token
scanf(%d, &cost[i]);
^
0_0_18759524_24228.cpp:30:16: error: 'd' was not declared in this scope
scanf(%d, &cost[i]);
^
0_0_18759524_24228.cpp:34:15: error: expected primary-expression before '%' token
scanf(%d%d, &u, &v);
^
0_0_18759524_24228.cpp:34:16: error: 'd' was not declared in this scope
scanf(%d%d, &u, &v);
^
0_0_18759524_24228.cpp: In function 'void solve()':
0_0_18759524_24228.cpp:97:12: error: expected primary-expression before '%' token
printf(%d %d
^
0_0_18759524_24228.cpp:97:13: error: 'd' was not declared in this scope
printf(%d %d
^
0_0_18759524_24228.cpp: In function 'int main()':
0_0_18759524_24228.cpp:103:18: error: expected primary-expression before '%' token
while (scanf(%d%d, &n, &m) != EOF) {
^
0_0_18759524_24228.cpp:103:19: error: 'd' was not declared in this scope
while (scanf(%d%d, &n, &m) != EOF) {
^
|