Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

I don't understand how this is possible

Правка en3, от FullMetalChains, 2023-08-27 19:28:06

Here are two solutions to problem D of today's contest

1.First solution

My Code
  1. Second solution
His Code

The first one shows TLE on testcase 8 while the second one shows accepted. Both are same solutions to the problem.

Does anyone know why the results are so different?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский FullMetalChains 2023-08-27 19:28:06 4
en2 Английский FullMetalChains 2023-08-26 23:19:24 14
en1 Английский FullMetalChains 2023-08-26 23:18:43 3434 Initial revision (published)