Pinely Round 1 (Div. 1 + 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
1761 Pinely Round 1 (Div. 1 + Div. 2) FINISHED False 9000 68225063 Nov. 20, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 21341 ) A Two Permutations PROGRAMMING brute force constructive algorithms

B'You are given three integers n , a , and b . Determine if there exist two permutations p and q of length n , for which the following conditions hold: A permutation of length n is an array containing each integer from 1 to n exactly once. For example, [2,3,1,5,4] is a permutation, but [1,2,2] is not a permutation ( 2 appears twice in the array), and [1,3,4] is also not a permutation ( n=3 but there is 4 in the array). Each test contains multiple test cases. The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The description of test cases follows. The only line of each test case contains three integers n , a , and b ( 1 <= q a,b <= q n <= q 100 ). For each test case, if such a pair of permutations exists, output "Yes"; otherwise, output "No". You can output each letter in any case (upper or lower). In the first test case, [1] and [1] form a valid pair. In the second test case and the third case, we can show that such a pair of permutations doesn 't exist. In the fourth test case, [1,2,3,4] and [1,3,2,4] form a valid pair. '...

Tutorials

Pinely Round 1 (Div. 1 + Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
181831567 GianKuhz A Nov. 21, 2022, 1:09 a.m. OK Clang++17 Diagnostics TESTS 3 15 0
181837470 Interested A Nov. 21, 2022, 3:37 a.m. OK GNU C11 TESTS 3 46 0
181800332 zunaed4014 A Nov. 20, 2022, 4:58 p.m. OK GNU C11 TESTS 3 46 0
181805860 SP2003 A Nov. 20, 2022, 5:53 p.m. OK GNU C11 TESTS 3 46 0
181814618 Mushfiqur_ A Nov. 20, 2022, 7:16 p.m. OK GNU C11 TESTS 3 46 0
181817027 iffatul_anon A Nov. 20, 2022, 7:45 p.m. OK GNU C11 TESTS 3 46 0
181841386 Cloud09 A Nov. 21, 2022, 5:04 a.m. OK GNU C11 TESTS 3 46 0
181788954 Jahidul_CSE A Nov. 20, 2022, 4:08 p.m. OK GNU C11 TESTS 3 46 0
181791264 alamin20cse A Nov. 20, 2022, 4:18 p.m. OK GNU C11 TESTS 3 46 0
181792413 James_Dou A Nov. 20, 2022, 4:23 p.m. OK GNU C11 TESTS 3 46 0
181794533 Utpal_mohanta024 A Nov. 20, 2022, 4:32 p.m. OK GNU C11 TESTS 3 46 0
181834430 myee A Nov. 21, 2022, 2:27 a.m. OK GNU C++14 TESTS 3 0 0
181830505 hbhhbhhbh A Nov. 21, 2022, 12:38 a.m. OK GNU C++14 TESTS 3 0 0
181829819 pref_ctrl27 A Nov. 21, 2022, 12:17 a.m. OK GNU C++14 TESTS 3 0 0
181785409 zhangjia A Nov. 20, 2022, 3:55 p.m. OK GNU C++14 TESTS 3 0 0
181836047 minhnhatmn16 A Nov. 21, 2022, 3:03 a.m. OK GNU C++14 TESTS 3 0 0
181829598 Rice_porridge A Nov. 21, 2022, 12:10 a.m. OK GNU C++14 TESTS 3 0 1024000
181840232 Nerovix A Nov. 21, 2022, 4:40 a.m. OK GNU C++14 TESTS 3 15 0
181841782 _Ahmad_ A Nov. 21, 2022, 5:13 a.m. OK GNU C++14 TESTS 3 15 0
181842742 TheDev05 A Nov. 21, 2022, 5:32 a.m. OK GNU C++14 TESTS 3 15 0
181844386 linyihdfj A Nov. 21, 2022, 6:02 a.m. OK GNU C++14 TESTS 3 15 0
181843189 TTNhan A Nov. 21, 2022, 5:41 a.m. OK GNU C++17 TESTS 3 0 0
181844138 kuaileshiwo A Nov. 21, 2022, 5:58 a.m. OK GNU C++17 TESTS 3 0 0
181839582 DBZQ-SC A Nov. 21, 2022, 4:26 a.m. OK GNU C++17 TESTS 3 0 0
181838254 shashankssk555 A Nov. 21, 2022, 3:55 a.m. OK GNU C++17 TESTS 3 0 0
181835504 pranjalcoolagarwal A Nov. 21, 2022, 2:51 a.m. OK GNU C++17 TESTS 3 0 0
181833101 lvvqiao A Nov. 21, 2022, 1:53 a.m. OK GNU C++17 TESTS 3 0 0
181831507 cr1515 A Nov. 21, 2022, 1:07 a.m. OK GNU C++17 TESTS 3 0 0
181832295 Mkswll A Nov. 21, 2022, 1:30 a.m. OK GNU C++17 TESTS 3 0 0
181840543 explorer2001 A Nov. 21, 2022, 4:46 a.m. OK GNU C++17 TESTS 3 0 0
181843036 rishiagarwal01 A Nov. 21, 2022, 5:38 a.m. OK GNU C++17 TESTS 3 0 0
181790459 Hello_world123_12 A Nov. 20, 2022, 4:14 p.m. OK GNU C++17 (64) TESTS 3 0 0
181789199 animay620 A Nov. 20, 2022, 4:09 p.m. OK GNU C++17 (64) TESTS 3 0 0
181814608 bruhforces_v2 A Nov. 20, 2022, 7:16 p.m. OK GNU C++17 (64) TESTS 3 0 0
181806922 oh_TLE_god A Nov. 20, 2022, 6 p.m. OK GNU C++17 (64) TESTS 3 0 0
181805918 Aniket_Joarder A Nov. 20, 2022, 5:53 p.m. OK GNU C++17 (64) TESTS 3 0 0
181830526 pursuit_of_happiness A Nov. 21, 2022, 12:39 a.m. OK GNU C++17 (64) TESTS 3 0 0
181829912 emptyhope A Nov. 21, 2022, 12:20 a.m. OK GNU C++17 (64) TESTS 3 0 0
181837570 Akramzhan-K-007-25 A Nov. 21, 2022, 3:39 a.m. OK GNU C++17 (64) TESTS 3 0 1638400
181841581 fahadkabir123 A Nov. 21, 2022, 5:08 a.m. OK GNU C++17 (64) TESTS 3 15 0
181843631 ChenKaifeng A Nov. 21, 2022, 5:49 a.m. OK GNU C++17 (64) TESTS 3 15 0
181839099 lengli_text A Nov. 21, 2022, 4:14 a.m. OK GNU C++20 (64) TESTS 3 0 0
181843214 aryan1602 A Nov. 21, 2022, 5:41 a.m. OK GNU C++20 (64) TESTS 3 0 0
181841984 akt617 A Nov. 21, 2022, 5:17 a.m. OK GNU C++20 (64) TESTS 3 0 0
181841090 hy0uka A Nov. 21, 2022, 4:58 a.m. OK GNU C++20 (64) TESTS 3 0 0
181840758 plus._.minus A Nov. 21, 2022, 4:50 a.m. OK GNU C++20 (64) TESTS 3 0 0
181840588 wellerency A Nov. 21, 2022, 4:47 a.m. OK GNU C++20 (64) TESTS 3 0 0
181838274 rakshith21mohan A Nov. 21, 2022, 3:55 a.m. OK GNU C++20 (64) TESTS 3 0 0
181837795 TranLoc A Nov. 21, 2022, 3:45 a.m. OK GNU C++20 (64) TESTS 3 0 0
181837728 Yucy A Nov. 21, 2022, 3:43 a.m. OK GNU C++20 (64) TESTS 3 0 0
181837565 Kaztaev_Alisher A Nov. 21, 2022, 3:39 a.m. OK GNU C++20 (64) TESTS 3 0 0
181801513 insert_cool_handle A Nov. 20, 2022, 5:03 p.m. OK Java 11 TESTS 3 171 0
181816423 Vegeks A Nov. 20, 2022, 7:38 p.m. OK Java 11 TESTS 3 186 0
181826813 Leenelmir A Nov. 20, 2022, 10:40 p.m. OK Java 11 TESTS 3 202 0
181826514 duped321 A Nov. 20, 2022, 10:32 p.m. OK Java 11 TESTS 3 218 0
181836267 aditya2024 A Nov. 21, 2022, 3:08 a.m. OK Java 11 TESTS 3 234 0
181806153 pankajsha584 A Nov. 20, 2022, 5:55 p.m. OK Java 11 TESTS 3 248 0
181826343 duped321 A Nov. 20, 2022, 10:28 p.m. OK Java 11 TESTS 3 295 0
181842494 Saw_you A Nov. 21, 2022, 5:27 a.m. OK Java 11 TESTS 3 296 0
181840203 pisces_17 A Nov. 21, 2022, 4:40 a.m. OK Java 11 TESTS 3 296 0
181810324 Tausiq A Nov. 20, 2022, 6:30 p.m. OK Java 11 TESTS 3 296 0
181843593 daemon404 A Nov. 21, 2022, 5:48 a.m. OK Java 17 TESTS 3 139 8396800
181819547 Mamimi A Nov. 20, 2022, 8:19 p.m. OK Java 17 TESTS 3 156 614400
181800761 Yo_Yo_HoneySingh A Nov. 20, 2022, 5 p.m. OK Java 17 TESTS 3 170 204800
181840001 sharadtandale2878 A Nov. 21, 2022, 4:36 a.m. OK Java 17 TESTS 3 187 0
181806368 MrPerson A Nov. 20, 2022, 5:56 p.m. OK Java 17 TESTS 3 218 0
181843957 daemon404 A Nov. 21, 2022, 5:55 a.m. OK Java 17 TESTS 3 218 8499200
181816113 ankansad_003 A Nov. 20, 2022, 7:34 p.m. OK Java 17 TESTS 3 249 307200
181844375 thatsiddharth A Nov. 21, 2022, 6:02 a.m. OK Java 17 TESTS 3 264 0
181806889 Vas1l1y A Nov. 20, 2022, 6 p.m. OK Java 17 TESTS 3 264 614400
181841967 piyushaggarwal20903 A Nov. 21, 2022, 5:16 a.m. OK Java 17 TESTS 3 265 307200
181838494 youtsuha A Nov. 21, 2022, 4 a.m. OK Java 8 TESTS 3 93 0
181787065 guinnod A Nov. 20, 2022, 4:01 p.m. OK Java 8 TESTS 3 93 0
181841695 Mohammad_Anwar A Nov. 21, 2022, 5:11 a.m. OK Java 8 TESTS 3 108 0
181820405 mohamedhassan_c A Nov. 20, 2022, 8:31 p.m. OK Java 8 TESTS 3 108 0
181806098 OmarKenawi A Nov. 20, 2022, 5:54 p.m. OK Java 8 TESTS 3 108 0
181805981 Juhaied_nabid A Nov. 20, 2022, 5:54 p.m. OK Java 8 TESTS 3 140 0
181809586 ahmedTarek28 A Nov. 20, 2022, 6:23 p.m. OK Java 8 TESTS 3 155 0
181841239 iamJatinYadav A Nov. 21, 2022, 5:01 a.m. OK Java 8 TESTS 3 171 0
181786877 Arshynbek A Nov. 20, 2022, 4 p.m. OK Java 8 TESTS 3 171 0
181814842 Amandubey007 A Nov. 20, 2022, 7:19 p.m. OK Java 8 TESTS 3 187 0
181794295 Faber A Nov. 20, 2022, 4:31 p.m. OK Kotlin 1.6 TESTS 3 296 0
181794875 staryarych A Nov. 20, 2022, 4:33 p.m. OK MS C++ 2017 TESTS 3 46 0
181809370 Prusov_nkt A Nov. 20, 2022, 6:21 p.m. OK MS C++ 2017 TESTS 3 77 0
181791409 adpanagiotidis A Nov. 20, 2022, 4:18 p.m. OK PHP TESTS 3 31 0
181839180 sw_enthusiast A Nov. 21, 2022, 4:16 a.m. OK PyPy 3 TESTS 3 140 69632000
181807061 Yash_Nandwana A Nov. 20, 2022, 6:02 p.m. OK PyPy 3 TESTS 3 171 4812800
181823286 bpdolson A Nov. 20, 2022, 9:21 p.m. OK PyPy 3 TESTS 3 264 6451200
181805499 34z12000 A Nov. 20, 2022, 5:51 p.m. OK PyPy 3 TESTS 3 280 5529600
181808486 WalrusRamen21 A Nov. 20, 2022, 6:13 p.m. OK PyPy 3 TESTS 3 405 5836800
181811470 Nabeel_Ismaeel A Nov. 20, 2022, 6:41 p.m. OK PyPy 3-64 TESTS 3 92 4096000
181833303 Varad2002 A Nov. 21, 2022, 1:58 a.m. OK PyPy 3-64 TESTS 3 93 6860800
181809588 generalPurpose A Nov. 20, 2022, 6:23 p.m. OK PyPy 3-64 TESTS 3 108 6348800
181794780 mo-hit A Nov. 20, 2022, 4:33 p.m. OK PyPy 3-64 TESTS 3 109 6041600
181808141 SangeetaSingh A Nov. 20, 2022, 6:10 p.m. OK PyPy 3-64 TESTS 3 124 7577600
181813657 dunkin_shepherd A Nov. 20, 2022, 7:05 p.m. OK PyPy 3-64 TESTS 3 140 9113600
181832685 Little_Sheep_Yawn A Nov. 21, 2022, 1:41 a.m. OK PyPy 3-64 TESTS 3 186 10649600
181806150 cholebhature A Nov. 20, 2022, 5:55 p.m. OK PyPy 3-64 TESTS 3 187 6758400
181817755 TotaOtaharada A Nov. 20, 2022, 7:54 p.m. OK PyPy 3-64 TESTS 3 187 7577600
181814928 dwen A Nov. 20, 2022, 7:20 p.m. OK PyPy 3-64 TESTS 3 202 6963200
181828452 uzzam A Nov. 20, 2022, 11:33 p.m. OK Python 3 TESTS 3 61 0
181808448 unknown-user A Nov. 20, 2022, 6:12 p.m. OK Python 3 TESTS 3 61 102400
181817344 eugalt A Nov. 20, 2022, 7:49 p.m. OK Python 3 TESTS 3 62 307200
181799203 longvb48 A Nov. 20, 2022, 4:53 p.m. OK Python 3 TESTS 3 77 307200
181819572 yash_mangal A Nov. 20, 2022, 8:20 p.m. OK Python 3 TESTS 3 93 0
181809045 MadRat_0 A Nov. 20, 2022, 6:18 p.m. OK Python 3 TESTS 3 93 0
181840579 raam27 A Nov. 21, 2022, 4:47 a.m. OK Python 3 TESTS 3 108 0
181810421 VijayGupta09 A Nov. 20, 2022, 6:31 p.m. OK Python 3 TESTS 3 108 0
181808503 Alouchte A Nov. 20, 2022, 6:13 p.m. OK Python 3 TESTS 3 108 0
181808180 Alouchte A Nov. 20, 2022, 6:10 p.m. OK Python 3 TESTS 3 108 0

remove filters

Back to search problems