ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
Discussion of Problem
2175
. Staircase
Show all threads
Hide all threads
Show all messages
Hide all messages
To ADMIN add test, because tests are weak
coder
2175
. Staircase
25 May 2025 13:20
1
To ADMIN add test, because tests are weak
coder
25 May 2025 13:20
Hi, Admins.
Please, add these case:
N > 5*10^4
a[i] = 1, for i = 1.. N-1, and
a[N] = 10^9
Q = N
p[i] = i, x[i] = i
For example:
77888
1 1 1 1 1 1 .... 1 1 77888
77888
1 1
2 2
3 3
4 4
5 5
...
77888 77888
0.031 seconds ))
coder
2175
. Staircase
24 May 2025 21:58
1
0.031 seconds ))
coder
24 May 2025 21:58
my solution takes 0.031 seconds.
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2025
Timus Online Judge Team
. All rights reserved.