Educational Codeforces Round 8

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
628 Educational Codeforces Round 8 FINISHED False 7200 281718004 Feb. 19, 2016, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 939 ) E Zbazi in Zeydabad PROGRAMMING data structures implementation 2300

B'A tourist wants to visit country Zeydabad for Zbazi (a local game in Zeydabad). The country Zeydabad is a rectangular table consisting of n rows and m columns. Each cell on the country is either 'z ' or '. '. The tourist knows this country is named Zeydabad because there are lots of ' 'Z-pattern"s in the country. A ' 'Z-pattern" is a square which anti-diagonal is completely filled with 'z ' and its upper and lower rows are also completely filled with 'z '. All other cells of a square can be arbitrary. Note that a ' 'Z-pattern" can consist of only one cell (see the examples). So he wants to count the number of ' 'Z-pattern"s in the country (a necessary skill for Zbazi). Now your task is to help tourist with counting number of ' 'Z-pattern"s. As input/output can reach huge size it is recommended to use fast input/output methods: for example, prefer to use gets/scanf/printf instead of getline/cin/cout in C++, prefer to use BufferedReader/PrintWriter instead of Scanner/System.out in Java. The first line contains two integers n, xe2 x80 x89m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893000) -- the number of rows and columns respectively. Each of the next n lines contains m characters 'z ' or '. ' -- the description of Zeydabad. Print the only integer a -- the number of ' 'Z-pattern"s in Zeydabad.'...

Tutorials

43203

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40985123 ReaLNero1 E July 30, 2018, 7:46 p.m. OK GNU C++ TESTS 18 482 244019200 2300
19000411 OMRailgun E July 10, 2016, 8:38 a.m. OK GNU C++ TESTS 18 514 244121600 2300
16552490 abeker E March 6, 2016, 1:03 p.m. OK GNU C++ TESTS 18 607 205721600 2300
16258819 lessthanleast E Feb. 21, 2016, 12:51 p.m. OK GNU C++ TESTS 18 608 259686400 2300
16482542 liuaohanjsj E March 3, 2016, 12:40 p.m. OK GNU C++ TESTS 18 655 81510400 2300
16482321 liuaohanjsj E March 3, 2016, 12:22 p.m. OK GNU C++ TESTS 18 686 81510400 2300
16215780 joyfun E Feb. 19, 2016, 8:16 p.m. OK GNU C++ TESTS 18 764 108851200 2300
21892171 vjudge3 E Oct. 30, 2016, 12:28 p.m. OK GNU C++ TESTS 18 779 108851200 2300
17843561 vjudge1 E May 11, 2016, 1:15 p.m. OK GNU C++ TESTS 18 779 165888000 2300
16538806 balebale E March 5, 2016, 5:50 p.m. OK GNU C++ TESTS 18 780 108851200 2300
60309398 rainboy E Sept. 9, 2019, 3:11 p.m. OK GNU C11 TESTS 18 670 153395200 2300
66485754 jgy002 E Dec. 8, 2019, 6:16 a.m. OK GNU C++11 TESTS 18 374 244019200 2300
44063827 Umi E Oct. 10, 2018, 7:50 a.m. OK GNU C++11 TESTS 18 390 108748800 2300
63652768 MonkeyKing E Oct. 28, 2019, 11:52 a.m. OK GNU C++11 TESTS 18 467 108953600 2300
16214853 Arpa E Feb. 19, 2016, 7:22 p.m. OK GNU C++11 TESTS 18 467 121241600 2300
16214849 Arpa E Feb. 19, 2016, 7:21 p.m. OK GNU C++11 TESTS 18 592 230297600 2300
20487507 bluefi E Sept. 9, 2016, 11:27 p.m. OK GNU C++11 TESTS 18 592 296960000 2300
20605618 lmn0x4F E Sept. 14, 2016, 5:05 a.m. OK GNU C++11 TESTS 18 639 81408000 2300
57862983 mh755628 E July 27, 2019, 6:55 p.m. OK GNU C++11 TESTS 18 639 391475200 2300
44455016 vjudge4 E Oct. 17, 2018, 5:31 p.m. OK GNU C++11 TESTS 18 654 72704000 2300
50598973 xielinhan E Feb. 28, 2019, 11:50 a.m. OK GNU C++11 TESTS 18 654 301260800 2300
67211516 whyamievenhere E Dec. 19, 2019, 2:12 p.m. OK GNU C++14 TESTS 18 452 244019200 2300
30421547 NiroBC E Sept. 17, 2017, 12:42 p.m. OK GNU C++14 TESTS 18 561 82124800 2300
23465729 Ali.Pi E Dec. 31, 2016, 8:16 a.m. OK GNU C++14 TESTS 18 623 299520000 2300
60254007 vim_lover E Sept. 8, 2019, 8:25 a.m. OK GNU C++14 TESTS 18 748 391782400 2300
32804520 Ice_Cream E Nov. 30, 2017, 12:11 p.m. OK GNU C++14 TESTS 18 763 84992000 2300
32804567 Ice_Cream E Nov. 30, 2017, 12:13 p.m. OK GNU C++14 TESTS 18 764 84992000 2300
52823618 Arturoku E April 16, 2019, 12:54 p.m. OK GNU C++14 TESTS 18 764 397209600 2300
37309553 lllllllllllllllllllllll E April 14, 2018, 6:21 a.m. OK GNU C++14 TESTS 18 779 148582400 2300
60253929 vim_lover E Sept. 8, 2019, 8:22 a.m. OK GNU C++14 TESTS 18 826 391782400 2300
29506418 Protap_Ghose E Aug. 16, 2017, 1:26 p.m. OK GNU C++14 TESTS 18 872 396902400 2300
65352018 zjj1149 E Nov. 19, 2019, 2:37 p.m. OK GNU C++17 TESTS 18 764 391168000 2300
62680024 penguin1017 E Oct. 16, 2019, 12:35 p.m. OK GNU C++17 TESTS 18 780 136294400 2300
63691614 Tgiwx E Oct. 29, 2019, 3 a.m. OK GNU C++17 TESTS 18 826 118169600 2300
63656196 luogu_bot5 E Oct. 28, 2019, 12:47 p.m. OK GNU C++17 TESTS 18 873 392294400 2300
40969959 dmkozyrev E July 30, 2018, 12:50 p.m. OK GNU C++17 TESTS 18 982 177664000 2300
40927906 Slamur E July 29, 2018, 8:06 p.m. OK GNU C++17 TESTS 18 982 177664000 2300
41432199 GJC E Aug. 10, 2018, 1:12 p.m. OK GNU C++17 TESTS 18 997 213401600 2300
63657214 gwq2017 E Oct. 28, 2019, 1:03 p.m. OK GNU C++17 TESTS 18 1029 91340800 2300
41668427 w446506278 E Aug. 17, 2018, 2:24 a.m. OK GNU C++17 TESTS 18 1045 162816000 2300
45802999 Slaaava E Nov. 16, 2018, 2:21 p.m. OK GNU C++17 TESTS 18 1045 219545600 2300
16209772 knightL E Feb. 19, 2016, 4:25 p.m. OK Java 7 TESTS 18 4835 263270400 2300
60309399 Dukkha E Sept. 9, 2019, 3:11 p.m. OK Java 8 TESTS 18 1434 251699200 2300
40927852 Slamur E July 29, 2018, 8:04 p.m. OK Java 8 TESTS 18 1575 239308800 2300
16225009 WonderMouse E Feb. 20, 2016, 8:12 a.m. OK Java 8 TESTS 18 1809 210636800 2300
42025595 IDzekh E Aug. 24, 2018, 12:16 p.m. OK Java 8 TESTS 18 1934 291840000 2300
16225313 WonderMouse E Feb. 20, 2016, 8:32 a.m. OK Java 8 TESTS 18 2090 210432000 2300
16225446 WonderMouse E Feb. 20, 2016, 8:40 a.m. OK Java 8 TESTS 18 2090 210534400 2300
16225417 WonderMouse E Feb. 20, 2016, 8:38 a.m. OK Java 8 TESTS 18 2152 210534400 2300
42025293 IDzekh E Aug. 24, 2018, 12:03 p.m. OK Java 8 TESTS 18 2713 214323200 2300
16249275 harry.zhao E Feb. 20, 2016, 7:45 p.m. OK Java 8 TESTS 18 3166 520294400 2300
16264537 fmoraes E Feb. 21, 2016, 4:49 p.m. OK Java 8 TESTS 18 3338 520396800 2300
16428737 AnatolyTolstobrov E Feb. 29, 2016, 3:48 p.m. OK MS C# TESTS 18 1435 112230400 2300
16209230 azukun E Feb. 19, 2016, 4:16 p.m. OK MS C# TESTS 18 1512 104140800 2300
16428697 AnatolyTolstobrov E Feb. 29, 2016, 3:45 p.m. OK MS C# TESTS 18 1575 149606400 2300
16224352 og.kostya E Feb. 20, 2016, 7:23 a.m. OK MS C# TESTS 18 1918 121036800 2300
16224190 og.kostya E Feb. 20, 2016, 7:11 a.m. OK MS C# TESTS 18 1934 122572800 2300
16224268 og.kostya E Feb. 20, 2016, 7:16 a.m. OK MS C# TESTS 18 1965 121139200 2300
16224328 og.kostya E Feb. 20, 2016, 7:21 a.m. OK MS C# TESTS 18 2074 123392000 2300
16224117 og.kostya E Feb. 20, 2016, 7:07 a.m. OK MS C# TESTS 18 2105 121446400 2300
16312313 RoKi E Feb. 24, 2016, 4:12 p.m. OK MS C++ TESTS 18 982 81715200 2300
16228770 Ne0n25 E Feb. 20, 2016, 12:33 p.m. OK MS C++ TESTS 18 1216 354918400 2300
16209058 pacu E Feb. 19, 2016, 4:13 p.m. OK MS C++ TESTS 18 1528 117248000 2300
16227000 Oleg_Smirnov E Feb. 20, 2016, 10:25 a.m. OK MS C++ TESTS 18 1887 142643200 2300
19041720 sincerity E July 12, 2016, 5:11 a.m. OK MS C++ TESTS 18 3603 480870400 2300
16339838 leiqiu E Feb. 26, 2016, 3:37 a.m. OK MS C++ TESTS 18 3837 431923200 2300
16210904 LLI_E_P_JI_O_K E Feb. 19, 2016, 4:45 p.m. OK MS C++ TESTS 18 4227 123494400 2300
16210538 LLI_E_P_JI_O_K E Feb. 19, 2016, 4:39 p.m. OK MS C++ TESTS 18 4274 123494400 2300
16339823 leiqiu E Feb. 26, 2016, 3:34 a.m. OK MS C++ TESTS 18 4383 431923200 2300
16339842 leiqiu E Feb. 26, 2016, 3:38 a.m. OK MS C++ TESTS 18 4398 431923200 2300
48293753 IrOty1oX5uSp4 E Jan. 12, 2019, 1:44 p.m. OK PyPy 2 TESTS 18 4352 175923200 2300
48294380 IrOty1oX5uSp4 E Jan. 12, 2019, 1:59 p.m. OK PyPy 2 TESTS 18 4367 175718400 2300
48292128 IrOty1oX5uSp4 E Jan. 12, 2019, 1:14 p.m. OK PyPy 2 TESTS 18 4461 175616000 2300
48294011 IrOty1oX5uSp4 E Jan. 12, 2019, 1:50 p.m. OK PyPy 2 TESTS 18 4929 209715200 2300

remove filters

Back to search problems