EPIC Institute of Technology Round Summer 2024 (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
1987 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) FINISHED False 10800 17421863 June 30, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1071 ) F2 Interesting Problem (Hard Version) PROGRAMMING dp

B'This is the hard version of the problem. The only difference between the two versions is the constraint on n . You can make hacks only if both versions of the problem are solved. You are given an array of integers a of length n . In one operation, you will perform the following two-step process: Find the maximum number of times that you can perform the operation above. Each test contains multiple test cases. The first line of input contains a single integer t ( 1 <= t <= 100 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains a single integer n ( 1 <= n <= 800 ) -- the length of the array a . The second line of each test case contains n integers a_1, a_2, ldots, a_n ( 1 <= a_i <= n ) -- the elements of the array a . It is guaranteed that the sum of n over all test cases does not exceed 800 . For each test case, output a single integer -- the maximum number of times that you can perform the operation. In the first test case, one possible optimal sequence of operations is [ 1, 5, color{red}{3}, color{red}{2}, 4 ] rightarrow [ color{red}{1}, color{red}{5}, 4] rightarrow [4] . In the third test case, one possible optimal sequence of operations is [1, color{red}{2}, color{red}{3}] rightarrow [1] . '...

Tutorials

EPIC Institute of Technology Round Summer 2024 (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
268260684 BINYU F2 July 1, 2024, 4:18 a.m. OK C++14 (GCC 6-32) TESTS 46 78 2662400
268238578 Celebrate F2 June 30, 2024, 9:25 p.m. OK C++14 (GCC 6-32) TESTS 46 93 716800
268269911 chenrui9551 F2 July 1, 2024, 6:01 a.m. OK C++14 (GCC 6-32) TESTS 46 93 3481600
268255412 shiqingbaiya666 F2 July 1, 2024, 3:11 a.m. OK C++14 (GCC 6-32) TESTS 46 93 4096000
268253630 hqmm F2 July 1, 2024, 2:46 a.m. OK C++14 (GCC 6-32) TESTS 46 109 2662400
268215286 _doctorZ F2 June 30, 2024, 5:20 p.m. OK C++14 (GCC 6-32) TESTS 46 109 2764800
268266516 cjh_hhz F2 July 1, 2024, 5:29 a.m. OK C++14 (GCC 6-32) TESTS 46 109 3379200
268212865 ImmortaLimit F2 June 30, 2024, 5:13 p.m. OK C++14 (GCC 6-32) TESTS 46 109 19456000
268247915 ab1aze F2 July 1, 2024, 1:02 a.m. OK C++14 (GCC 6-32) TESTS 46 124 2662400
268209531 jinqihao2026 F2 June 30, 2024, 5:02 p.m. OK C++14 (GCC 6-32) TESTS 46 125 5222400
268248240 GALA F2 July 1, 2024, 1:09 a.m. OK C++17 (GCC 7-32) TESTS 46 93 0
268233411 Sorting F2 June 30, 2024, 8:08 p.m. OK C++17 (GCC 7-32) TESTS 46 93 2662400
268216520 SpinSpen F2 June 30, 2024, 5:24 p.m. OK C++17 (GCC 7-32) TESTS 46 108 0
268248559 GALA F2 July 1, 2024, 1:15 a.m. OK C++17 (GCC 7-32) TESTS 46 109 0
268227454 Imagine.2019 F2 June 30, 2024, 6:55 p.m. OK C++17 (GCC 7-32) TESTS 46 109 0
268254095 pigpigger F2 July 1, 2024, 2:52 a.m. OK C++17 (GCC 7-32) TESTS 46 109 2662400
268268884 Luca F2 July 1, 2024, 5:52 a.m. OK C++17 (GCC 7-32) TESTS 46 109 2662400
268252105 NKheyuxiang F2 July 1, 2024, 2:21 a.m. OK C++17 (GCC 7-32) TESTS 46 109 2662400
268212429 Andreasyan F2 June 30, 2024, 5:11 p.m. OK C++17 (GCC 7-32) TESTS 46 124 2560000
268242235 tfgs F2 June 30, 2024, 10:43 p.m. OK C++17 (GCC 7-32) TESTS 46 124 2560000
268246658 kaiboy F2 July 1, 2024, 12:33 a.m. OK C++20 (GCC 13-64) TESTS 46 62 2560000
268264659 yemuzhe F2 July 1, 2024, 5:07 a.m. OK C++20 (GCC 13-64) TESTS 46 77 2560000
268240941 lightseba F2 June 30, 2024, 10:14 p.m. OK C++20 (GCC 13-64) TESTS 46 77 2560000
268264041 5toubun_no_hanayome F2 July 1, 2024, 4:59 a.m. OK C++20 (GCC 13-64) TESTS 46 77 2662400
268224970 defnotmee F2 June 30, 2024, 6:35 p.m. OK C++20 (GCC 13-64) TESTS 46 77 5324800
268252492 iscunoya F2 July 1, 2024, 2:28 a.m. OK C++20 (GCC 13-64) TESTS 46 78 0
268252961 Retired_Isaunoya F2 July 1, 2024, 2:35 a.m. OK C++20 (GCC 13-64) TESTS 46 78 0
268234900 BlueDiamond F2 June 30, 2024, 8:28 p.m. OK C++20 (GCC 13-64) TESTS 46 92 2662400
268225254 superyijin_txdy F2 June 30, 2024, 6:36 p.m. OK C++20 (GCC 13-64) TESTS 46 92 6348800
268244479 pperm F2 June 30, 2024, 11:40 p.m. OK C++20 (GCC 13-64) TESTS 46 93 0
268217891 KumaTachiRen F2 June 30, 2024, 5:28 p.m. OK C# 8 TESTS 46 608 7577600
268237800 rainboy F2 June 30, 2024, 9:12 p.m. OK GNU C11 TESTS 46 77 2662400
268226595 omeganot F2 June 30, 2024, 6:46 p.m. OK Java 8 TESTS 46 546 39014400
268244788 profchi F2 June 30, 2024, 11:49 p.m. OK Java 8 TESTS 46 827 0
268231436 focus_2024 F2 June 30, 2024, 7:44 p.m. OK PyPy 3-64 TESTS 46 546 15769600
268267608 focus_2024 F2 July 1, 2024, 5:40 a.m. OK PyPy 3-64 TESTS 46 827 15052800
268231901 focus_2024 F2 June 30, 2024, 7:49 p.m. OK PyPy 3-64 TESTS 46 905 15769600
268230480 focus_2024 F2 June 30, 2024, 7:33 p.m. OK PyPy 3-64 TESTS 46 921 15052800
268239276 M1ngXu F2 June 30, 2024, 9:39 p.m. OK Rust 2021 TESTS 46 249 1843200

remove filters

Back to search problems