You are viewing a single comment's thread. Return to all comments →
If you get WA on 6 hidden tests try this:
1ll*n*c_lib instead of n*c_lib*1ll or n*c_lib (same for 1ll * c_lib + (comp-1) * c_road)
1ll*n*c_lib
n*c_lib*1ll
n*c_lib
1ll * c_lib + (comp-1) * c_road
Seems like cookies are disabled on this browser, please enable them to open this website
Roads and Libraries
You are viewing a single comment's thread. Return to all comments →
If you get WA on 6 hidden tests try this:
1ll*n*c_libinstead ofn*c_lib*1llorn*c_lib(same for1ll * c_lib + (comp-1) * c_road)