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 |
---|---|---|---|---|---|---|
1252 | 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 165292187 | Oct. 27, 2019, 3:30 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1882 ) | K | Addition Robot | PROGRAMMING | data structures math matrices | 2200 |
B'Adding two numbers several times is a time-consuming task, so you want to build a robot. The robot should have a string S = S_1 S_2 ... S_N of N characters on its memory that represents addition instructions. Each character of the string, S_i , is either 'A ' or 'B '. You want to be able to give Q commands to the robot, each command is either of the following types: You want to implement the robot 's expected behavior. Input begins with a line containing two integers: N Q ( 1 <= N, Q <= 100 ,000 ) representing the number of characters in the robot 's memory and the number of commands, respectively. The next line contains a string S containing N characters (each either 'A ' or 'B ') representing the initial string in the robot 's memory. The next Q lines each contains a command of the following types. For each command of the second type in the same order as input, output in a line two integers (separated by a single space), the value of A and B returned by f(L, R, A, B) , respectively. As this output can be large, you need to modulo the output by 1 ,000 ,000 ,007 . Explanation for the sample input/output #1 For the first command, calling f(L, R, A, B) causes the following: For the second command, string S will be updated to "ABBBB". For the third command, the value of A will always be 0 and the value of B will always be 1 ,000 ,000 ,000 . Therefore, f(L, R, A, B) will return (0, 1 ,000 ,000 ,000) . '... |
T |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
65951660 | 453908766 | K | Nov. 29, 2019, 11:08 a.m. | OK | Clang++17 Diagnostics | TESTS | 29 | 2011 | 7270400 | 2200 | |
63650901 | YOK | K | Oct. 28, 2019, 11:21 a.m. | OK | GNU C11 | TESTS | 29 | 1388 | 52326400 | 2200 | |
65164205 | Coming | K | Nov. 16, 2019, 12:38 p.m. | OK | GNU C++11 | TESTS | 29 | 217 | 8089600 | 2200 | |
64128474 | 1234567891 dsvkljd yrz | K | Nov. 3, 2019, 5:55 a.m. | OK | GNU C++11 | TESTS | 29 | 218 | 6963200 | 2200 | |
63911672 | tyler178 | K | Oct. 31, 2019, 8:32 a.m. | OK | GNU C++11 | TESTS | 29 | 233 | 14540800 | 2200 | |
63897444 | FairyHiweibolu zht111 Tommyr7 | K | Oct. 31, 2019, 3:02 a.m. | OK | GNU C++11 | TESTS | 29 | 249 | 8089600 | 2200 | |
63564103 | Prabowo | K | Oct. 27, 2019, 3:17 p.m. | OK | GNU C++11 | TESTS | 29 | 265 | 8089600 | 2200 | |
67416652 | arshad2117 | K | Dec. 22, 2019, 10:07 a.m. | OK | GNU C++11 | TESTS | 29 | 265 | 8089600 | 2200 | |
64731683 | AkaiLemon | K | Nov. 12, 2019, 8:41 a.m. | OK | GNU C++11 | TESTS | 29 | 265 | 16588800 | 2200 | |
63532009 | more-981630 tanxi tiantp | K | Oct. 27, 2019, 6:59 a.m. | OK | GNU C++11 | TESTS | 29 | 265 | 32153600 | 2200 | |
64619189 | wu_qing chentong Anoxiacxy | K | Nov. 10, 2019, 6:14 a.m. | OK | GNU C++11 | TESTS | 29 | 280 | 6758400 | 2200 | |
66166348 | WZYYN | K | Dec. 2, 2019, 7:49 a.m. | OK | GNU C++11 | TESTS | 29 | 280 | 14540800 | 2200 | |
63526652 | shdut | K | Oct. 27, 2019, 5:27 a.m. | OK | GNU C++14 | TESTS | 29 | 234 | 8089600 | 2200 | |
63530531 | xb0nS | K | Oct. 27, 2019, 6:35 a.m. | OK | GNU C++14 | TESTS | 29 | 249 | 6963200 | 2200 | |
64126967 | ctlchild kqp PureWhite | K | Nov. 3, 2019, 5:17 a.m. | OK | GNU C++14 | TESTS | 29 | 265 | 13312000 | 2200 | |
68667292 | tzaph_ | K | Jan. 12, 2020, 3:35 p.m. | OK | GNU C++14 | TESTS | 29 | 280 | 8192000 | 2200 | |
63527208 | 224 sg-61 vamsi3 | K | Oct. 27, 2019, 5:37 a.m. | OK | GNU C++14 | TESTS | 29 | 280 | 8294400 | 2200 | |
63635560 | Scut82 | K | Oct. 28, 2019, 8:07 a.m. | OK | GNU C++14 | TESTS | 29 | 280 | 11468800 | 2200 | |
63533584 | willingox whdsunny kytxdy | K | Oct. 27, 2019, 7:25 a.m. | OK | GNU C++14 | TESTS | 29 | 280 | 16179200 | 2200 | |
63646524 | 2683331518 | K | Oct. 28, 2019, 9:54 a.m. | OK | GNU C++14 | TESTS | 29 | 295 | 13312000 | 2200 | |
64577043 | NoTeamName | K | Nov. 9, 2019, 11:02 a.m. | OK | GNU C++14 | TESTS | 29 | 295 | 16179200 | 2200 | |
64567716 | bdzxt mmh zhushaoben | K | Nov. 9, 2019, 8:08 a.m. | OK | GNU C++14 | TESTS | 29 | 295 | 16179200 | 2200 | |
66682184 | Fortin | K | Dec. 12, 2019, 1:31 p.m. | OK | GNU C++17 | TESTS | 29 | 249 | 7065600 | 2200 | |
63522830 | edisonhello skylinebaby waynetuinfor | K | Oct. 27, 2019, 4:20 a.m. | OK | GNU C++17 | TESTS | 29 | 249 | 8089600 | 2200 | |
63917350 | H4XeO6 runfeng1998 aircat | K | Oct. 31, 2019, 10:31 a.m. | OK | GNU C++17 | TESTS | 29 | 249 | 18534400 | 2200 | |
63523528 | ffao | K | Oct. 27, 2019, 4:33 a.m. | OK | GNU C++17 | TESTS | 29 | 265 | 8601600 | 2200 | |
63901816 | RUSH_D_CAT F0_0H sdcgvhgj | K | Oct. 31, 2019, 4:59 a.m. | OK | GNU C++17 | TESTS | 29 | 265 | 14540800 | 2200 | |
64434159 | return-drg | K | Nov. 6, 2019, 11:56 p.m. | OK | GNU C++17 | TESTS | 29 | 265 | 16486400 | 2200 | |
63729232 | bitetheDDDDt | K | Oct. 29, 2019, 1:33 p.m. | OK | GNU C++17 | TESTS | 29 | 280 | 14540800 | 2200 | |
63850574 | clyde420 therealorange errorgorn | K | Oct. 30, 2019, 3:36 p.m. | OK | GNU C++17 | TESTS | 29 | 280 | 14745600 | 2200 | |
63903661 | swust5120170583 swust5120175184 swust5120175180 | K | Oct. 31, 2019, 5:47 a.m. | OK | GNU C++17 | TESTS | 29 | 280 | 14745600 | 2200 | |
66682365 | Fortin | K | Dec. 12, 2019, 1:35 p.m. | OK | GNU C++17 | TESTS | 29 | 295 | 7065600 | 2200 | |
65053838 | z20124528 | K | Nov. 15, 2019, 2:20 p.m. | OK | Go | TESTS | 29 | 1044 | 18636800 | 2200 | |
63723629 | Musin | K | Oct. 29, 2019, 12:04 p.m. | OK | Java 11 | TESTS | 29 | 2589 | 36761600 | 2200 | |
63673138 | Taran_1407 | K | Oct. 28, 2019, 5:34 p.m. | OK | Java 8 | TESTS | 29 | 702 | 16384000 | 2200 | |
63544079 | aminul | K | Oct. 27, 2019, 10:06 a.m. | OK | Java 8 | TESTS | 29 | 841 | 22425600 | 2200 | |
63698388 | satya26 | K | Oct. 29, 2019, 6:24 a.m. | OK | Java 8 | TESTS | 29 | 1169 | 25088000 | 2200 | |
63523711 | I_love_simplespy Suzukaze yhchang3 | K | Oct. 27, 2019, 4:36 a.m. | OK | Java 8 | TESTS | 29 | 1419 | 36044800 | 2200 | |
63536713 | its_aks_ulure souradeep.99 indrajit1 | K | Oct. 27, 2019, 8:18 a.m. | OK | Java 8 | TESTS | 29 | 2495 | 0 | 2200 | |
63536474 | its_aks_ulure souradeep.99 indrajit1 | K | Oct. 27, 2019, 8:14 a.m. | OK | Java 8 | TESTS | 29 | 2511 | 0 | 2200 | |
63876237 | ZeyadKhattab | K | Oct. 30, 2019, 7:05 p.m. | OK | Java 8 | TESTS | 29 | 2526 | 19456000 | 2200 | |
64158696 | Garett azlz lomoss | K | Nov. 3, 2019, 1:42 p.m. | OK | Java 8 | TESTS | 29 | 2698 | 93900800 | 2200 | |
64158675 | O_o_Garett | K | Nov. 3, 2019, 1:41 p.m. | OK | Java 8 | TESTS | 29 | 2698 | 93900800 | 2200 | |
63538698 | its_aks_ulure | K | Oct. 27, 2019, 8:55 a.m. | OK | Java 8 | TESTS | 29 | 2791 | 0 | 2200 | |
63696341 | Spheniscine | K | Oct. 29, 2019, 5:36 a.m. | OK | Kotlin | TESTS | 29 | 998 | 5836800 | 2200 | |
63696519 | Spheniscine | K | Oct. 29, 2019, 5:40 a.m. | OK | Kotlin | TESTS | 29 | 1029 | 4403200 | 2200 | |
63696455 | Spheniscine | K | Oct. 29, 2019, 5:39 a.m. | OK | Kotlin | TESTS | 29 | 1044 | 4403200 | 2200 | |
64121190 | vjudge1 | K | Nov. 3, 2019, 1:26 a.m. | OK | MS C++ | TESTS | 29 | 343 | 6963200 | 2200 | |
64202654 | lonely_moon | K | Nov. 4, 2019, 11:56 a.m. | OK | MS C++ 2017 | TESTS | 29 | 1185 | 38707200 | 2200 | |
64168048 | c.u | K | Nov. 3, 2019, 5:10 p.m. | OK | MS C++ 2017 | TESTS | 29 | 1481 | 307200 | 2200 | |
63536398 | V.C. Cool_Kid LeonFeng | K | Oct. 27, 2019, 8:12 a.m. | OK | MS C++ 2017 | TESTS | 29 | 1575 | 161587200 | 2200 |
Back to search problems