help! c++ is so slow

Revision en1, by mac_n_cheese_pog, 2021-08-05 07:32:26

i tried to solve a problem.i remember this problem was discussed by my teacher.he use bruteforce but why tle.c++ so stupidly slow lmao

https://codeforces.net/contest/96/problem/B

https://pastebin.com/Wb7sLbwi

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mac_n_cheese_pog 2021-08-05 07:32:26 239 Initial revision (published)