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
2009
. Canteen Line
Show all threads
Hide all threads
Show all messages
Hide all messages
Page 1
WA7
Mortus
2009
. Canteen Line
17 Nov 2023 16:28
1
WA7
Mortus
17 Nov 2023 16:28
If the i’th student will let the j’th student stand behind him in a line, this is !!!NOT!!! means that the j’th student will let the i’th student too.
Start time is 0 or 1 ?
Sq1
2009
. Canteen Line
7 Jan 2017 00:02
1
Start time is 0 or 1 ?
Sq1
7 Jan 2017 00:02
Try this test
Spatarel Dan Constantin
2009
. Canteen Line
24 Oct 2014 04:20
1
Try this test
Spatarel Dan Constantin
24 Oct 2014 04:20
The following test helped me a lot:
Input:
10 2
0
0
0
0
1 0
3 0
4 0
5 0
6 0
7 0
1 5
1 2 3 4 5
2 5
6 7 8 9 10
Output:
2 right
2 left
5 right
3 left
3 right
6 left
4 left
4 right
6 right
5 left
Ошибка на тесте 3
JaleChaki
2009
. Canteen Line
7 Oct 2014 21:31
1
Ошибка на тесте 3
JaleChaki
7 Oct 2014 21:31
Люди, помогите, на 3 тесте ошибка
Test cases
uynguyen
2009
. Canteen Line
20 Aug 2014 10:08
1
Test cases
uynguyen
20 Aug 2014 10:08
The example is not clear enough.
Does anyone provide more testcases/examples for this problem?
тест 19
CrispyArty
2009
. Canteen Line
17 Jan 2015 21:05
2
тест 19
CrispyArty
29 May 2014 12:39
Не могу понять что не так с 19-ым тестом... Даёт "Wrong anser" хотя я проверил каждую мелочь... кто может помочь?
Re: тест 19
sbidujko
17 Jan 2015 21:05
I had this problem too, because of a logic problem...
Test:
9 2
0
0
0
0
2 0
2 0
6 0
6 0
8 0
10 6
1 2 3 4 5 6
11 3
7 8 9
Ans:
11 right
11 left
12 right
15 left
14 left
12 left
13 right
13 left
14 right
tle
YSYMYTH
2009
. Canteen Line
9 Mar 2014 22:06
1
tle
YSYMYTH
9 Mar 2014 22:06
but O(n^2) algorithm
test case 5
BUET Hat-tima-tim-team
2009
. Canteen Line
9 Nov 2013 18:10
1
test case 5
BUET Hat-tima-tim-team
9 Nov 2013 18:10
any help ? stuck in test case 5.
Pages:
1
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2024
Timus Online Judge Team
. All rights reserved.