Codeforces Round 182 (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
301 Codeforces Round 182 (Div. 1) FINISHED False 7200 369928497 May 5, 2013, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2498 ) D Yaroslav and Divisors PROGRAMMING data structures 2200

B"Yaroslav has an array p xe2 x80 x89= xe2 x80 x89p1, xe2 x80 x89p2, xe2 x80 x89..., xe2 x80 x89pn (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89pi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n), consisting of n distinct integers. Also, he has m queries: Help Yaroslav, answer all his queries. The first line contains the integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892 xc2 xb7105). The second line contains n distinct integers p1, xe2 x80 x89p2, xe2 x80 x89..., xe2 x80 x89pn (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89pi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n). The following m lines contain Yaroslav's queries. The i-th line contains integers li, xe2 x80 x89ri (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89li xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ri xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n). Print m integers -- the answers to Yaroslav's queries in the order they appear in the input. Please, do not use the %lld specifier to read or write 64-bit integers in C++. It is preferred to use the cin, cout streams or the %I64d specifier."...

Tutorials

Codeforces Round #182 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3728799 ergatis D May 17, 2013, 1:49 a.m. OK D TESTS 42 1718 36352000 2200
3728763 ergatis D May 17, 2013, 1:17 a.m. OK D TESTS 42 1825 37888000 2200
3728776 ergatis D May 17, 2013, 1:26 a.m. OK D TESTS 42 1859 36352000 2200
3686409 MrJigan1488 D May 6, 2013, 12:14 p.m. OK Delphi TESTS 42 984 56422400 2200
3679229 laoriu D May 5, 2013, 5:05 p.m. OK FPC TESTS 42 546 48025600 2200
3686722 zscc D May 6, 2013, 1:13 p.m. OK FPC TESTS 42 562 172339200 2200
3703313 ZeRoGerc D May 11, 2013, 6:35 p.m. OK FPC TESTS 42 656 30003200 2200
4935976 pal3 D Oct. 30, 2013, 2:46 p.m. OK FPC TESTS 42 810 36864000 2200
4709335 Fedosik D Oct. 8, 2013, 2:54 p.m. OK FPC TESTS 42 810 91136000 2200
3680158 con_nha_ngheo D May 5, 2013, 5:20 p.m. OK FPC TESTS 42 812 85094400 2200
3685506 ig_dug D May 6, 2013, 9:13 a.m. OK FPC TESTS 42 984 99532800 2200
3830405 vlad107 D June 7, 2013, 8:09 a.m. OK FPC TESTS 42 984 140288000 2200
3693853 zhzq123 D May 8, 2013, 11:47 a.m. OK FPC TESTS 42 1046 5836800 2200
3679896 hiepsieunhan D May 5, 2013, 5:15 p.m. OK FPC TESTS 42 1046 106188800 2200
3759178 Zhansun D May 23, 2013, 3:17 a.m. OK GNU C++ TESTS 42 421 7987200 2200
3727207 Illyasviel_von_Einzbern D May 16, 2013, 1:35 p.m. OK GNU C++ TESTS 42 421 7987200 2200
4208826 ssmike D July 31, 2013, 10:59 a.m. OK GNU C++ TESTS 42 436 11468800 2200
3724229 erebos D May 15, 2013, 4:03 p.m. OK GNU C++ TESTS 42 453 14131200 2200
21374603 Paladin100100 Yhx D Oct. 12, 2016, 6:32 a.m. OK GNU C++ TESTS 42 466 11673600 2200
41229280 vjudge4 D Aug. 5, 2018, 12:57 a.m. OK GNU C++ TESTS 42 468 7987200 2200
14935986 vjudge5 D Dec. 23, 2015, 9:24 a.m. OK GNU C++ TESTS 42 468 7987200 2200
24029719 ODT D Jan. 22, 2017, 11:56 a.m. OK GNU C++ TESTS 42 496 26726400 2200
40989936 ReaLNero1 D July 30, 2018, 11:26 p.m. OK GNU C++ TESTS 42 498 7884800 2200
41196943 vjudge1 D Aug. 4, 2018, 2:03 a.m. OK GNU C++ TESTS 42 498 7987200 2200
3688375 MinakoKojima D May 6, 2013, 7:55 p.m. OK GNU C++0x TESTS 42 531 29593600 2200
3684073 roosephu D May 6, 2013, 3:17 a.m. OK GNU C++0x TESTS 42 624 31539200 2200
3794189 mruxim D May 30, 2013, 12:02 p.m. OK GNU C++0x TESTS 42 625 18739200 2200
3690224 Isaacpei D May 7, 2013, 11:59 a.m. OK GNU C++0x TESTS 42 687 15769600 2200
3685482 ValenKof D May 6, 2013, 9:08 a.m. OK GNU C++0x TESTS 42 703 27443200 2200
3685298 ValenKof D May 6, 2013, 8:29 a.m. OK GNU C++0x TESTS 42 703 27443200 2200
3690673 itytwt D May 7, 2013, 2:11 p.m. OK GNU C++0x TESTS 42 703 32153600 2200
3687204 hex539 D May 6, 2013, 2:50 p.m. OK GNU C++0x TESTS 42 718 7168000 2200
3750788 khuongnd D May 20, 2013, 4:12 p.m. OK GNU C++0x TESTS 42 734 30515200 2200
9535146 JoeyWheeler D Jan. 24, 2015, 7:23 a.m. OK GNU C++0x TESTS 42 748 29286400 2200
42912525 froggyWCH D Sept. 16, 2018, 8:01 a.m. OK GNU C++11 TESTS 42 372 7884800 2200
34508773 stone41123 D Jan. 24, 2018, 8:07 a.m. OK GNU C++11 TESTS 42 404 10137600 2200
57169385 vjudge5 D July 17, 2019, 2:06 a.m. OK GNU C++11 TESTS 42 468 7987200 2200
60216632 vjudge4 D Sept. 7, 2019, 12:04 p.m. OK GNU C++11 TESTS 42 498 7987200 2200
57169355 vjudge3 D July 17, 2019, 2:05 a.m. OK GNU C++11 TESTS 42 498 7987200 2200
53939546 lanti D May 10, 2019, 1:38 a.m. OK GNU C++11 TESTS 42 498 7987200 2200
62761346 luogu_bot5 D Oct. 17, 2019, 6:59 a.m. OK GNU C++11 TESTS 42 498 8806400 2200
60304041 vjudge1 D Sept. 9, 2019, 1:12 p.m. OK GNU C++11 TESTS 42 530 7987200 2200
36134818 cen D March 10, 2018, 3:01 a.m. OK GNU C++11 TESTS 42 530 10035200 2200
41197543 vjudge1 D Aug. 4, 2018, 2:32 a.m. OK GNU C++11 TESTS 42 530 12083200 2200
60272543 guagua123 D Sept. 8, 2019, 4:12 p.m. OK GNU C++14 TESTS 42 498 7987200 2200
60274491 guagua123 D Sept. 8, 2019, 5:02 p.m. OK GNU C++14 TESTS 42 560 7987200 2200
29973161 vjudge2 D Sept. 1, 2017, 11:55 a.m. OK GNU C++14 TESTS 42 590 11980800 2200
60274462 guagua123 D Sept. 8, 2019, 5:02 p.m. OK GNU C++14 TESTS 42 592 7987200 2200
28698264 vjudge5 D July 19, 2017, 1:56 p.m. OK GNU C++14 TESTS 42 592 9932800 2200
26472555 cabinfever D April 18, 2017, 9:23 a.m. OK GNU C++14 TESTS 42 592 11673600 2200
29973092 vjudge4 D Sept. 1, 2017, 11:51 a.m. OK GNU C++14 TESTS 42 592 13209600 2200
40600753 gzzzzp D July 21, 2018, 8:26 a.m. OK GNU C++14 TESTS 42 622 7987200 2200
60289996 Mr.Gzj D Sept. 9, 2019, 6:29 a.m. OK GNU C++14 TESTS 42 622 9625600 2200
57149649 vjudge1 D July 16, 2019, 2:16 p.m. OK GNU C++14 TESTS 42 622 14233600 2200
60245922 qiyue D Sept. 8, 2019, 2:38 a.m. OK GNU C++17 TESTS 42 528 44339200 2200
60220369 A_root_A D Sept. 7, 2019, 1:22 p.m. OK GNU C++17 TESTS 42 530 7987200 2200
61071254 Hpnes D Sept. 22, 2019, 12:51 p.m. OK GNU C++17 TESTS 42 560 7987200 2200
40652558 935963004 D July 23, 2018, 12:47 a.m. OK GNU C++17 TESTS 42 560 7987200 2200
57068622 vjudge4 D July 15, 2019, 12:56 a.m. OK GNU C++17 TESTS 42 560 14233600 2200
56999259 vjudge1 D July 14, 2019, 2:15 a.m. OK GNU C++17 TESTS 42 560 14233600 2200
60480415 zhangxiyuan D Sept. 13, 2019, 10:08 a.m. OK GNU C++17 TESTS 42 590 7987200 2200
60330761 iwriaw233 D Sept. 10, 2019, 5:47 a.m. OK GNU C++17 TESTS 42 590 8806400 2200
60215277 ziyuan D Sept. 7, 2019, 11:38 a.m. OK GNU C++17 TESTS 42 590 14233600 2200
57000270 vjudge2 D July 14, 2019, 2:57 a.m. OK GNU C++17 TESTS 42 590 14233600 2200
3694020 Feu D May 8, 2013, 4 p.m. OK Go TESTS 42 750 33587200 2200
3694926 Feu D May 9, 2013, 3:46 a.m. OK Go TESTS 42 812 33587200 2200
6143560 Feu D March 26, 2014, 8:22 a.m. OK Go TESTS 42 842 32870400 2200
6018815 Feu D March 15, 2014, 7:31 a.m. OK Go TESTS 42 872 32870400 2200
6018805 Feu D March 15, 2014, 7:30 a.m. OK Go TESTS 42 872 32870400 2200
6018626 Feu D March 15, 2014, 7:06 a.m. OK Go TESTS 42 872 32870400 2200
6018880 Feu D March 15, 2014, 7:39 a.m. OK Go TESTS 42 936 30617600 2200
3694930 Feu D May 9, 2013, 3:48 a.m. OK Go TESTS 42 951 33587200 2200
3694923 Feu D May 9, 2013, 3:42 a.m. OK Go TESTS 42 1078 34816000 2200
6169880 Feu D March 28, 2014, 11:29 p.m. OK Go TESTS 42 1092 31744000 2200
3682672 uwi D May 5, 2013, 7:51 p.m. OK Java 6 TESTS 42 1031 20377600 2200
3691201 Mostafa.Ali D May 7, 2013, 5:23 p.m. OK Java 6 TESTS 42 1593 55193600 2200
3683783 ahmad_mamdouh D May 6, 2013, 12:05 a.m. OK Java 6 TESTS 42 1747 140595200 2200
3688761 hiukim D May 6, 2013, 11:47 p.m. OK Java 6 TESTS 42 2000 170700800 2200
3697769 ns_serg D May 10, 2013, 12:17 a.m. OK Java 7 TESTS 42 906 22220800 2200
3691395 dusty.and.rusty D May 7, 2013, 6:51 p.m. OK Java 7 TESTS 42 1000 80691200 2200
3691373 dusty.and.rusty D May 7, 2013, 6:40 p.m. OK Java 7 TESTS 42 1046 80691200 2200
3682223 mmaxio D May 5, 2013, 6 p.m. OK Java 7 TESTS 42 1078 26009600 2200
3691437 dusty.and.rusty D May 7, 2013, 7:10 p.m. OK Java 7 TESTS 42 1156 46796800 2200
3823150 TomConerly D June 5, 2013, 12:03 a.m. OK Java 7 TESTS 42 1281 24576000 2200
3691431 dusty.and.rusty D May 7, 2013, 7:05 p.m. OK Java 7 TESTS 42 1437 48332800 2200
4076076 ffao D July 15, 2013, 2:32 p.m. OK Java 7 TESTS 42 1437 118886400 2200
3677401 cerealguy D May 5, 2013, 4:42 p.m. OK Java 7 TESTS 42 1453 52940800 2200
15385307 alibaba D Jan. 15, 2016, 8:49 a.m. OK Java 7 TESTS 42 1622 1638400 2200
33847332 Kharouba D Jan. 1, 2018, 12:55 p.m. OK Java 8 TESTS 42 1060 53555200 2200
30734154 RP_9 D Sept. 25, 2017, 5:04 p.m. OK Java 8 TESTS 42 1184 231219200 2200
47686025 hongquanntct D Dec. 29, 2018, 2:51 p.m. OK Java 8 TESTS 42 1932 134348800 2200
10452433 AStepanov D March 25, 2015, 9:08 p.m. OK Java 8 TESTS 42 1994 165068800 2200
47686464 hongquanntct D Dec. 29, 2018, 3:04 p.m. OK Java 8 TESTS 42 1996 134553600 2200
47686424 hongquanntct D Dec. 29, 2018, 3:03 p.m. OK Java 8 TESTS 42 1996 142233600 2200
4651410 antofik D Oct. 3, 2013, 6:14 p.m. OK Mono C# TESTS 42 1934 96563200 2200
4651401 antofik D Oct. 3, 2013, 6:13 p.m. OK MS C# TESTS 42 1964 96563200 2200
4651321 antofik D Oct. 3, 2013, 6 p.m. OK MS C# TESTS 42 1964 96665600 2200
3685800 lost3030 D May 6, 2013, 10:15 a.m. OK MS C++ TESTS 42 484 18124800 2200
14999566 vjudge5 D Dec. 25, 2015, 8:23 a.m. OK MS C++ TESTS 42 498 7987200 2200
3683912 alexander-nsk94 D May 6, 2013, 1:12 a.m. OK MS C++ TESTS 42 514 7987200 2200
57068918 vjudge5 D July 15, 2019, 1:14 a.m. OK MS C++ TESTS 42 530 16281600 2200
3683256 harhrayr D May 5, 2013, 8:45 p.m. OK MS C++ TESTS 42 625 37683200 2200
3683404 Taube D May 5, 2013, 9:17 p.m. OK MS C++ TESTS 42 703 37683200 2200
3686574 romanova D May 6, 2013, 12:45 p.m. OK MS C++ TESTS 42 781 50483200 2200
3683891 alexander-nsk94 D May 6, 2013, 1:04 a.m. OK MS C++ TESTS 42 812 10649600 2200
3702615 xuyecan D May 11, 2013, 1:56 p.m. OK MS C++ TESTS 42 828 51507200 2200
3753757 ADJA D May 21, 2013, 4:21 p.m. OK MS C++ TESTS 42 828 53555200 2200

remove filters

Back to search problems