|  | 
|  | 
| back to board | Why brute force not TLE? I'm expected brute force solution will accepted on C++, because N * 10^D integer divisions might work in 1 sec, but this solution work even on Python3.Why is work? Is there a math prove that answer will be very small or in this problem weak tests?
 
 Edited by author 14.02.2023 17:29
 | 
 | 
|