Codeforces Round 739 (Div. 3)

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
1560 Codeforces Round 739 (Div. 3) FINISHED False 8100 108055511 Aug. 18, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 62425 ) A Dislike of Threes PROGRAMMING implementation 800

B"Polycarp doesn't like integers that are divisible by 3 or end with the digit 3 in their decimal representation. Integers that meet both conditions are disliked by Polycarp, too. Polycarp starts to write out the positive (greater than 0 ) integers which he likes: 1, 2, 4, 5, 7, 8, 10, 11, 14, 16, ... . Output the k -th element of this sequence (the elements are numbered from 1 ). The first line contains one integer t ( 1 <= t <= 100 ) -- the number of test cases. Then t test cases follow. Each test case consists of one line containing one integer k ( 1 <= k <= 1000 ). For each test case, output in a separate line one integer x -- the k -th element of the sequence that was written out by Polycarp. "...

Tutorials

94009

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
126590525 Viraat_28 A Aug. 21, 2021, 6:01 a.m. OK GNU C11 TESTS 27 15 3686400 800
126632699 Rapid_VM A Aug. 21, 2021, 3:07 p.m. OK GNU C11 TESTS 27 15 3686400 800
126641774 Nishtha_12 A Aug. 21, 2021, 5:10 p.m. OK GNU C11 TESTS 27 15 3686400 800
126840494 hoanglong7802 A Aug. 24, 2021, 1:06 p.m. OK GNU C11 TESTS 27 15 3686400 800
126542503 Forever_M A Aug. 20, 2021, 1:52 p.m. OK GNU C11 TESTS 27 15 3686400 800
126591187 H_a_c_kcode_gaurav A Aug. 21, 2021, 6:12 a.m. OK GNU C11 TESTS 27 15 3686400 800
126757645 swadhin32 A Aug. 23, 2021, 12:25 p.m. OK GNU C11 TESTS 27 15 3788800 800
126991123 Doblac_Lewlif A Aug. 25, 2021, 5:17 p.m. OK GNU C11 TESTS 27 30 3686400 800
126968170 keagleV A Aug. 25, 2021, 12:29 p.m. OK GNU C11 TESTS 27 30 3686400 800
126845228 k.srisuryavamsi A Aug. 24, 2021, 2:08 p.m. OK GNU C11 TESTS 27 30 3686400 800
126956805 xcx0902 A Aug. 25, 2021, 9:48 a.m. OK GNU C++14 TESTS 27 15 3686400 800
126808667 Khang1Gu A Aug. 24, 2021, 6 a.m. OK GNU C++14 TESTS 27 15 3686400 800
126646426 a.nasretdinov A Aug. 21, 2021, 6:26 p.m. OK GNU C++14 TESTS 27 15 3686400 800
126634461 LordM A Aug. 21, 2021, 3:31 p.m. OK GNU C++14 TESTS 27 15 3686400 800
126619445 Sahil_Gore A Aug. 21, 2021, 12:11 p.m. OK GNU C++14 TESTS 27 15 3686400 800
126974161 _ayushtiwari_ A Aug. 25, 2021, 1:49 p.m. OK GNU C++14 TESTS 27 15 3788800 800
126984997 predator4hack A Aug. 25, 2021, 3:55 p.m. OK GNU C++14 TESTS 27 15 3788800 800
126991680 puneet_g A Aug. 25, 2021, 5:26 p.m. OK GNU C++14 TESTS 27 15 3788800 800
127004912 dalia_bolla A Aug. 25, 2021, 10:27 p.m. OK GNU C++14 TESTS 27 15 3788800 800
127006342 EdisonBa A Aug. 25, 2021, 11:51 p.m. OK GNU C++14 TESTS 27 15 3788800 800
126704169 darain A Aug. 22, 2021, 4:21 p.m. OK GNU C++17 TESTS 27 15 3686400 800
126959724 thatznikhil A Aug. 25, 2021, 10:30 a.m. OK GNU C++17 TESTS 27 15 3788800 800
127006061 Kelvin_L A Aug. 25, 2021, 11:32 p.m. OK GNU C++17 TESTS 27 15 3788800 800
127002712 utki_17 A Aug. 25, 2021, 9:02 p.m. OK GNU C++17 TESTS 27 15 3788800 800
126996057 pHpSingh A Aug. 25, 2021, 6:36 p.m. OK GNU C++17 TESTS 27 15 3788800 800
126994647 anurag23 A Aug. 25, 2021, 6:13 p.m. OK GNU C++17 TESTS 27 15 3788800 800
126985078 Nitesh_NITK A Aug. 25, 2021, 3:56 p.m. OK GNU C++17 TESTS 27 15 3788800 800
126950771 Imsingh A Aug. 25, 2021, 8:31 a.m. OK GNU C++17 TESTS 27 15 3788800 800
126946816 SleepingBoy A Aug. 25, 2021, 7:43 a.m. OK GNU C++17 TESTS 27 15 3788800 800
126922318 shida_xyk A Aug. 25, 2021, 12:45 a.m. OK GNU C++17 TESTS 27 15 3788800 800
126736098 ylq_s_hanpi A Aug. 23, 2021, 7:06 a.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126733770 sharmaharisam A Aug. 23, 2021, 6:31 a.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126758867 Sumanth06 A Aug. 23, 2021, 12:43 p.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126689252 BlackAnt A Aug. 22, 2021, 12:37 p.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126691714 smit_123 A Aug. 22, 2021, 1:23 p.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126743922 Naujokas A Aug. 23, 2021, 8:54 a.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126788186 jaisaikrishnan A Aug. 23, 2021, 7:28 p.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126832227 jg_trek A Aug. 24, 2021, 11:17 a.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126909936 Bill_Board A Aug. 24, 2021, 6:27 p.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126937399 ishanpan A Aug. 25, 2021, 5:46 a.m. OK GNU C++17 (64) TESTS 27 15 4300800 800
126761470 ma5ba A Aug. 23, 2021, 1:18 p.m. OK Go TESTS 27 30 10752000 800
126668224 SnacksTime A Aug. 22, 2021, 6:18 a.m. OK Go TESTS 27 31 10649600 800
126925688 Gin_Sian A Aug. 25, 2021, 2:22 a.m. OK Go TESTS 27 31 10649600 800
126687758 0x3F A Aug. 22, 2021, 12:10 p.m. OK Go TESTS 27 31 10649600 800
126679598 0x3F A Aug. 22, 2021, 9:41 a.m. OK Go TESTS 27 31 10649600 800
126683349 jaspreet_singh. A Aug. 22, 2021, 10:49 a.m. OK Go TESTS 27 31 10752000 800
126775444 mhdx A Aug. 23, 2021, 4:07 p.m. OK Go TESTS 27 31 10752000 800
126682936 jaspreet_singh. A Aug. 22, 2021, 10:42 a.m. OK Go TESTS 27 31 10752000 800
126623842 bubblesoft A Aug. 21, 2021, 1:12 p.m. OK Haskell TESTS 27 31 11571200 800
126792095 TomazGomes A Aug. 23, 2021, 9:20 p.m. OK Haskell TESTS 27 31 11571200 800
126922952 Blondie A Aug. 25, 2021, 1:07 a.m. OK Java 11 TESTS 27 171 23756800 800
126920106 mzeng A Aug. 24, 2021, 10:53 p.m. OK Java 11 TESTS 27 171 23756800 800
126785772 laukik.shelke A Aug. 23, 2021, 6:40 p.m. OK Java 11 TESTS 27 171 23756800 800
126783047 userNiladriDas A Aug. 23, 2021, 5:55 p.m. OK Java 11 TESTS 27 171 23756800 800
126725426 Hresvelg mphillotry nikilrselvam A Aug. 23, 2021, 3:33 a.m. OK Java 11 TESTS 27 171 23756800 800
126579932 kamesh.joshi A Aug. 21, 2021, 2:02 a.m. OK Java 11 TESTS 27 171 23756800 800
126992532 XArceus A Aug. 25, 2021, 5:39 p.m. OK Java 11 TESTS 27 186 23756800 800
126972683 yasharma2301 A Aug. 25, 2021, 1:31 p.m. OK Java 11 TESTS 27 186 23756800 800
126755827 vikash_chander A Aug. 23, 2021, 11:58 a.m. OK Java 11 TESTS 27 186 23756800 800
126754106 anirudh2233 A Aug. 23, 2021, 11:32 a.m. OK Java 11 TESTS 27 186 23756800 800
126685637 dexter_1205 A Aug. 22, 2021, 11:31 a.m. OK Java 8 TESTS 27 108 20275200 800
126695649 matbensch A Aug. 22, 2021, 2:27 p.m. OK Java 8 TESTS 27 108 20377600 800
126675044 ACCgirl A Aug. 22, 2021, 8:21 a.m. OK Java 8 TESTS 27 109 20172800 800
126755079 srishtikatiyar15999 A Aug. 23, 2021, 11:47 a.m. OK Java 8 TESTS 27 109 20172800 800
126625945 pgthebigshot A Aug. 21, 2021, 1:40 p.m. OK Java 8 TESTS 27 109 20275200 800
126996225 Moamen_Shoman A Aug. 25, 2021, 6:39 p.m. OK Java 8 TESTS 27 109 20275200 800
126727907 krishnareddy.nancheri A Aug. 23, 2021, 4:37 a.m. OK Java 8 TESTS 27 109 20377600 800
126815303 LeJones A Aug. 24, 2021, 7:25 a.m. OK Java 8 TESTS 27 109 20377600 800
126786581 Abdallah_Ragab00 A Aug. 23, 2021, 6:55 p.m. OK Java 8 TESTS 27 109 20377600 800
126720609 MrGorbunov A Aug. 23, 2021, 12:50 a.m. OK Java 8 TESTS 27 109 20377600 800
126739535 Andrei_Kuz A Aug. 23, 2021, 7:54 a.m. OK JavaScript TESTS 27 46 6963200 800
126817628 Bororo A Aug. 24, 2021, 7:53 a.m. OK Kotlin TESTS 27 109 20377600 800
126697249 catcatcute A Aug. 22, 2021, 2:53 p.m. OK Kotlin TESTS 27 124 20275200 800
126636979 Red_Black_Fox A Aug. 21, 2021, 4:02 p.m. OK Kotlin TESTS 27 124 20377600 800
126983662 Krantzy A Aug. 25, 2021, 3:40 p.m. OK Kotlin TESTS 27 139 20889600 800
126697056 catcatcute A Aug. 22, 2021, 2:49 p.m. OK Kotlin TESTS 27 140 20787200 800
126827732 bkifhr8 A Aug. 24, 2021, 10:12 a.m. OK Kotlin TESTS 27 140 21708800 800
126592219 GusztavSzmolik A Aug. 21, 2021, 6:28 a.m. OK Mono C# TESTS 27 46 8601600 800
126710351 spicy_apricot A Aug. 22, 2021, 6:31 p.m. OK MS C++ 2017 TESTS 27 15 3788800 800
126919672 JJMV A Aug. 24, 2021, 10:32 p.m. OK MS C++ 2017 TESTS 27 15 3788800 800
126968476 minakshi_789 A Aug. 25, 2021, 12:32 p.m. OK MS C++ 2017 TESTS 27 30 3788800 800
126588912 poojan_021102 A Aug. 21, 2021, 5:33 a.m. OK MS C++ 2017 TESTS 27 30 3788800 800
126594032 Arun_Labana A Aug. 21, 2021, 6:54 a.m. OK MS C++ 2017 TESTS 27 30 3788800 800
126650275 Cucuskaa A Aug. 21, 2021, 7:42 p.m. OK MS C++ 2017 TESTS 27 30 3788800 800
126657752 forceswithme A Aug. 22, 2021, 12:36 a.m. OK MS C++ 2017 TESTS 27 30 3788800 800
126590531 S_Rising A Aug. 21, 2021, 6:01 a.m. OK MS C++ 2017 TESTS 27 31 3686400 800
126654660 Kent7 A Aug. 21, 2021, 9:59 p.m. OK MS C++ 2017 TESTS 27 31 3686400 800
126635685 Poseydon42 A Aug. 21, 2021, 3:46 p.m. OK MS C++ 2017 TESTS 27 31 3686400 800
126970692 kate333 A Aug. 25, 2021, 1:06 p.m. OK .NET Core C# TESTS 27 93 11161600 800
126971868 maximglazkov8888 A Aug. 25, 2021, 1:21 p.m. OK .NET Core C# TESTS 27 93 11161600 800
126855368 AbdelrhmanRafaat A Aug. 24, 2021, 2:53 p.m. OK .NET Core C# TESTS 27 93 11468800 800
126627093 Nidz05 A Aug. 21, 2021, 1:55 p.m. OK .NET Core C# TESTS 27 93 11468800 800
126820954 vperfilev A Aug. 24, 2021, 8:38 a.m. OK .NET Core C# TESTS 27 93 14028800 800
126542199 a1ikeda A Aug. 20, 2021, 1:48 p.m. OK Perl TESTS 27 31 2764800 800
126987278 Basement_Cat A Aug. 25, 2021, 4:23 p.m. OK PHP TESTS 27 46 6041600 800
126790992 coden00b2021 A Aug. 23, 2021, 8:44 p.m. OK PyPy 2 TESTS 27 78 23347200 800
126547760 shust952 A Aug. 20, 2021, 2:51 p.m. OK PyPy 2 TESTS 27 108 23347200 800
126555311 pseudonam A Aug. 20, 2021, 4:13 p.m. OK PyPy 3 TESTS 27 93 20172800 800
126636590 nmsjha A Aug. 21, 2021, 3:58 p.m. OK PyPy 3 TESTS 27 93 21504000 800
127000086 Arix A Aug. 25, 2021, 7:54 p.m. OK PyPy 3 TESTS 27 108 21504000 800
126970083 GustavRamirez A Aug. 25, 2021, 12:58 p.m. OK PyPy 3 TESTS 27 108 21504000 800
126630186 harshk_1729 A Aug. 21, 2021, 2:36 p.m. OK PyPy 3 TESTS 27 108 21504000 800
126597444 taitay A Aug. 21, 2021, 7:37 a.m. OK PyPy 3 TESTS 27 108 21504000 800
126906730 frija A Aug. 24, 2021, 5:55 p.m. OK PyPy 3 TESTS 27 108 21606400 800
126828224 brogrammer_24 A Aug. 24, 2021, 10:19 a.m. OK PyPy 3 TESTS 27 108 21606400 800
126826633 simply_hooman A Aug. 24, 2021, 9:57 a.m. OK PyPy 3 TESTS 27 108 21606400 800
126706648 greenindia A Aug. 22, 2021, 5:14 p.m. OK PyPy 3 TESTS 27 108 21606400 800
126556352 kerolosibrahim A Aug. 20, 2021, 4:26 p.m. OK Python 2 TESTS 27 93 6553600 800
126972372 saichandra_1 A Aug. 25, 2021, 1:28 p.m. OK Python 3 TESTS 27 62 6758400 800
126959666 ganeshmehta A Aug. 25, 2021, 10:29 a.m. OK Python 3 TESTS 27 62 6758400 800
126954862 sreznick A Aug. 25, 2021, 9:22 a.m. OK Python 3 TESTS 27 62 6758400 800
126913581 Sarthack A Aug. 24, 2021, 7:27 p.m. OK Python 3 TESTS 27 62 6758400 800
126813043 Armaan48 A Aug. 24, 2021, 6:59 a.m. OK Python 3 TESTS 27 62 6758400 800
126786414 paralak A Aug. 23, 2021, 6:52 p.m. OK Python 3 TESTS 27 62 6758400 800
126712017 MikNik A Aug. 22, 2021, 7:08 p.m. OK Python 3 TESTS 27 62 6758400 800
126707476 hamcpa155 A Aug. 22, 2021, 5:31 p.m. OK Python 3 TESTS 27 62 6758400 800
126662562 mutekiaji A Aug. 22, 2021, 3:36 a.m. OK Python 3 TESTS 27 62 6758400 800
126651057 andria13 A Aug. 21, 2021, 8 p.m. OK Python 3 TESTS 27 62 6758400 800
126940777 ntan1210 A Aug. 25, 2021, 6:32 a.m. OK Rust TESTS 27 31 3788800 800
126979991 lxk A Aug. 25, 2021, 2:58 p.m. OK Rust TESTS 27 31 3788800 800
126792294 khr03ae A Aug. 23, 2021, 9:28 p.m. OK Rust TESTS 27 31 3788800 800
126960318 GeoffreyY A Aug. 25, 2021, 10:39 a.m. OK Rust TESTS 27 31 3788800 800

remove filters

Back to search problems