[Help] Can this problem be done using Math instead of brute-force ?

Revision en2, by piyushpandey, 2021-05-19 12:36:40

Mynavi Programming Contest 2021(AtCoder Beginner Contest 201)Problem C Problem Link

I read the editorial it used brute force approach

Is it possible to do this question using math? (without checking for 10^4 possible passwords)

Tags #atcoder, #help, #brute force, #math, problem-help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English piyushpandey 2021-05-19 12:36:40 181
en1 English piyushpandey 2021-05-18 19:30:56 297 Initial revision (published)