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 |
935
|
Codeforces Round 465 (Div. 2) |
FINISHED |
False |
7200 |
212765099 |
Feb. 19, 2018, 4:35 p.m. |
Problems
B"Fafa has an array A of n positive integers, the function f(A) is defined as . He wants to do q queries of two types: Note that queries of type 1 don't affect the array elements. The first line contains one integer n (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the length of the array. The second line contains n positive integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (0 xe2 x80 x89< xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the array elements. The third line contains an integer q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of queries. Then q lines follow, line i describes the i-th query and contains four integers ti xe2 x80 x89li xe2 x80 x89ri xe2 x80 x89xi . It is guaranteed that at least one of the queries is of type 1. For each query of type 1, print the answer to the query. "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
38880959 |
luogu_bot3 |
F |
June 2, 2018, 9:17 a.m. |
OK |
GNU C++ |
TESTS |
108 |
108 |
9728000 |
|
2800 |
38876293 |
luogu_bot2 |
F |
June 2, 2018, 6:50 a.m. |
OK |
GNU C++ |
TESTS |
108 |
108 |
9728000 |
|
2800 |
38873511 |
luogu_bot4 |
F |
June 2, 2018, 4:43 a.m. |
OK |
GNU C++ |
TESTS |
108 |
108 |
9728000 |
|
2800 |
38863531 |
luogu_bot4 |
F |
June 1, 2018, 6:04 p.m. |
OK |
GNU C++ |
TESTS |
108 |
108 |
9728000 |
|
2800 |
38876440 |
luogu_bot2 |
F |
June 2, 2018, 6:54 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
38876228 |
luogu_bot1 |
F |
June 2, 2018, 6:49 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
38876094 |
luogu_bot3 |
F |
June 2, 2018, 6:45 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
38875965 |
luogu_bot3 |
F |
June 2, 2018, 6:39 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
38875640 |
luogu_bot2 |
F |
June 2, 2018, 6:24 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
38875597 |
luogu_bot1 |
F |
June 2, 2018, 6:21 a.m. |
OK |
GNU C++ |
TESTS |
108 |
109 |
9728000 |
|
2800 |
36237466 |
BeNoble |
F |
March 13, 2018, 2:18 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
93 |
8294400 |
|
2800 |
36237488 |
BeNoble |
F |
March 13, 2018, 2:20 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
108 |
8294400 |
|
2800 |
42325424 |
luogu_bot5 |
F |
Sept. 1, 2018, 4:38 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
109 |
6246400 |
|
2800 |
42325417 |
fks20011206 |
F |
Sept. 1, 2018, 4:38 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
109 |
6246400 |
|
2800 |
35519555 |
wang9897 |
F |
Feb. 20, 2018, 11:30 a.m. |
OK |
GNU C++11 |
TESTS |
104 |
109 |
10035200 |
|
2800 |
61833229 |
Frame233 |
F |
Oct. 4, 2019, 7:11 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
124 |
5632000 |
|
2800 |
49772396 |
07_2018 |
F |
Feb. 11, 2019, 2:07 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
124 |
7270400 |
|
2800 |
49772269 |
07_2018 |
F |
Feb. 11, 2019, 2:04 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
124 |
7270400 |
|
2800 |
35496315 |
yancouto |
F |
Feb. 19, 2018, 6:05 p.m. |
OK |
GNU C++11 |
TESTS |
104 |
124 |
14643200 |
|
2800 |
36986607 |
__Ressed__ |
F |
April 5, 2018, 3:27 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
140 |
19763200 |
|
2800 |
35909016 |
562225807 |
F |
March 4, 2018, 7:12 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
187 |
6656000 |
|
2800 |
35913987 |
562225807 |
F |
March 4, 2018, 9:01 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
6656000 |
|
2800 |
35909198 |
562225807 |
F |
March 4, 2018, 7:22 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
6656000 |
|
2800 |
35909184 |
562225807 |
F |
March 4, 2018, 7:21 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
6656000 |
|
2800 |
37014811 |
walht |
F |
April 6, 2018, 7:10 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
7372800 |
|
2800 |
35985180 |
JHSN |
F |
March 6, 2018, 8:23 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
10649600 |
|
2800 |
35984688 |
JHSN |
F |
March 6, 2018, 8:01 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
202 |
10649600 |
|
2800 |
35909060 |
562225807 |
F |
March 4, 2018, 7:14 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
217 |
6656000 |
|
2800 |
35561734 |
krijgertje |
F |
Feb. 21, 2018, 11:49 p.m. |
OK |
GNU C++14 |
TESTS |
104 |
217 |
7884800 |
|
2800 |
41081738 |
booknu |
F |
Aug. 1, 2018, 12:18 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
218 |
2355200 |
|
2800 |
35981637 |
LiChenKoh |
F |
March 6, 2018, 5:13 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
93 |
6451200 |
|
2800 |
40977672 |
ReaLNero1 |
F |
July 30, 2018, 4:18 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
108 |
4403200 |
|
2800 |
42089787 |
zhaimingshuzms |
F |
Aug. 25, 2018, 12:37 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
171 |
2969600 |
|
2800 |
68084488 |
hjk1030 |
F |
Jan. 2, 2020, 3:40 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
186 |
4812800 |
|
2800 |
35503983 |
TerenceLiu |
F |
Feb. 19, 2018, 8:05 p.m. |
OK |
GNU C++17 |
TESTS |
104 |
187 |
4300800 |
|
2800 |
44952099 |
vjudge2 |
F |
Oct. 27, 2018, 12:35 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
187 |
5017600 |
|
2800 |
35673839 |
kobae964 |
F |
Feb. 25, 2018, 9:17 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
202 |
5632000 |
|
2800 |
60525227 |
AM. |
F |
Sept. 14, 2019, 10:05 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
249 |
5632000 |
|
2800 |
37363612 |
deadRabbit |
F |
April 16, 2018, 1:42 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
249 |
19456000 |
|
2800 |
35555306 |
Georgia_001 |
F |
Feb. 21, 2018, 5:26 p.m. |
OK |
GNU C++17 |
TESTS |
104 |
265 |
27955200 |
|
2800 |
35503111 |
uwi |
F |
Feb. 19, 2018, 7:49 p.m. |
OK |
Java 8 |
TESTS |
104 |
249 |
21094400 |
|
2800 |
35985265 |
dalt |
F |
March 6, 2018, 8:27 a.m. |
OK |
Java 8 |
TESTS |
108 |
685 |
43929600 |
|
2800 |
remove filters
Back to search problems