Codeforces Round 461 (Div. 2)

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
922 Codeforces Round 461 (Div. 2) FINISHED False 7200 219156263 Feb. 7, 2018, 5:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7219 ) C Cave Painting PROGRAMMING brute force number theory 1600

B'Imp is watching a documentary about cave painting. Some numbers, carved in chaotic order, immediately attracted his attention. Imp rapidly proposed a guess that they are the remainders of division of a number n by all integers i from 1 to k. Unfortunately, there are too many integers to analyze for Imp. Imp wants you to check whether all these remainders are distinct. Formally, he wants to check, if all , 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89i xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k, are distinct, i. e. there is no such pair (i, xe2 x80 x89j) that: The only line contains two integers n, k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018). Print "Yes", if all the remainders are distinct, and "No" otherwise. You can print each letter in arbitrary case (lower or upper). In the first sample remainders modulo 1 and 4 coincide. '...

Tutorials

57605

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
39339515 LODB---D C June 17, 2018, 4:02 p.m. OK Clang++17 Diagnostics TESTS 90 31 0 1600
35133056 tovValentin C Feb. 10, 2018, 5:42 p.m. OK FPC TESTS 90 15 1638400 1600
35081328 Maksimmax C Feb. 9, 2018, 7:17 a.m. OK FPC TESTS 90 15 1638400 1600
35046053 Choppa C Feb. 8, 2018, 6:08 a.m. OK FPC TESTS 90 15 1638400 1600
35048705 dambosin C Feb. 8, 2018, 7:38 a.m. OK FPC TESTS 90 15 1638400 1600
35120906 Ivan2020 C Feb. 10, 2018, 10:47 a.m. OK FPC TESTS 90 15 5632000 1600
35046083 ilya_kas C Feb. 8, 2018, 6:09 a.m. OK FPC TESTS 90 15 5734400 1600
35532436 TuM0xA C Feb. 20, 2018, 8:03 p.m. OK FPC TESTS 90 15 9625600 1600
35216452 yourbeach C Feb. 13, 2018, 7:12 p.m. OK FPC TESTS 90 15 11673600 1600
35046436 Slonik C Feb. 8, 2018, 6:21 a.m. OK FPC TESTS 90 15 26624000 1600
35133039 tovValentin C Feb. 10, 2018, 5:42 p.m. OK FPC TESTS 90 15 130969600 1600
35201943 iavinas C Feb. 13, 2018, 2:17 p.m. OK GNU C TESTS 90 15 1843200 1600
35132374 AATEST C Feb. 10, 2018, 5:14 p.m. OK GNU C TESTS 90 15 1843200 1600
35132040 AATEST C Feb. 10, 2018, 5:01 p.m. OK GNU C TESTS 90 15 1843200 1600
35123659 diponsaha007 C Feb. 10, 2018, 12:18 p.m. OK GNU C TESTS 90 15 1843200 1600
35097524 Sumukh_Bhardwaj C Feb. 9, 2018, 4:07 p.m. OK GNU C TESTS 90 15 1843200 1600
35091331 anirudhbansal C Feb. 9, 2018, 1:25 p.m. OK GNU C TESTS 90 15 1843200 1600
35066702 I_Love_U_Sohan C Feb. 8, 2018, 5 p.m. OK GNU C TESTS 90 15 1843200 1600
35227745 kuru.patel C Feb. 14, 2018, 10:09 a.m. OK GNU C TESTS 90 15 2048000 1600
35097501 Sumukh_Bhardwaj C Feb. 9, 2018, 4:07 p.m. OK GNU C TESTS 90 15 74035200 1600
38585756 vjudge4 C May 24, 2018, 12:08 p.m. OK GNU C TESTS 90 30 0 1600
38983596 Eric1028 C June 6, 2018, 4:49 a.m. OK GNU C++ TESTS 90 15 0 1600
36035729 xiant C March 7, 2018, 7:29 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35823681 lololommmm C March 2, 2018, 2:41 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35664100 luogu_bot3 C Feb. 24, 2018, 11:33 p.m. OK GNU C++ TESTS 90 15 1843200 1600
35597415 vjudge1 C Feb. 23, 2018, 1:14 p.m. OK GNU C++ TESTS 90 15 1843200 1600
35564436 fighting_hlq C Feb. 22, 2018, 4:19 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35223620 vjudge1 C Feb. 14, 2018, 5:49 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35223561 vjudge2 C Feb. 14, 2018, 5:45 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35223556 vjudge4 C Feb. 14, 2018, 5:45 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35223537 vjudge2 C Feb. 14, 2018, 5:44 a.m. OK GNU C++ TESTS 90 15 1843200 1600
35135182 Nafis.Shahriar C Feb. 10, 2018, 7:12 p.m. OK GNU C11 TESTS 90 15 1843200 1600
35135155 vjudge3 C Feb. 10, 2018, 7:11 p.m. OK GNU C11 TESTS 90 15 1843200 1600
35132392 0xA C Feb. 10, 2018, 5:15 p.m. OK GNU C11 TESTS 90 15 1843200 1600
35059172 zero1998 C Feb. 8, 2018, 1:06 p.m. OK GNU C11 TESTS 90 15 1843200 1600
35131926 vjudge4 C Feb. 10, 2018, 4:56 p.m. OK GNU C11 TESTS 90 15 2662400 1600
38311495 vjudge3 C May 16, 2018, 6:48 a.m. OK GNU C11 TESTS 90 15 3584000 1600
59238392 akshar09 C Aug. 21, 2019, 6:26 p.m. OK GNU C11 TESTS 90 31 0 1600
37885881 vjudge2 C May 4, 2018, 2:50 p.m. OK GNU C11 TESTS 90 31 3379200 1600
37885867 wmarcelod C May 4, 2018, 2:49 p.m. OK GNU C11 TESTS 90 31 3379200 1600
35107645 wolf2014 C Feb. 9, 2018, 11:14 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35599017 cjmp1 C Feb. 23, 2018, 2:11 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35442306 rzy_99 C Feb. 18, 2018, 9:58 a.m. OK GNU C++11 TESTS 90 15 1843200 1600
35158044 08163268 C Feb. 11, 2018, 4:06 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35133180 TheDude__ C Feb. 10, 2018, 5:47 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35129234 ryycpp C Feb. 10, 2018, 3:16 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35125935 QuartZ_Z C Feb. 10, 2018, 1:34 p.m. OK GNU C++11 TESTS 90 15 1843200 1600
35109973 ch755672829 C Feb. 10, 2018, 2:53 a.m. OK GNU C++11 TESTS 90 15 1843200 1600
35085846 297947648 C Feb. 9, 2018, 10:18 a.m. OK GNU C++11 TESTS 90 15 1843200 1600
35075721 forever97 C Feb. 9, 2018, 1:52 a.m. OK GNU C++11 TESTS 90 15 1843200 1600
39456324 Nitish_cet C June 21, 2018, 8:54 a.m. OK GNU C++14 TESTS 90 15 921600 1600
35141265 catfish5911 C Feb. 11, 2018, 2:55 a.m. OK GNU C++14 TESTS 90 15 1843200 1600
35150854 Momo98 C Feb. 11, 2018, 11:07 a.m. OK GNU C++14 TESTS 90 15 1843200 1600
35191082 iecho C Feb. 13, 2018, 6:12 a.m. OK GNU C++14 TESTS 90 15 1843200 1600
35229159 tuyang C Feb. 14, 2018, 11:26 a.m. OK GNU C++14 TESTS 90 15 1843200 1600
35311322 xiqi C Feb. 15, 2018, 4 p.m. OK GNU C++14 TESTS 90 15 1843200 1600
35523944 nikesh04 C Feb. 20, 2018, 2:20 p.m. OK GNU C++14 TESTS 90 15 1843200 1600
35545019 basasuya C Feb. 21, 2018, 11:14 a.m. OK GNU C++14 TESTS 90 15 1843200 1600
35597020 lovemejj C Feb. 23, 2018, 1 p.m. OK GNU C++14 TESTS 90 15 1843200 1600
35597400 ykl1161180908 C Feb. 23, 2018, 1:13 p.m. OK GNU C++14 TESTS 90 15 1843200 1600
38614350 SHAMPINION C May 25, 2018, 4:33 p.m. OK GNU C++17 TESTS 90 15 0 1600
35922191 vjudge1 C March 4, 2018, 12:54 p.m. OK GNU C++17 TESTS 90 15 1843200 1600
36244921 teitoku C March 13, 2018, 10:40 a.m. OK GNU C++17 TESTS 90 15 1843200 1600
35191559 haleyk100198 C Feb. 13, 2018, 6:36 a.m. OK GNU C++17 TESTS 90 15 1945600 1600
36308417 Arishenk C March 15, 2018, 5:17 p.m. OK GNU C++17 TESTS 90 15 1945600 1600
35544741 gauravplx C Feb. 21, 2018, 11:02 a.m. OK GNU C++17 TESTS 90 15 1945600 1600
35223876 saeid1993 C Feb. 14, 2018, 6:06 a.m. OK GNU C++17 TESTS 90 15 1945600 1600
35209044 HCPS42 C Feb. 13, 2018, 5:35 p.m. OK GNU C++17 TESTS 90 15 1945600 1600
35206738 AnonymousFromGeorgia C Feb. 13, 2018, 5:09 p.m. OK GNU C++17 TESTS 90 15 1945600 1600
35184435 Taxman C Feb. 12, 2018, 4:53 p.m. OK GNU C++17 TESTS 90 15 1945600 1600
35134014 _Subrata C Feb. 10, 2018, 6:23 p.m. OK GNU C++17 Diagnostics TESTS 90 889 97484800 1600
35059123 ritvik_sangwan C Feb. 8, 2018, 1:05 p.m. OK GNU C++17 Diagnostics TESTS 90 935 101580800 1600
35044042 jizhiyi C Feb. 8, 2018, 4:42 a.m. OK GNU C++17 Diagnostics TESTS 90 951 104550400 1600
37473710 KhanShaheb C April 19, 2018, 10:04 p.m. OK GNU C++17 Diagnostics TESTS 90 966 97587200 1600
35059587 ritvik_sangwan C Feb. 8, 2018, 1:17 p.m. OK GNU C++17 Diagnostics TESTS 90 982 102092800 1600
35077589 ito2307 C Feb. 9, 2018, 4:24 a.m. OK GNU C++17 Diagnostics TESTS 90 998 103321600 1600
35174248 Beawin C Feb. 12, 2018, 9:51 a.m. OK GNU C++17 Diagnostics TESTS 90 998 109670400 1600
35052231 megaspazz C Feb. 8, 2018, 9:22 a.m. OK Go TESTS 90 15 22937600 1600
35052294 megaspazz C Feb. 8, 2018, 9:24 a.m. OK Go TESTS 90 15 22937600 1600
35426255 codemania C Feb. 17, 2018, 5:24 p.m. OK Haskell TESTS 90 15 44851200 1600
35170069 danielfleischman C Feb. 12, 2018, 6:17 a.m. OK Haskell TESTS 90 15 53248000 1600
35171500 danielfleischman C Feb. 12, 2018, 7:35 a.m. OK Haskell TESTS 90 31 53248000 1600
44225036 sanju98 C Oct. 12, 2018, 7:03 p.m. OK Java 8 TESTS 90 109 0 1600
48033810 uc11 C Jan. 6, 2019, 2:09 p.m. OK Java 8 TESTS 90 109 0 1600
48033720 fuck69 C Jan. 6, 2019, 2:06 p.m. OK Java 8 TESTS 90 109 0 1600
47272930 viratK C Dec. 19, 2018, 5:38 p.m. OK Java 8 TESTS 90 109 0 1600
54360388 adeepgarg13 C May 18, 2019, 8:13 p.m. OK Java 8 TESTS 90 109 0 1600
35044882 ritzdevp C Feb. 8, 2018, 5:19 a.m. OK Java 8 TESTS 90 109 20684800 1600
69197215 lazypanda C Jan. 20, 2020, 3:18 p.m. OK Java 8 TESTS 90 124 0 1600
68696777 vjudge2 C Jan. 13, 2020, 8:11 a.m. OK Java 8 TESTS 90 124 0 1600
69683102 insane_28 C Jan. 28, 2020, 4:13 p.m. OK Java 8 TESTS 90 124 0 1600
64579263 sakt_coder C Nov. 9, 2019, 11:37 a.m. OK Java 8 TESTS 90 124 0 1600
35193126 karpengold C Feb. 13, 2018, 7:56 a.m. OK JavaScript TESTS 90 31 6963200 1600
36328804 ArJento C March 16, 2018, 2:35 p.m. OK Kotlin TESTS 90 171 21094400 1600
51868655 nemars C March 26, 2019, 4:22 p.m. OK Mono C# TESTS 90 62 0 1600
35063077 Xtreemist C Feb. 8, 2018, 2:58 p.m. OK Mono C# TESTS 90 62 9318400 1600
37845771 og.kostya C May 2, 2018, 4:50 p.m. OK Mono C# TESTS 90 62 11673600 1600
35193333 giorgi_t C Feb. 13, 2018, 8:07 a.m. OK Mono C# TESTS 90 77 11776000 1600
35069822 groleore C Feb. 8, 2018, 6:56 p.m. OK MS C# TESTS 90 46 9318400 1600
35227266 east89 C Feb. 14, 2018, 9:43 a.m. OK MS C# TESTS 90 46 9318400 1600
35470874 ToToshka45 C Feb. 19, 2018, 12:56 p.m. OK MS C# TESTS 90 46 9318400 1600
35102955 Samyrai C Feb. 9, 2018, 7 p.m. OK MS C# TESTS 90 46 11776000 1600
36072229 2015031104022 C March 8, 2018, 1:22 p.m. OK MS C++ TESTS 90 15 2048000 1600
36072055 2015031104022 C March 8, 2018, 1:16 p.m. OK MS C++ TESTS 90 15 2048000 1600
35949703 GMNY C March 4, 2018, 8:27 p.m. OK MS C++ TESTS 90 15 2048000 1600
35568994 lkitrossky C Feb. 22, 2018, 9:20 a.m. OK MS C++ TESTS 90 15 2048000 1600
35338885 mima01 C Feb. 16, 2018, 1:37 p.m. OK MS C++ TESTS 90 15 2048000 1600
35223688 vjudge2 C Feb. 14, 2018, 5:54 a.m. OK MS C++ TESTS 90 15 2048000 1600
35223389 vjudge2 C Feb. 14, 2018, 5:35 a.m. OK MS C++ TESTS 90 15 2048000 1600
35148288 Yedoost C Feb. 11, 2018, 9:54 a.m. OK MS C++ TESTS 90 15 2048000 1600
35133567 bodya000007 C Feb. 10, 2018, 6:04 p.m. OK MS C++ TESTS 90 15 2048000 1600
35128869 Zol.Fyodor C Feb. 10, 2018, 3:04 p.m. OK MS C++ TESTS 90 15 2048000 1600
49977935 Checke_Me C Feb. 16, 2019, 6:56 a.m. OK MS C++ 2017 TESTS 90 31 0 1600
55419701 luizerko C June 11, 2019, 5:37 a.m. OK MS C++ 2017 TESTS 90 31 0 1600
66920807 yuanyuan2048 C Dec. 15, 2019, 6:22 a.m. OK MS C++ 2017 TESTS 90 31 307200 1600
53289919 viajero C April 25, 2019, 3:15 p.m. OK MS C++ 2017 TESTS 90 46 0 1600
64574851 MahdiGMK C Nov. 9, 2019, 10:26 a.m. OK MS C++ 2017 TESTS 90 46 307200 1600
36237764 secondwtq C March 13, 2018, 2:50 a.m. OK Ocaml TESTS 90 15 3891200 1600
36237748 secondwtq C March 13, 2018, 2:49 a.m. OK Ocaml TESTS 90 30 3891200 1600
35043609 EON_KID C Feb. 8, 2018, 4:23 a.m. OK PyPy 2 TESTS 90 62 21401600 1600
35289872 naiev C Feb. 15, 2018, 10:50 a.m. OK PyPy 2 TESTS 90 77 21299200 1600
66020845 vjudge4 C Nov. 30, 2019, 7:18 a.m. OK PyPy 2 TESTS 90 124 3993600 1600
44583027 icpc_practice C Oct. 20, 2018, 8:55 a.m. OK PyPy 2 TESTS 90 202 8601600 1600
35072047 ssvirk C Feb. 8, 2018, 8:43 p.m. OK PyPy 3 TESTS 90 77 19968000 1600
35058729 OkRint C Feb. 8, 2018, 12:55 p.m. OK PyPy 3 TESTS 90 77 19968000 1600
35058646 sas1905 C Feb. 8, 2018, 12:52 p.m. OK PyPy 3 TESTS 90 77 19968000 1600
35057936 golikovnik C Feb. 8, 2018, 12:33 p.m. OK PyPy 3 TESTS 90 77 19968000 1600
35050617 LaurynasN C Feb. 8, 2018, 8:32 a.m. OK PyPy 3 TESTS 90 77 19968000 1600
35043565 cy1999 C Feb. 8, 2018, 4:21 a.m. OK PyPy 3 TESTS 90 77 19968000 1600
35205712 Sina_Imani C Feb. 13, 2018, 4:35 p.m. OK PyPy 3 TESTS 90 78 19968000 1600
35058829 sas1905 C Feb. 8, 2018, 12:58 p.m. OK PyPy 3 TESTS 90 78 19968000 1600
35056471 SpeedOfMagic C Feb. 8, 2018, 11:48 a.m. OK PyPy 3 TESTS 90 78 19968000 1600
35047038 2014CAIS01 C Feb. 8, 2018, 6:44 a.m. OK PyPy 3 TESTS 90 78 19968000 1600
35390066 Liana41 C Feb. 17, 2018, 10:10 a.m. OK Python 2 TESTS 90 62 4608000 1600
35373380 Ancient_mage C Feb. 16, 2018, 6:43 p.m. OK Python 2 TESTS 90 62 4608000 1600
35228415 fgt C Feb. 14, 2018, 10:46 a.m. OK Python 2 TESTS 90 62 4608000 1600
35220360 Quirinius C Feb. 13, 2018, 11:04 p.m. OK Python 2 TESTS 90 62 4608000 1600
35185943 tnowakow C Feb. 12, 2018, 5:56 p.m. OK Python 2 TESTS 90 62 4608000 1600
35148611 Hahahahahahahhahaha C Feb. 11, 2018, 10:09 a.m. OK Python 2 TESTS 90 62 4608000 1600
35148583 Hahahahahahahhahaha C Feb. 11, 2018, 10:07 a.m. OK Python 2 TESTS 90 62 4608000 1600
35148572 Hahahahahahahhahaha C Feb. 11, 2018, 10:07 a.m. OK Python 2 TESTS 90 62 4608000 1600
35148562 Hahahahahahahhahaha C Feb. 11, 2018, 10:07 a.m. OK Python 2 TESTS 90 62 4608000 1600
35116886 franckmy C Feb. 10, 2018, 8:30 a.m. OK Python 2 TESTS 90 62 4608000 1600
36304520 Bamal C March 15, 2018, 2:28 p.m. OK Python 3 TESTS 90 62 5632000 1600
36304501 Paixao C March 15, 2018, 2:27 p.m. OK Python 3 TESTS 90 62 5632000 1600
36239334 bob171998 C March 13, 2018, 5:18 a.m. OK Python 3 TESTS 90 62 5632000 1600
35221459 Kirillov_Alexey C Feb. 14, 2018, 1:23 a.m. OK Python 3 TESTS 90 62 5632000 1600
35216511 pavluntiy C Feb. 13, 2018, 7:15 p.m. OK Python 3 TESTS 90 62 5632000 1600
35214920 BAJUKA C Feb. 13, 2018, 6:12 p.m. OK Python 3 TESTS 90 62 5632000 1600
35195147 giorgi_t C Feb. 13, 2018, 9:31 a.m. OK Python 3 TESTS 90 62 5632000 1600
35182824 striver_79 C Feb. 12, 2018, 3:48 p.m. OK Python 3 TESTS 90 62 5632000 1600
35182756 KRAVTSOV C Feb. 12, 2018, 3:45 p.m. OK Python 3 TESTS 90 62 5632000 1600
35174657 RagnarArdal C Feb. 12, 2018, 10:16 a.m. OK Python 3 TESTS 90 62 5632000 1600
36658011 0w1 C March 27, 2018, 4:23 a.m. OK Ruby TESTS 90 78 6451200 1600
35146755 PerplexingPegasus C Feb. 11, 2018, 8:46 a.m. OK Ruby TESTS 90 92 6656000 1600
35053356 rinzu C Feb. 8, 2018, 10 a.m. OK Ruby TESTS 90 140 6553600 1600
35124154 fcbruce C Feb. 10, 2018, 12:36 p.m. OK Rust TESTS 90 15 1536000 1600

remove filters

Back to search problems