Codeforces Round 347 (Div. 1)

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
663 Codeforces Round 347 (Div. 1) FINISHED False 7200 270998699 April 16, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3303 ) A Rebus PROGRAMMING constructive algorithms expression parsing greedy math 1800

B'You are given a rebus of form ? + ? - ? + ? = n, consisting of only question marks, separated by arithmetic operation '+ ' and '- ', equality and positive integer n. The goal is to replace each question mark with some positive integer from 1 to n, such that equality holds. The only line of the input contains a rebus. It 's guaranteed that it contains no more than 100 question marks, integer n is positive and doesn 't exceed 1 xe2 x80 x89000 xe2 x80 x89000, all letters and integers are separated by spaces, arithmetic operations are located only between question marks. The first line of the output should contain "Possible" (without quotes) if rebus has a solution and "Impossible" (without quotes) otherwise. If the answer exists, the second line should contain any valid rebus with question marks replaced by integers from 1 to n. Follow the format given in the samples. '...

Tutorials

Editorial for CROC 2016 Finals and Codeforces Round #347

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
17351013 Gassa A April 16, 2016, 6:10 p.m. OK D TESTS 31 30 0 1800
17353614 AHTuTTuTyX A April 16, 2016, 7:50 p.m. OK Delphi TESTS 31 15 0 1800
18244081 MR.GIOmetric A June 4, 2016, 1:17 p.m. OK FPC TESTS 31 15 1945600 1800
17602365 k2nt A May 1, 2016, 3:36 a.m. OK FPC TESTS 31 15 2048000 1800
17470588 dohonghuan A April 23, 2016, 1:52 p.m. OK FPC TESTS 31 31 1945600 1800
17389731 Int2k A April 19, 2016, 4:21 p.m. OK FPC TESTS 31 31 2764800 1800
17353020 koneko A April 16, 2016, 7:21 p.m. OK GNU C TESTS 31 15 0 1800
17360583 lastpoetdarkmoon A April 17, 2016, 8:50 a.m. OK GNU C TESTS 31 15 1843200 1800
17687539 anothervjudge A May 2, 2016, 10:12 a.m. OK GNU C TESTS 31 15 2048000 1800
17374440 sgtlaugh A April 18, 2016, 10:50 a.m. OK GNU C TESTS 31 15 2048000 1800
17592066 ndn A April 30, 2016, 8:59 a.m. OK GNU C TESTS 31 31 2048000 1800
30113192 vjudge1 A Sept. 5, 2017, 4:50 p.m. OK GNU C++ TESTS 31 15 0 1800
27733167 FHW_SO_WALL A June 12, 2017, 7:33 a.m. OK GNU C++ TESTS 31 15 0 1800
27630602 Scut82 A June 7, 2017, 10:41 a.m. OK GNU C++ TESTS 31 15 0 1800
27630412 Scut82 A June 7, 2017, 10:29 a.m. OK GNU C++ TESTS 31 15 0 1800
27447873 fanzhirui A May 30, 2017, 12:15 p.m. OK GNU C++ TESTS 31 15 0 1800
22488741 aaac A Nov. 25, 2016, 12:30 p.m. OK GNU C++ TESTS 31 15 0 1800
21006173 skywalkert A Sept. 30, 2016, 3:23 a.m. OK GNU C++ TESTS 31 15 0 1800
20752356 vakan A Sept. 19, 2016, 10:35 a.m. OK GNU C++ TESTS 31 15 0 1800
20741876 _Ash__ A Sept. 18, 2016, 6:38 p.m. OK GNU C++ TESTS 31 15 0 1800
20550190 aayushkapadia uttam36 suparsh14 A Sept. 12, 2016, 1:43 p.m. OK GNU C++ TESTS 31 15 0 1800
40829144 dysnomia A July 27, 2018, 4:54 a.m. OK GNU C++11 TESTS 31 15 0 1800
29592488 emoairx A Aug. 19, 2017, 8:09 a.m. OK GNU C++11 TESTS 31 15 0 1800
27170865 Toxel A May 17, 2017, 2:13 a.m. OK GNU C++11 TESTS 31 15 0 1800
27170646 Deng2X A May 17, 2017, 1:44 a.m. OK GNU C++11 TESTS 31 15 0 1800
22424001 BlinkingStar A Nov. 23, 2016, 1:27 p.m. OK GNU C++11 TESTS 31 15 0 1800
22340840 FISHTOBY A Nov. 20, 2016, 5:16 a.m. OK GNU C++11 TESTS 31 15 0 1800
22029692 Whalanator A Nov. 4, 2016, 8:21 a.m. OK GNU C++11 TESTS 31 15 0 1800
22006251 Boyou A Nov. 3, 2016, 4:50 a.m. OK GNU C++11 TESTS 31 15 0 1800
20866222 DahsseR A Sept. 23, 2016, 3:07 p.m. OK GNU C++11 TESTS 31 15 0 1800
20471946 Gupta_anil A Sept. 9, 2016, 4:39 a.m. OK GNU C++11 TESTS 31 15 0 1800
55298928 ATS A June 8, 2019, 11:09 a.m. OK GNU C++14 TESTS 31 15 0 1800
32049302 born2rule A Nov. 4, 2017, 10:33 a.m. OK GNU C++14 TESTS 31 15 0 1800
30387116 kazuma A Sept. 16, 2017, 3:40 p.m. OK GNU C++14 TESTS 31 15 0 1800
30244894 nimom A Sept. 10, 2017, 12:24 p.m. OK GNU C++14 TESTS 31 15 0 1800
30244821 nimom A Sept. 10, 2017, 12:20 p.m. OK GNU C++14 TESTS 31 15 0 1800
30174105 aps A Sept. 7, 2017, 6:59 a.m. OK GNU C++14 TESTS 31 15 0 1800
30113107 after A Sept. 5, 2017, 4:49 p.m. OK GNU C++14 TESTS 31 15 0 1800
27735307 square1001 A June 12, 2017, 9:50 a.m. OK GNU C++14 TESTS 31 15 0 1800
27720266 vjudge2 A June 11, 2017, 11:46 a.m. OK GNU C++14 TESTS 31 15 0 1800
27720159 vjudge4 A June 11, 2017, 11:36 a.m. OK GNU C++14 TESTS 31 15 0 1800
69445199 ST_C A Jan. 24, 2020, 2:11 a.m. OK GNU C++17 TESTS 31 15 0 1800
68217719 VardhanHarsh A Jan. 5, 2020, 1:46 a.m. OK GNU C++17 TESTS 31 15 0 1800
55222055 cxsy A June 6, 2019, 8:21 p.m. OK GNU C++17 TESTS 31 15 0 1800
49897989 vjudge4 A Feb. 14, 2019, 7:54 a.m. OK GNU C++17 TESTS 31 15 0 1800
35663109 Ashishgup A Feb. 24, 2018, 10:34 p.m. OK GNU C++17 TESTS 31 15 1945600 1800
35662959 Ashishgup A Feb. 24, 2018, 10:26 p.m. OK GNU C++17 TESTS 31 15 1945600 1800
38100510 as277575 A May 10, 2018, 7:42 p.m. OK GNU C++17 TESTS 31 15 3379200 1800
38140660 Chelslay A May 12, 2018, 2:09 p.m. OK GNU C++17 TESTS 31 15 3686400 1800
69576415 m.hasan01 A Jan. 26, 2020, 3:44 p.m. OK GNU C++17 TESTS 31 30 0 1800
68568541 hmjudge0 A Jan. 10, 2020, 11:51 p.m. OK GNU C++17 TESTS 31 30 0 1800
17352601 Martynas A April 16, 2016, 7:08 p.m. OK Go TESTS 31 31 102400 1800
17348514 Azat_Yusupov A April 16, 2016, 5:29 p.m. OK Java 7 TESTS 31 108 0 1800
17353730 albertghtoun A April 16, 2016, 7:58 p.m. OK Java 7 TESTS 31 109 0 1800
19301925 Hepic_Antony_Skarlatos A July 21, 2016, 12:28 p.m. OK Java 7 TESTS 31 124 0 1800
17365140 yoni.jeong A April 17, 2016, 2:01 p.m. OK Java 7 TESTS 31 124 39424000 1800
17369433 lsaf A April 17, 2016, 9:03 p.m. OK Java 7 TESTS 31 140 39116800 1800
17498728 playitcool A April 24, 2016, 7:51 p.m. OK Java 7 TESTS 31 140 39321600 1800
17422000 wzb9704 A April 21, 2016, 3:52 p.m. OK Java 7 TESTS 31 468 39321600 1800
17353143 janop A April 16, 2016, 7:27 p.m. OK Java 8 TESTS 31 109 0 1800
17347673 alexyz A April 16, 2016, 5:19 p.m. OK Java 8 TESTS 31 109 0 1800
17346465 harry.zhao A April 16, 2016, 5:04 p.m. OK Java 8 TESTS 31 109 0 1800
17345116 Sumeet.Varma A April 16, 2016, 4:48 p.m. OK Java 8 TESTS 31 109 0 1800
17344497 Petr A April 16, 2016, 4:43 p.m. OK Java 8 TESTS 31 109 0 1800
25712298 Kammola A March 22, 2017, 1:14 p.m. OK Java 8 TESTS 31 109 20480000 1800
17390645 msci A April 19, 2016, 5:43 p.m. OK Java 8 TESTS 31 109 20582400 1800
53277984 mennafadali A April 25, 2019, 10:34 a.m. OK Java 8 TESTS 31 124 0 1800
18906469 mtaz A July 5, 2016, 7:19 p.m. OK Java 8 TESTS 31 124 0 1800
18845071 kraskevich A July 1, 2016, 6:50 p.m. OK Java 8 TESTS 31 124 0 1800
35988178 Skndr A March 6, 2018, 10:25 a.m. OK MS C# TESTS 31 46 9318400 1800
17987592 zdebyman A May 19, 2016, 7:51 a.m. OK MS C# TESTS 31 61 9216000 1800
17381317 abdullah152 A April 18, 2016, 8:57 p.m. OK MS C# TESTS 31 61 9216000 1800
17346772 szsz A April 16, 2016, 5:08 p.m. OK MS C# TESTS 31 62 2457600 1800
17345384 Beresta A April 16, 2016, 4:51 p.m. OK MS C# TESTS 31 62 2457600 1800
17345518 azukun A April 16, 2016, 4:53 p.m. OK MS C# TESTS 31 62 2560000 1800
17833313 sundown A May 10, 2016, 2:45 p.m. OK MS C# TESTS 31 62 9523200 1800
17359717 Cuellius A April 17, 2016, 7:53 a.m. OK MS C# TESTS 31 62 11571200 1800
17353228 AU.Bahosain A April 16, 2016, 7:31 p.m. OK MS C++ TESTS 31 15 0 1800
17346138 Mushegh A April 16, 2016, 5 p.m. OK MS C++ TESTS 31 15 0 1800
17345759 TonySnark A April 16, 2016, 4:56 p.m. OK MS C++ TESTS 31 15 0 1800
17345685 dergach A April 16, 2016, 4:55 p.m. OK MS C++ TESTS 31 15 0 1800
29543408 vjudge4 A Aug. 18, 2017, 5:06 a.m. OK MS C++ TESTS 31 15 614400 1800
17348737 sergw A April 16, 2016, 5:32 p.m. OK MS C++ TESTS 31 15 1740800 1800
23985376 sdya A Jan. 20, 2017, 9:54 a.m. OK MS C++ TESTS 31 15 2048000 1800
17754923 Auster A May 6, 2016, 5:57 a.m. OK MS C++ TESTS 31 15 2048000 1800
17396703 Awa149 A April 20, 2016, 9:01 a.m. OK MS C++ TESTS 31 15 2048000 1800
17379411 NVAL A April 18, 2016, 5:32 p.m. OK MS C++ TESTS 31 15 2048000 1800
56395211 wasvlad A July 1, 2019, 2:17 p.m. OK MS C++ 2017 TESTS 31 31 0 1800
17353036 tsiki A April 16, 2016, 7:22 p.m. OK PyPy 2 TESTS 31 62 0 1800
17378363 m7mdbadawy A April 18, 2016, 3:49 p.m. OK PyPy 2 TESTS 31 108 22425600 1800
44107067 YESMAths A Oct. 11, 2018, 9:49 a.m. OK PyPy 2 TESTS 31 139 0 1800
17364062 soon A April 17, 2016, 12:40 p.m. OK PyPy 3 TESTS 31 108 23142400 1800
17347447 SirNickolas A April 16, 2016, 5:16 p.m. OK PyPy 3 TESTS 31 124 0 1800
60300949 Leendertz A Sept. 9, 2019, 12:08 p.m. OK PyPy 3 TESTS 31 140 0 1800
17421614 cugel A April 21, 2016, 3:22 p.m. OK PyPy 3 TESTS 31 155 23244800 1800
17463095 gilesg A April 22, 2016, 9:29 p.m. OK Python 2 TESTS 31 46 4710400 1800
17363079 theGamblerRises A April 17, 2016, 11:28 a.m. OK Python 2 TESTS 31 46 4710400 1800
17347908 Butane A April 16, 2016, 5:22 p.m. OK Python 2 TESTS 31 61 0 1800
18019970 liuxiansheng A May 21, 2016, 2:25 p.m. OK Python 2 TESTS 31 61 4710400 1800
17388812 riparia A April 19, 2016, 2:56 p.m. OK Python 2 TESTS 31 61 4710400 1800
17359080 rohansumant A April 17, 2016, 7:07 a.m. OK Python 2 TESTS 31 61 20992000 1800
17352870 nwi A April 16, 2016, 7:16 p.m. OK Python 2 TESTS 31 62 0 1800
17352757 ashish1610 A April 16, 2016, 7:12 p.m. OK Python 2 TESTS 31 62 0 1800
17345422 kevinsogo A April 16, 2016, 4:52 p.m. OK Python 2 TESTS 31 62 0 1800
33826308 ytz123 A Dec. 31, 2017, 7:03 a.m. OK Python 2 TESTS 31 62 4608000 1800
17345798 KarlisS A April 16, 2016, 4:56 p.m. OK Python 3 TESTS 31 62 0 1800
22323031 nadchu A Nov. 19, 2016, 9:57 a.m. OK Python 3 TESTS 31 62 204800 1800
17699555 merolish A May 3, 2016, 2:28 p.m. OK Python 3 TESTS 31 62 4608000 1800
17360410 ttt A April 17, 2016, 8:40 a.m. OK Python 3 TESTS 31 62 4608000 1800
24239227 conflict A Jan. 29, 2017, 3:09 a.m. OK Python 3 TESTS 31 62 4915200 1800
17381808 Shamsutdin A April 18, 2016, 10:18 p.m. OK Python 3 TESTS 31 62 4915200 1800
18119334 mousam A May 27, 2016, 1:55 p.m. OK Python 3 TESTS 31 62 5120000 1800
17462556 ComptonScatter A April 22, 2016, 8:15 p.m. OK Python 3 TESTS 31 62 5120000 1800
17368289 harry_potter_28 A April 17, 2016, 6:50 p.m. OK Python 3 TESTS 31 62 5120000 1800
17361355 orailly A April 17, 2016, 9:36 a.m. OK Python 3 TESTS 31 62 5120000 1800
17535281 akimonoiryou A April 27, 2016, 12:40 p.m. OK Ruby TESTS 31 62 6451200 1800
18444366 MoOfMo A June 14, 2016, 6:19 a.m. OK Ruby TESTS 31 77 6553600 1800

remove filters

Back to search problems