Codeforces Beta Round 85 (Div. 2 Only)

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
112 Codeforces Beta Round 85 (Div. 2 Only) FINISHED False 7200 422906351 Sept. 3, 2011, noon

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4244 ) B Petya and Square PROGRAMMING implementation math 1300

B'Little Petya loves playing with squares. Mum bought him a square 2n xe2 x80 x89 xc3 x97 xe2 x80 x892n in size. Petya marked a cell inside the square and now he is solving the following task. The task is to draw a broken line that would go along the grid lines and that would cut the square into two equal parts. The cutting line should not have any common points with the marked cell and the resulting two parts should be equal up to rotation. Petya wants to determine whether it is possible to cut the square in the required manner given the sizes of the square side and the coordinates of the marked cell. Help him. The first line contains three space-separated integers 2n, x and y (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892n), representing the length of a square 's side and the coordinates of the marked cell. It is guaranteed that 2n is even. The coordinates of the marked cell are represented by a pair of numbers x y, where x represents the number of the row and y represents the number of the column. The rows and columns are numbered by consecutive integers from 1 to 2n. The rows are numbered from top to bottom and the columns are numbered from the left to the right. If the square is possible to cut, print "YES", otherwise print "NO" (without the quotes). A sample test from the statement and one of the possible ways of cutting the square are shown in the picture: '...

Tutorials

Разбор CFBR #85 Div. 1 C, D

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57259442 HoangVu123 B July 18, 2019, 4:15 a.m. OK FPC TESTS 33 62 0 1300
40181382 HassanRagab B July 10, 2018, 7:15 p.m. OK GNU C TESTS 33 62 0 1300
42291935 vjudge4 B Aug. 30, 2018, 9:42 p.m. OK GNU C++ TESTS 33 62 0 1300
39770347 Kamal1998 B June 29, 2018, 2:06 p.m. OK GNU C++ TESTS 33 62 0 1300
42064461 vjudge4 B Aug. 24, 2018, 6:45 p.m. OK GNU C++ TESTS 33 62 0 1300
42299547 vjudge1 B Aug. 31, 2018, 6:38 a.m. OK GNU C++ TESTS 33 62 0 1300
42020725 vjudge5 B Aug. 24, 2018, 8:59 a.m. OK GNU C++ TESTS 33 62 0 1300
41946914 vjudge2 B Aug. 21, 2018, 7:30 p.m. OK GNU C++ TESTS 33 62 0 1300
41888610 vjudge4 B Aug. 20, 2018, 5:46 a.m. OK GNU C++ TESTS 33 62 0 1300
41884693 vjudge4 B Aug. 20, 2018, 2:53 a.m. OK GNU C++ TESTS 33 62 0 1300
41804304 vjudge5 B Aug. 18, 2018, 8:32 p.m. OK GNU C++ TESTS 33 62 0 1300
40185460 Sherif.Shahin35 B July 11, 2018, 1:04 a.m. OK GNU C++ TESTS 33 62 0 1300
61093425 kaiboy B Sept. 23, 2019, 12:22 a.m. OK GNU C11 TESTS 33 60 0 1300
63498720 reventon1000 B Oct. 26, 2019, 4:27 p.m. OK GNU C11 TESTS 33 60 0 1300
52454200 ...UnknowN... B April 7, 2019, 11:04 a.m. OK GNU C11 TESTS 33 60 0 1300
58380701 WasiuR987 B Aug. 6, 2019, 9:51 a.m. OK GNU C11 TESTS 33 62 0 1300
61080328 kaiboy B Sept. 22, 2019, 4:04 p.m. OK GNU C11 TESTS 33 62 0 1300
55005742 YouKnowWho_IAm B June 3, 2019, 7:25 a.m. OK GNU C11 TESTS 33 62 0 1300
57097130 vjudge3 B July 15, 2019, 12:36 p.m. OK GNU C11 TESTS 33 62 0 1300
58285156 Mahmud_Khan B Aug. 4, 2019, 5:14 p.m. OK GNU C11 TESTS 33 62 0 1300
61873313 brkdnmz B Oct. 4, 2019, 7:06 p.m. OK GNU C11 TESTS 33 92 0 1300
52012173 luogu_bot5 B March 30, 2019, 9:04 a.m. OK GNU C++11 TESTS 33 30 0 1300
58364177 luogu_bot3 B Aug. 6, 2019, 2:44 a.m. OK GNU C++11 TESTS 33 60 0 1300
57888330 luogu_bot2 B July 28, 2019, 10:52 a.m. OK GNU C++11 TESTS 33 60 0 1300
68700802 Irmuun.Ch B Jan. 13, 2020, 9:23 a.m. OK GNU C++11 TESTS 33 62 0 1300
67019678 luogu_bot5 B Dec. 16, 2019, 12:35 p.m. OK GNU C++11 TESTS 33 62 0 1300
69432585 luogu_bot5 B Jan. 23, 2020, 5:49 p.m. OK GNU C++11 TESTS 33 62 0 1300
69568240 _hlod_ B Jan. 26, 2020, 1:12 p.m. OK GNU C++11 TESTS 33 62 0 1300
68843433 luogu_bot2 B Jan. 15, 2020, 6:36 a.m. OK GNU C++11 TESTS 33 62 0 1300
68744567 luogu_bot4 B Jan. 14, 2020, 3:44 a.m. OK GNU C++11 TESTS 33 62 0 1300
68074304 luogu_bot1 B Jan. 2, 2020, 11:50 a.m. OK GNU C++11 TESTS 33 62 0 1300
41488728 tenkohople B Aug. 11, 2018, 2:37 p.m. OK GNU C++14 TESTS 33 30 0 1300
57455371 DISHWASHER54 B July 21, 2019, 11:25 a.m. OK GNU C++14 TESTS 33 30 0 1300
57470887 vjudge1 B July 21, 2019, 6:06 p.m. OK GNU C++14 TESTS 33 30 0 1300
50097603 misho-29 B Feb. 18, 2019, 1:26 p.m. OK GNU C++14 TESTS 33 30 0 1300
55512955 yashsaga B June 13, 2019, 2:05 a.m. OK GNU C++14 TESTS 33 30 0 1300
57097496 vjudge2 B July 15, 2019, 12:43 p.m. OK GNU C++14 TESTS 33 60 0 1300
65409371 islammohsen B Nov. 20, 2019, 2:58 a.m. OK GNU C++14 TESTS 33 60 0 1300
62231129 vjudge2 B Oct. 9, 2019, 8:41 p.m. OK GNU C++14 TESTS 33 60 0 1300
61301091 dczhpx B Sept. 26, 2019, 4:56 a.m. OK GNU C++14 TESTS 33 60 0 1300
57620971 khalile B July 24, 2019, 4:40 a.m. OK GNU C++14 TESTS 33 60 0 1300
55285499 tnakao B June 8, 2019, 4:35 a.m. OK GNU C++17 TESTS 33 30 0 1300
55497211 spaesk B June 12, 2019, 1:11 p.m. OK GNU C++17 TESTS 33 30 0 1300
61339766 Dreamy_boy B Sept. 26, 2019, 7:40 p.m. OK GNU C++17 TESTS 33 30 0 1300
64260131 farzan22831 B Nov. 4, 2019, 4:20 p.m. OK GNU C++17 TESTS 33 30 0 1300
67002868 practice_practice B Dec. 16, 2019, 6:37 a.m. OK GNU C++17 TESTS 33 30 0 1300
40710582 syed_jafrul_husen B July 24, 2018, 3:44 p.m. OK GNU C++17 TESTS 33 30 0 1300
57006162 Qih B July 14, 2019, 6:53 a.m. OK GNU C++17 TESTS 33 60 0 1300
57094066 vjudge1 B July 15, 2019, 11:41 a.m. OK GNU C++17 TESTS 33 60 0 1300
59565161 inficreator B Aug. 27, 2019, 10:25 a.m. OK GNU C++17 TESTS 33 60 0 1300
62231200 Ziadmoftah B Oct. 9, 2019, 8:42 p.m. OK GNU C++17 TESTS 33 60 0 1300
40200380 Febronia_Ashraf B July 11, 2018, 12:11 p.m. OK GNU C++17 Diagnostics TESTS 33 1996 3072000 1300
57799663 Ikari_stream B July 26, 2019, 12:48 p.m. OK Java 8 TESTS 33 248 0 1300
50324507 vjudge5 B Feb. 22, 2019, 3:53 p.m. OK Java 8 TESTS 33 248 0 1300
46031273 vjudge2 B Nov. 21, 2018, 1:52 p.m. OK Java 8 TESTS 33 248 0 1300
45995345 vjudge1 B Nov. 20, 2018, 12:04 p.m. OK Java 8 TESTS 33 248 0 1300
40860859 mesmail B July 27, 2018, 9:09 p.m. OK Java 8 TESTS 33 248 0 1300
39343374 Mazen_Tarek B June 17, 2018, 8:54 p.m. OK Java 8 TESTS 33 248 0 1300
60354975 newheathen B Sept. 10, 2019, 3:47 p.m. OK Java 8 TESTS 33 278 0 1300
46283969 vjudge4 B Nov. 27, 2018, 2:55 p.m. OK Java 8 TESTS 33 278 0 1300
45976898 waleed_reda B Nov. 19, 2018, 7:13 p.m. OK Java 8 TESTS 33 278 0 1300
50333644 arf_ B Feb. 22, 2019, 7:41 p.m. OK Java 8 TESTS 33 280 0 1300
42911437 Awake B Sept. 16, 2018, 7:41 a.m. OK MS C++ TESTS 33 60 0 1300
40992352 ReaLNero1 B July 31, 2018, 1:16 a.m. OK MS C++ TESTS 33 60 0 1300
50329422 vjudge2 B Feb. 22, 2019, 5:56 p.m. OK MS C++ TESTS 33 62 0 1300
50329201 vjudge2 B Feb. 22, 2019, 5:50 p.m. OK MS C++ TESTS 33 62 0 1300
45585381 vjudge5 B Nov. 12, 2018, 8:17 a.m. OK MS C++ TESTS 33 62 0 1300
47881605 thenewguy39 B Jan. 3, 2019, 6:42 p.m. OK PyPy 2 TESTS 33 278 0 1300
56407883 Doctor-Venom B July 1, 2019, 8:37 p.m. OK PyPy 3 TESTS 33 278 0 1300
62626855 kchau B Oct. 15, 2019, 2:18 p.m. OK PyPy 3 TESTS 33 280 0 1300
55873187 lIn_nIl B June 21, 2019, 4:04 p.m. OK PyPy 3 TESTS 33 342 102400 1300
50419513 luogu_bot1 B Feb. 24, 2019, 8:19 a.m. OK Python 3 TESTS 33 216 0 1300
63660913 hjq000 B Oct. 28, 2019, 2:01 p.m. OK Python 3 TESTS 33 218 0 1300
62765089 ruchi_1998 B Oct. 17, 2019, 8:21 a.m. OK Python 3 TESTS 33 218 0 1300
54887259 Bhj2001 B May 31, 2019, 6:05 p.m. OK Python 3 TESTS 33 218 0 1300
51780052 rumboalfuturo B March 24, 2019, 3:47 a.m. OK Python 3 TESTS 33 218 0 1300
44495104 BK.Sirine B Oct. 18, 2018, 4:24 p.m. OK Python 3 TESTS 33 218 0 1300
43010362 LintuStorm B Sept. 17, 2018, 6:13 p.m. OK Python 3 TESTS 33 218 0 1300
42122953 Mk_Python_v1 B Aug. 26, 2018, 1:27 p.m. OK Python 3 TESTS 33 218 0 1300
69948729 luogu_bot5 B Feb. 1, 2020, 8:20 a.m. OK Python 3 TESTS 33 248 0 1300
44493804 anis97 B Oct. 18, 2018, 3:48 p.m. OK Python 3 TESTS 33 248 0 1300
56017761 sorry_im_smurfing B June 24, 2019, 11:04 p.m. OK Ruby TESTS 33 124 0 1300

remove filters

Back to search problems