Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1386 Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) FINISHED False 18000 180989723 July 22, 2020, 11:05 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 349 ) A Colors PROGRAMMING *special binary search constructive algorithms interactive

Linda likes to change her hair color from time to time, and would be pleased if her boyfriend Archie would notice the difference between the previous and the new color. Archie always comments on Linda's hair color if and only if he notices a difference -- so Linda always knows whether Archie has spotted the difference or not. There is a new hair dye series in the market where all available colors are numbered by integers from 1 to N such that a smaller difference of the numerical values also means less visual difference. Linda assumes that for these series there should be some critical color difference C ( 1 <= C <= N ) for which Archie will notice color difference between the current color mathrm{color}_{ mathrm{new}} and the previous color mathrm{color}_{ mathrm{prev}} if <= ft| mathrm{color}_{ mathrm{new}} - mathrm{color}_{ mathrm{prev}} right| ge C and will not if <= ft| mathrm{color}_{ mathrm{new}} - mathrm{color}_{ mathrm{prev}} right| < C . Now she has bought N sets of hair dye from the new series -- one for each of the colors from 1 to N , and is ready to set up an experiment. Linda will change her hair color on a regular basis and will observe Archie's reaction -- whether he will notice the color change or not. Since for the proper dye each set should be used completely, each hair color can be obtained no more than once. Before the experiment, Linda was using a dye from a different series which is not compatible with the new one, so for the clearness of the experiment Archie's reaction to the first used color is meaningless. Her aim is to find the precise value of C in a limited number of dyes. Write a program which finds the value of C by experimenting with the given N colors and observing Archie's reactions to color changes. This is an interactive task. In the beginning you are given a single integer T ( 1 <= q T <= q 100 ), the number of cases in

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
87844212 vjudge1 A July 24, 2020, 8:49 a.m. OK GNU C++11 TESTS 16 46 3891200
90658946 frodakcin A Aug. 22, 2020, 6:08 a.m. OK GNU C++11 TESTS 16 62 3686400
88125205 cutie3.14 A July 27, 2020, 12:20 p.m. OK GNU C++11 TESTS 16 62 3891200
87686924 Mdominykas A July 22, 2020, 2:22 p.m. OK GNU C++11 TESTS 16 62 3891200
87678353 huwenbo A July 22, 2020, 1:03 p.m. OK GNU C++11 TESTS 16 62 3891200
90998354 duality A Aug. 25, 2020, 7:14 p.m. OK GNU C++11 TESTS 16 77 0
90997775 duality A Aug. 25, 2020, 7:03 p.m. OK GNU C++11 TESTS 16 77 0
89866641 Jocker03 A Aug. 14, 2020, 11:38 a.m. OK GNU C++11 TESTS 16 77 204800
88269768 atoiz A July 29, 2020, 9:11 a.m. OK GNU C++11 TESTS 16 77 3891200
88196109 dzhaba A July 28, 2020, 10:51 a.m. OK GNU C++11 TESTS 16 77 3891200
87742953 vjudge4 A July 23, 2020, 7:17 a.m. OK GNU C++14 TESTS 16 62 3891200
89067931 AlanChen A Aug. 5, 2020, 7:38 p.m. OK GNU C++14 TESTS 16 77 3686400
88142805 rfpermen A July 27, 2020, 4:08 p.m. OK GNU C++14 TESTS 16 77 3788800
87764352 SuperJ6 A July 23, 2020, 11:21 a.m. OK GNU C++14 TESTS 16 77 3788800
89329816 derzhivkurse A Aug. 8, 2020, 11:19 a.m. OK GNU C++14 TESTS 16 77 3891200
87727555 tzaph_ A July 23, 2020, 2:43 a.m. OK GNU C++14 TESTS 16 77 3891200
87732211 tmwilliamlin168 A July 23, 2020, 4:30 a.m. OK GNU C++14 TESTS 16 77 3993600
89332284 derzhivkurse A Aug. 8, 2020, 12:02 p.m. OK GNU C++14 TESTS 16 92 3686400
88096623 cz_xuyixuan A July 27, 2020, 4:16 a.m. OK GNU C++14 TESTS 16 92 3788800
88394570 Purple_wzy A July 30, 2020, 2:11 a.m. OK GNU C++14 TESTS 16 93 3686400
88235873 apostoldaniel854 A July 28, 2020, 8:22 p.m. OK GNU C++17 TESTS 16 62 3788800
90391201 CaroLinda A Aug. 19, 2020, 1:16 p.m. OK GNU C++17 TESTS 16 77 0
88786075 Peti A Aug. 3, 2020, 9:16 a.m. OK GNU C++17 TESTS 16 77 3686400
88245735 zhaoyiming A July 29, 2020, 2:53 a.m. OK GNU C++17 TESTS 16 77 3686400
87745124 Berted A July 23, 2020, 7:43 a.m. OK GNU C++17 TESTS 16 77 3686400
87803912 Renaats A July 23, 2020, 6:51 p.m. OK GNU C++17 TESTS 16 77 3891200
87702401 Atreus A July 22, 2020, 4:58 p.m. OK GNU C++17 TESTS 16 77 3891200
87803884 Renaats A July 23, 2020, 6:50 p.m. OK GNU C++17 TESTS 16 77 4096000
89340850 ExploreTheInfinity A Aug. 8, 2020, 2:06 p.m. OK GNU C++17 TESTS 16 78 3891200
88162271 ema A July 27, 2020, 11:40 p.m. OK GNU C++17 TESTS 16 92 3686400
90317337 MrBrionix A Aug. 18, 2020, 2:36 p.m. OK GNU C++17 (64) TESTS 16 77 0
90203276 i_am_noob A Aug. 17, 2020, 7:09 a.m. OK GNU C++17 (64) TESTS 16 77 0
88001096 keko37 A July 25, 2020, 4:22 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87694685 emthrm A July 22, 2020, 3:32 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87693797 gamegame A July 22, 2020, 3:24 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87689768 dario2994 A July 22, 2020, 2:50 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87685784 isaf27 A July 22, 2020, 2:11 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87680488 ustze A July 22, 2020, 1:23 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87672065 soymilk A July 22, 2020, 12:03 p.m. OK GNU C++17 (64) TESTS 16 77 4300800
87697848 Arpa A July 22, 2020, 4:01 p.m. OK GNU C++17 (64) TESTS 16 92 4300800
87734742 mkawa2 A July 23, 2020, 5:21 a.m. OK Python 3 TESTS 16 280 7168000
88125977 sh1194 A July 27, 2020, 12:31 p.m. OK Python 3 TESTS 16 295 7168000
88125884 sh1194 A July 27, 2020, 12:30 p.m. OK Python 3 TESTS 16 311 7270400
88125930 sh1194 A July 27, 2020, 12:31 p.m. OK Python 3 TESTS 16 312 7168000
88125846 sh1194 A July 27, 2020, 12:29 p.m. OK Python 3 TESTS 16 342 7270400

remove filters

Back to search problems