Codeforces Round 762 (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
1619 Codeforces Round 762 (Div. 3) FINISHED False 8100 97255463 Dec. 20, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 31252 ) B Squares and Cubes PROGRAMMING implementation math

B'Polycarp likes squares and cubes of positive integers. Here is the beginning of the sequence of numbers he likes: 1 , 4 , 8 , 9 , .... For a given number n , count the number of integers from 1 to n that Polycarp likes. In other words, find the number of such x that x is a square of a positive integer number or a cube of a positive integer number (or both a square and a cube simultaneously). The first line contains an integer t ( 1 <= t <= 20 ) -- the number of test cases. Then t lines contain the test cases, one per line. Each of the lines contains one integer n ( 1 <= n <= 10^9 ). For each test case, print the answer you are looking for -- the number of integers from 1 to n that Polycarp likes. '...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
140119776 ssvb B Dec. 21, 2021, 1:27 a.m. OK D TESTS 138 31 4198400
140162371 Majid2011 B Dec. 21, 2021, 12:23 p.m. OK GNU C11 TESTS 138 15 0
140189500 parthu B Dec. 21, 2021, 5 p.m. OK GNU C11 TESTS 138 15 0
140150457 anshul_02 B Dec. 21, 2021, 9:59 a.m. OK GNU C11 TESTS 138 15 0
140144935 Black8Jack B Dec. 21, 2021, 8:58 a.m. OK GNU C11 TESTS 138 15 0
140139552 hsuanchia B Dec. 21, 2021, 7:54 a.m. OK GNU C11 TESTS 138 15 0
140194995 Shilpi_ B Dec. 21, 2021, 5:58 p.m. OK GNU C11 TESTS 138 15 0
140195901 t_e_e_s B Dec. 21, 2021, 6:08 p.m. OK GNU C11 TESTS 138 15 0
140215314 Crazy_SS B Dec. 22, 2021, 2:26 a.m. OK GNU C11 TESTS 138 15 0
140160193 hraj18 B Dec. 21, 2021, 11:57 a.m. OK GNU C11 TESTS 138 15 0
140159923 Sora_2 B Dec. 21, 2021, 11:53 a.m. OK GNU C11 TESTS 138 15 0
140221908 goldsnort B Dec. 22, 2021, 5:06 a.m. OK GNU C++14 TESTS 138 15 0
140221386 bkifhr7 B Dec. 22, 2021, 4:55 a.m. OK GNU C++14 TESTS 138 15 0
140220179 fickle0 B Dec. 22, 2021, 4:31 a.m. OK GNU C++14 TESTS 138 15 0
140219006 SanjayMarni B Dec. 22, 2021, 4:04 a.m. OK GNU C++14 TESTS 138 15 0
140218939 SanjayMarni B Dec. 22, 2021, 4:03 a.m. OK GNU C++14 TESTS 138 15 0
140217790 Pratik80 B Dec. 22, 2021, 3:33 a.m. OK GNU C++14 TESTS 138 15 0
140216204 luogu_bot2 B Dec. 22, 2021, 2:52 a.m. OK GNU C++14 TESTS 138 15 0
140224234 Sanskar_4416 B Dec. 22, 2021, 5:46 a.m. OK GNU C++14 TESTS 138 15 0
140224127 araragi_koyo B Dec. 22, 2021, 5:45 a.m. OK GNU C++14 TESTS 138 15 0
140223735 Arceus17 B Dec. 22, 2021, 5:38 a.m. OK GNU C++14 TESTS 138 15 0
140221654 sardaar_coders B Dec. 22, 2021, 5:01 a.m. OK GNU C++17 TESTS 138 15 0
140220934 arunim B Dec. 22, 2021, 4:47 a.m. OK GNU C++17 TESTS 138 15 0
140220639 arunsingh1771999 B Dec. 22, 2021, 4:41 a.m. OK GNU C++17 TESTS 138 15 0
140224084 lucky_2253 B Dec. 22, 2021, 5:44 a.m. OK GNU C++17 TESTS 138 15 0
140224735 dewashish_m200691ca B Dec. 22, 2021, 5:55 a.m. OK GNU C++17 TESTS 138 15 0
140224864 TheMiracle B Dec. 22, 2021, 5:57 a.m. OK GNU C++17 TESTS 138 15 0
140225040 A_N_A B Dec. 22, 2021, 5:59 a.m. OK GNU C++17 TESTS 138 15 0
140224039 Lakshay.Arora B Dec. 22, 2021, 5:43 a.m. OK GNU C++17 TESTS 138 15 0
140223876 PHOENIX_RISER B Dec. 22, 2021, 5:40 a.m. OK GNU C++17 TESTS 138 15 0
140223335 nkmkbskmkb B Dec. 22, 2021, 5:30 a.m. OK GNU C++17 TESTS 138 15 0
140209659 dimiTree B Dec. 21, 2021, 10:33 p.m. OK GNU C++17 (64) TESTS 138 15 0
140222087 hrai_20 B Dec. 22, 2021, 5:09 a.m. OK GNU C++17 (64) TESTS 138 15 0
140221989 Cupids_Bow B Dec. 22, 2021, 5:07 a.m. OK GNU C++17 (64) TESTS 138 15 0
140213627 hithu B Dec. 22, 2021, 1:29 a.m. OK GNU C++17 (64) TESTS 138 15 0
140209674 dimiTree B Dec. 21, 2021, 10:33 p.m. OK GNU C++17 (64) TESTS 138 15 0
140205526 Mostafa_Moharram B Dec. 21, 2021, 8:42 p.m. OK GNU C++17 (64) TESTS 138 15 0
140202898 bashNewbie B Dec. 21, 2021, 7:50 p.m. OK GNU C++17 (64) TESTS 138 15 0
140200704 Nadine_Mousa B Dec. 21, 2021, 7:12 p.m. OK GNU C++17 (64) TESTS 138 15 0
140192888 kumartejaswi B Dec. 21, 2021, 5:35 p.m. OK GNU C++17 (64) TESTS 138 15 0
140191038 levenshtein7 B Dec. 21, 2021, 5:15 p.m. OK GNU C++17 (64) TESTS 138 15 0
140195387 pranav_d_22 B Dec. 21, 2021, 6:02 p.m. OK GNU C++20 (64) TESTS 138 15 0
140194019 Pratik8696 B Dec. 21, 2021, 5:48 p.m. OK GNU C++20 (64) TESTS 138 15 0
140192846 jjo_ayt B Dec. 21, 2021, 5:35 p.m. OK GNU C++20 (64) TESTS 138 15 0
140198337 IvanBorquez B Dec. 21, 2021, 6:37 p.m. OK GNU C++20 (64) TESTS 138 15 0
140200022 pranavsawant1212 B Dec. 21, 2021, 7:02 p.m. OK GNU C++20 (64) TESTS 138 15 0
140201337 yaduvanshi_Satyam. B Dec. 21, 2021, 7:23 p.m. OK GNU C++20 (64) TESTS 138 15 0
140201748 Invisible_women B Dec. 21, 2021, 7:29 p.m. OK GNU C++20 (64) TESTS 138 15 0
140202321 sourav_patwal B Dec. 21, 2021, 7:39 p.m. OK GNU C++20 (64) TESTS 138 15 0
140213711 BaoJiaoPisu B Dec. 22, 2021, 1:31 a.m. OK GNU C++20 (64) TESTS 138 15 0
140219955 darkcoder_p2ditya B Dec. 22, 2021, 4:27 a.m. OK GNU C++20 (64) TESTS 138 15 0
140149634 graceoflives B Dec. 21, 2021, 9:50 a.m. OK Go TESTS 138 31 0
140148066 Takrimulalam B Dec. 21, 2021, 9:30 a.m. OK Go TESTS 138 31 102400
140213585 vipulm7 B Dec. 22, 2021, 1:28 a.m. OK Java 11 TESTS 138 171 0
140150293 sohamdas301 B Dec. 21, 2021, 9:57 a.m. OK Java 11 TESTS 138 186 0
140139739 chevish B Dec. 21, 2021, 7:57 a.m. OK Java 11 TESTS 138 186 0
140107086 vijender_8601 B Dec. 20, 2021, 7:18 p.m. OK Java 11 TESTS 138 187 0
140182791 JigarNainuji B Dec. 21, 2021, 3:54 p.m. OK Java 11 TESTS 138 187 0
140181855 mrudul4935 B Dec. 21, 2021, 3:45 p.m. OK Java 11 TESTS 138 187 0
140140218 chevish B Dec. 21, 2021, 8:03 a.m. OK Java 11 TESTS 138 187 0
140195588 Schorpioen B Dec. 21, 2021, 6:05 p.m. OK Java 11 TESTS 138 202 0
140217118 EuclidChess B Dec. 22, 2021, 3:17 a.m. OK Java 11 TESTS 138 202 0
140204142 kingku_sahu B Dec. 21, 2021, 8:13 p.m. OK Java 11 TESTS 138 202 0
140135818 solo07 B Dec. 21, 2021, 7:10 a.m. OK Java 8 TESTS 138 108 0
140204384 dshawish B Dec. 21, 2021, 8:18 p.m. OK Java 8 TESTS 138 109 0
140192339 realcoco B Dec. 21, 2021, 5:29 p.m. OK Java 8 TESTS 138 109 0
140192079 vivek_7777 B Dec. 21, 2021, 5:27 p.m. OK Java 8 TESTS 138 109 0
140163016 Vishnu750 B Dec. 21, 2021, 12:30 p.m. OK Java 8 TESTS 138 109 0
140157007 DangerousPeople B Dec. 21, 2021, 11:16 a.m. OK Java 8 TESTS 138 109 0
140159298 haridevelops B Dec. 21, 2021, 11:45 a.m. OK Java 8 TESTS 138 109 0
140135576 0xRmQu B Dec. 21, 2021, 7:07 a.m. OK Java 8 TESTS 138 109 0
140135870 H4wkylE B Dec. 21, 2021, 7:11 a.m. OK Java 8 TESTS 138 109 0
140213466 OBAD_HFS B Dec. 22, 2021, 1:23 a.m. OK Java 8 TESTS 138 109 0
140153718 TRR B Dec. 21, 2021, 10:37 a.m. OK Mono C# TESTS 138 46 0
140151089 dogoeswoof B Dec. 21, 2021, 10:07 a.m. OK MS C++ 2017 TESTS 138 15 0
140207374 heherin_ilya B Dec. 21, 2021, 9:23 p.m. OK MS C++ 2017 TESTS 138 15 0
140173892 xgk2006805yjy B Dec. 21, 2021, 2:25 p.m. OK MS C++ 2017 TESTS 138 15 0
140162405 Score12122 B Dec. 21, 2021, 12:23 p.m. OK MS C++ 2017 TESTS 138 15 0
140162134 lhcalphaA B Dec. 21, 2021, 12:20 p.m. OK MS C++ 2017 TESTS 138 15 0
140178502 Killer_No.47 B Dec. 21, 2021, 3:11 p.m. OK MS C++ 2017 TESTS 138 15 409600
140113407 bsherhj B Dec. 20, 2021, 9:19 p.m. OK MS C++ 2017 TESTS 138 30 0
140108262 codeache B Dec. 20, 2021, 7:36 p.m. OK MS C++ 2017 TESTS 138 31 0
140173026 AlexXDT2004 B Dec. 21, 2021, 2:17 p.m. OK MS C++ 2017 TESTS 138 31 0
140164515 A_Pier B Dec. 21, 2021, 12:47 p.m. OK MS C++ 2017 TESTS 138 109 1228800
140170704 Sanjit B Dec. 21, 2021, 1:54 p.m. OK .NET Core C# TESTS 138 93 0
140208107 Nidz05 B Dec. 21, 2021, 9:44 p.m. OK .NET Core C# TESTS 138 109 2969600
140109142 _SA B Dec. 20, 2021, 7:50 p.m. OK .NET Core C# TESTS 138 124 10752000
140181358 fort_ B Dec. 21, 2021, 3:40 p.m. OK Node.js TESTS 138 62 307200
140205999 wuerges B Dec. 21, 2021, 8:52 p.m. OK Node.js TESTS 138 93 2048000
140166720 osato B Dec. 21, 2021, 1:14 p.m. OK Node.js TESTS 138 904 26624000
140117693 OlavBakken B Dec. 20, 2021, 11:55 p.m. OK PyPy 2 TESTS 138 77 2355200
140171220 1_2_3_4_5_9 B Dec. 21, 2021, 2 p.m. OK PyPy 2 TESTS 138 139 8806400
140109153 Mrbeaches B Dec. 20, 2021, 7:50 p.m. OK PyPy 3 TESTS 138 77 1331200
140182946 NAMGAL B Dec. 21, 2021, 3:56 p.m. OK PyPy 3 TESTS 138 78 0
140112911 dwaraganathan15 B Dec. 20, 2021, 9:07 p.m. OK PyPy 3 TESTS 138 92 0
140162293 abcd1234dd51 B Dec. 21, 2021, 12:22 p.m. OK PyPy 3 TESTS 138 93 0
140122699 Mukundan425 B Dec. 21, 2021, 3:04 a.m. OK PyPy 3 TESTS 138 93 0
140202198 hxu10 B Dec. 21, 2021, 7:37 p.m. OK PyPy 3 TESTS 138 108 5632000
140218092 brosucks B Dec. 22, 2021, 3:40 a.m. OK PyPy 3 TESTS 138 109 4915200
140152952 _fuku_ B Dec. 21, 2021, 10:28 a.m. OK PyPy 3 TESTS 138 109 5529600
140159814 alterego_14 B Dec. 21, 2021, 11:52 a.m. OK PyPy 3 TESTS 138 124 9728000
140134063 Juanm1 B Dec. 21, 2021, 6:50 a.m. OK PyPy 3 TESTS 138 124 9932800
140150542 Chetan_Satpute B Dec. 21, 2021, 10 a.m. OK PyPy 3-64 TESTS 138 108 0
140125533 sanjusam10 B Dec. 21, 2021, 4:16 a.m. OK PyPy 3-64 TESTS 138 109 0
140198160 TheOldFool B Dec. 21, 2021, 6:35 p.m. OK PyPy 3-64 TESTS 138 109 0
140189702 gsvamsi18 B Dec. 21, 2021, 5:02 p.m. OK PyPy 3-64 TESTS 138 109 0
140152660 crazycth B Dec. 21, 2021, 10:24 a.m. OK PyPy 3-64 TESTS 138 109 0
140144398 sharingan000 B Dec. 21, 2021, 8:52 a.m. OK PyPy 3-64 TESTS 138 109 0
140142463 violist B Dec. 21, 2021, 8:29 a.m. OK PyPy 3-64 TESTS 138 109 0
140139239 Sukkaito B Dec. 21, 2021, 7:51 a.m. OK PyPy 3-64 TESTS 138 109 0
140120061 coder_bittu1 B Dec. 21, 2021, 1:39 a.m. OK PyPy 3-64 TESTS 138 109 0
140119900 rutz12 B Dec. 21, 2021, 1:33 a.m. OK PyPy 3-64 TESTS 138 109 0
140173843 imli_ka_boota B Dec. 21, 2021, 2:25 p.m. OK Python 2 TESTS 138 46 0
140216217 nero075 B Dec. 22, 2021, 2:52 a.m. OK Python 3 TESTS 138 46 0
140211987 danwlk B Dec. 22, 2021, 12:25 a.m. OK Python 3 TESTS 138 46 0
140180966 tarunrao963040 B Dec. 21, 2021, 3:36 p.m. OK Python 3 TESTS 138 46 0
140178221 Raad_shahamat B Dec. 21, 2021, 3:09 p.m. OK Python 3 TESTS 138 46 0
140154244 CoreXin B Dec. 21, 2021, 10:43 a.m. OK Python 3 TESTS 138 46 0
140138447 mihir111p B Dec. 21, 2021, 7:42 a.m. OK Python 3 TESTS 138 46 0
140136658 _AM B Dec. 21, 2021, 7:21 a.m. OK Python 3 TESTS 138 46 0
140118930 danhnganc3 B Dec. 21, 2021, 12:51 a.m. OK Python 3 TESTS 138 46 0
140154085 edusanketdk B Dec. 21, 2021, 10:41 a.m. OK Python 3 TESTS 138 46 0
140195979 PratickBhowmick B Dec. 21, 2021, 6:09 p.m. OK Python 3 TESTS 138 61 0
140181257 mx_maan B Dec. 21, 2021, 3:39 p.m. OK Rust 2021 TESTS 138 15 0
140220751 mtester B Dec. 22, 2021, 4:43 a.m. OK Rust 2021 TESTS 138 31 1024000

remove filters

Back to search problems