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 |
---|---|---|---|---|---|---|
1545 | Codeforces Round 732 (Div. 1) | FINISHED | False | 9000 | 111167663 | July 11, 2021, 2:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 111 ) | F | AquaMoon and Potatoes | PROGRAMMING | brute force data structures dp | 3500 |
B'AquaMoon has three integer arrays a , b , c of length n , where 1 <= q a_i, b_i, c_i <= q n for all i . In order to accelerate her potato farming, she organizes her farm in a manner based on these three arrays. She is now going to complete m operations to count how many potatoes she can get. Each operation will have one of the two types: As AquaMoon is busy finding the library, help her complete all of their operations. The first line contains two integers n , m ( 1 <= n <= 2 cdot10^5 , 1 <= m <= 5 cdot10^4 ). The second line contains n integers a_1, a_2, ... ,a_n ( 1 <= a_i <= n ). The third line contains n integers b_1, b_2, ... ,b_n ( 1 <= b_i <= n ). The fourth line contains n integers c_1, c_2, ... ,c_n ( 1 <= c_i <= n ). The next m lines describe operations, the i -th line describes the i -th operation in one of these two formats: It is guaranteed that there is at least one operation of the second type. For each operation of the second type print the answer. For the first operation, the triplets are: There is no satisfying triplet for the third operation. For the fourth operation, the triplets are: '... |
Codeforces Round #732 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
122142997 | rainboy | F | July 11, 2021, 7:32 p.m. | OK | GNU C11 | TESTS | 216 | 6941 | 30924800 | 3500 | |
122169331 | caoyue | F | July 12, 2021, 4:55 a.m. | OK | GNU C++11 | TESTS | 216 | 6988 | 56422400 | 3500 | |
122138389 | Radewoosh | F | July 11, 2021, 6:17 p.m. | OK | GNU C++14 | TESTS | 216 | 6629 | 192716800 | 3500 | |
122159249 | QAQAutoMaton | F | July 12, 2021, 1:50 a.m. | OK | GNU C++17 (64) | TESTS | 216 | 3727 | 535961600 | 3500 | |
122166625 | You_Know_DP | F | July 12, 2021, 4:09 a.m. | OK | GNU C++17 (64) | TESTS | 216 | 3727 | 535961600 | 3500 | |
122154172 | Forever_Pursuit | F | July 11, 2021, 11:21 p.m. | OK | GNU C++17 (64) | TESTS | 216 | 6458 | 536576000 | 3500 | |
122172342 | sh1194 | F | July 12, 2021, 5:41 a.m. | OK | GNU C++17 (64) | TESTS | 216 | 6551 | 536576000 | 3500 | |
122143621 | rainboy | F | July 11, 2021, 7:45 p.m. | OK | GNU C++17 (64) | TESTS | 216 | 6582 | 23040000 | 3500 | |
122172271 | sh1194 | F | July 12, 2021, 5:39 a.m. | OK | GNU C++17 (64) | TESTS | 216 | 6707 | 536576000 | 3500 | |
122143306 | rainboy | F | July 11, 2021, 7:39 p.m. | OK | GNU C++17 (64) | TESTS | 216 | 6739 | 23040000 | 3500 | |
122147603 | Benq | F | July 11, 2021, 9:17 p.m. | OK | GNU C++17 (64) | TESTS | 216 | 6832 | 28672000 | 3500 | |
122143130 | rainboy | F | July 11, 2021, 7:35 p.m. | OK | GNU C++17 (64) | TESTS | 216 | 6895 | 31436800 | 3500 | |
122158393 | ecnerwala | F | July 12, 2021, 1:32 a.m. | OK | GNU C++17 (64) | TESTS | 216 | 6941 | 57241600 | 3500 |
Back to search problems