School Regional Team Contest, Saratov, 2011

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
120 School Regional Team Contest, Saratov, 2011 FINISHED False 18000 419038151 Oct. 18, 2011, 6:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2769 ) E Put Knight! PROGRAMMING games 1500

B'Petya and Gena play a very interesting game "Put a Knight!" on a chessboard n xe2 x80 x89 xc3 x97 xe2 x80 x89n in size. In this game they take turns to put chess pieces called "knights" on the board so that no two knights could threat each other. A knight located in square (r, xe2 x80 x89c) can threat squares (r xe2 x80 x89- xe2 x80 x891, xe2 x80 x89c xe2 x80 x89+ xe2 x80 x892), (r xe2 x80 x89- xe2 x80 x891, xe2 x80 x89c xe2 x80 x89- xe2 x80 x892), (r xe2 x80 x89+ xe2 x80 x891, xe2 x80 x89c xe2 x80 x89+ xe2 x80 x892), (r xe2 x80 x89+ xe2 x80 x891, xe2 x80 x89c xe2 x80 x89- xe2 x80 x892), (r xe2 x80 x89- xe2 x80 x892, xe2 x80 x89c xe2 x80 x89+ xe2 x80 x891), (r xe2 x80 x89- xe2 x80 x892, xe2 x80 x89c xe2 x80 x89- xe2 x80 x891), (r xe2 x80 x89+ xe2 x80 x892, xe2 x80 x89c xe2 x80 x89+ xe2 x80 x891) and (r xe2 x80 x89+ xe2 x80 x892, xe2 x80 x89c xe2 x80 x89- xe2 x80 x891) (some of the squares may be located outside the chessboard). The player who can 't put a new knight during his move loses. Determine which player wins considering that both players play optimally well and Petya starts. The first line contains integer T (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89T xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the number of boards, for which you should determine the winning player. Next T lines contain T integers ni (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ni xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000) -- the sizes of the chessboards. For each ni xe2 x80 x89 xc3 x97 xe2 x80 x89ni board print on a single line "0" if Petya wins considering both players play optimally well. Otherwise, print "1".'...

Tutorials

Tutorial for school regional team contest of Saratov

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
777846 dashka_z E Oct. 18, 2011, 9:05 a.m. OK Delphi TESTS 20 10 1024000 1500
2064816 Misha100896 E Aug. 28, 2012, 6:29 p.m. OK Delphi TESTS 20 10 8908800 1500
2770774 wasyapetya E Dec. 15, 2012, 5:02 p.m. OK Delphi TESTS 20 15 0 1500
4060509 AHTuTTuTyX E July 13, 2013, 4:22 p.m. OK Delphi TESTS 20 15 102400 1500
4604250 SantasLittleHelper E Sept. 29, 2013, 9:52 a.m. OK Delphi TESTS 20 30 0 1500
10494235 vjudge5 E March 27, 2015, 8:32 p.m. OK Delphi TESTS 20 30 102400 1500
5068909 mr_justadog E Nov. 11, 2013, 2:42 p.m. OK Delphi TESTS 20 30 102400 1500
811092 nsopenko MrJigan1488 evg-zhabotinsky E Oct. 18, 2011, 7:15 a.m. OK Delphi TESTS 20 30 921600 1500
1357400 Dok-95 E March 14, 2012, 5:08 p.m. OK Delphi TESTS 20 30 1024000 1500
1151633 ilya.korovin Golovanov399 E Feb. 5, 2012, 4:27 p.m. OK Delphi TESTS 20 30 1024000 1500
840966 Guru Smile UPi E Oct. 18, 2011, 7:43 a.m. OK FPC TESTS 20 10 1126400 1500
798952 Petruchcho E Oct. 27, 2011, 2:33 p.m. OK FPC TESTS 20 10 1126400 1500
787132 boba E Oct. 20, 2011, 4:52 p.m. OK FPC TESTS 20 10 1126400 1500
777447 dovietanh95 Songuku95 khiyeuchuot1 sirdat_LS iamquang1508 conan_doyle95 hhiepit_k52 vietnam ConLonCon NGiUp E Oct. 18, 2011, 8:49 a.m. OK FPC TESTS 20 10 1126400 1500
775303 siuvit E Oct. 18, 2011, 7:38 a.m. OK FPC TESTS 20 10 1126400 1500
774457 vlad107 HulkHoggan E Oct. 18, 2011, 7:16 a.m. OK FPC TESTS 20 10 1126400 1500
1737855 Omelianenko E May 28, 2012, 9:32 p.m. OK FPC TESTS 20 10 1228800 1500
2805605 zuizui_123 E Dec. 22, 2012, 6:46 a.m. OK FPC TESTS 20 15 102400 1500
4844672 imyzard E Oct. 22, 2013, 2:41 p.m. OK FPC TESTS 20 30 102400 1500
4782072 Ivan19981305 E Oct. 14, 2013, 7:44 a.m. OK FPC TESTS 20 30 102400 1500
789063 kawatea E Oct. 21, 2011, 4:15 p.m. OK GNU C TESTS 20 10 1536000 1500
779795 Narutokun E Oct. 18, 2011, 10:41 a.m. OK GNU C TESTS 20 10 1536000 1500
3823462 vjudge5 E June 5, 2013, 3:27 a.m. OK GNU C TESTS 20 15 204800 1500
3536067 avbelyy E April 14, 2013, 3:15 p.m. OK GNU C TESTS 20 15 204800 1500
13509520 Carmine_Crystal E Oct. 9, 2015, 12:46 p.m. OK GNU C TESTS 20 30 204800 1500
13484557 misleader E Oct. 7, 2015, 8:51 p.m. OK GNU C TESTS 20 30 204800 1500
13348601 tis_1405050 E Oct. 2, 2015, 6:34 p.m. OK GNU C TESTS 20 30 204800 1500
13322187 Sifat_Md E Sept. 30, 2015, 8:07 p.m. OK GNU C TESTS 20 30 204800 1500
11244422 DahsseR E May 23, 2015, 11:40 p.m. OK GNU C TESTS 20 30 204800 1500
4543858 helloworld123 E Sept. 23, 2013, 4:29 p.m. OK GNU C TESTS 20 30 204800 1500
1683649 stryan123 E May 12, 2012, 9:40 a.m. OK GNU C++ TESTS 20 10 1536000 1500
1508431 fab E April 10, 2012, 9:58 a.m. OK GNU C++ TESTS 20 10 1536000 1500
1436487 gosia E March 28, 2012, 12:30 p.m. OK GNU C++ TESTS 20 10 1536000 1500
1337691 lyon SimplePRO E March 10, 2012, 2:34 p.m. OK GNU C++ TESTS 20 10 1536000 1500
797970 doraemon E Oct. 27, 2011, 4:12 a.m. OK GNU C++ TESTS 20 10 1536000 1500
792091 kirakira E Oct. 23, 2011, 3:45 p.m. OK GNU C++ TESTS 20 10 1536000 1500
787542 cjtoribio denni2727 E Oct. 18, 2011, 8:47 a.m. OK GNU C++ TESTS 20 10 1536000 1500
785947 svm11 mukulgupta neo434 E Oct. 18, 2011, 7:14 a.m. OK GNU C++ TESTS 20 10 1536000 1500
785357 pappu E Oct. 19, 2011, 7:40 p.m. OK GNU C++ TESTS 20 10 1536000 1500
784175 Ronok1307 E Oct. 19, 2011, 11:30 a.m. OK GNU C++ TESTS 20 10 1536000 1500
4803936 Orfest E Oct. 16, 2013, 8:41 a.m. OK GNU C++0x TESTS 20 0 409600 1500
3767586 savinov E May 24, 2013, 11:35 p.m. OK GNU C++0x TESTS 20 15 204800 1500
3146634 Doxer E Feb. 19, 2013, 11:04 a.m. OK GNU C++0x TESTS 20 15 204800 1500
2103160 yc0576 E Sept. 7, 2012, 7:36 p.m. OK GNU C++0x TESTS 20 15 819200 1500
5774490 pikapika E Jan. 23, 2014, 4:19 a.m. OK GNU C++0x TESTS 20 30 102400 1500
9938675 AhmadrezaM E Feb. 20, 2015, 3:04 p.m. OK GNU C++0x TESTS 20 30 204800 1500
9512727 xtrome E Jan. 23, 2015, 12:29 p.m. OK GNU C++0x TESTS 20 30 204800 1500
8539236 saichandu6 E Nov. 3, 2014, 6:20 p.m. OK GNU C++0x TESTS 20 30 204800 1500
7308096 behzad.nouri E Aug. 1, 2014, 2:13 p.m. OK GNU C++0x TESTS 20 30 204800 1500
7272568 aliasadiiii E July 28, 2014, 12:02 a.m. OK GNU C++0x TESTS 20 30 204800 1500
10564982 HappyPerson E April 3, 2015, 10:35 p.m. OK GNU C++11 TESTS 20 30 0 1500
32522657 .st E Nov. 21, 2017, 11 a.m. OK GNU C++11 TESTS 20 30 204800 1500
31201060 hevea_brasiliensis E Oct. 10, 2017, 7 p.m. OK GNU C++11 TESTS 20 30 204800 1500
29598807 lukomskiy E Aug. 19, 2017, 1 p.m. OK GNU C++11 TESTS 20 30 204800 1500
27778095 Dalgerok E June 14, 2017, 6:09 p.m. OK GNU C++11 TESTS 20 30 204800 1500
27709040 aka.Sohieb E June 10, 2017, 3:49 p.m. OK GNU C++11 TESTS 20 30 204800 1500
27708911 Deathly_Hallows E June 10, 2017, 3:39 p.m. OK GNU C++11 TESTS 20 30 204800 1500
27234505 Cache E May 20, 2017, 11:42 a.m. OK GNU C++11 TESTS 20 30 204800 1500
22261075 Lightless E Nov. 16, 2016, 8:17 a.m. OK GNU C++11 TESTS 20 30 204800 1500
22038802 DieHardFanOfBarca E Nov. 4, 2016, 4:38 p.m. OK GNU C++11 TESTS 20 30 204800 1500
59800557 rohan101 spaesk yashsaga E Aug. 31, 2019, 10:04 a.m. OK GNU C++14 TESTS 20 30 102400 1500
59385781 vjudge3 E Aug. 24, 2019, 6:18 a.m. OK GNU C++14 TESTS 20 30 102400 1500
58263179 mind_changer E Aug. 4, 2019, 1:17 p.m. OK GNU C++14 TESTS 20 30 102400 1500
56977993 icecuber E July 13, 2019, 12:53 p.m. OK GNU C++14 TESTS 20 30 102400 1500
53296499 _rohinchhabra_ E April 25, 2019, 5:48 p.m. OK GNU C++14 TESTS 20 30 102400 1500
53201245 ken E April 23, 2019, 6 p.m. OK GNU C++14 TESTS 20 30 102400 1500
47326594 pushkar12 E Dec. 21, 2018, 10:45 a.m. OK GNU C++14 TESTS 20 30 102400 1500
32358460 twangal E Nov. 16, 2017, 2:54 p.m. OK GNU C++14 TESTS 20 30 204800 1500
31833852 AbedAbuhijleh E Oct. 28, 2017, 11:24 a.m. OK GNU C++14 TESTS 20 30 204800 1500
31830476 3_Problems_Everyday E Oct. 28, 2017, 9:20 a.m. OK GNU C++14 TESTS 20 30 204800 1500
69979613 Vetriti Spiritum E Feb. 1, 2020, 3:57 p.m. OK GNU C++17 TESTS 20 30 102400 1500
60199529 charity E Sept. 7, 2019, 4:31 a.m. OK GNU C++17 TESTS 20 30 102400 1500
59699521 vjudge4 E Aug. 30, 2019, 10:01 a.m. OK GNU C++17 TESTS 20 30 102400 1500
57637681 kuru.patel E July 24, 2019, 11:26 a.m. OK GNU C++17 TESTS 20 30 102400 1500
52444352 vjudge3 E April 7, 2019, 7:29 a.m. OK GNU C++17 TESTS 20 30 102400 1500
52339224 vjudge5 E April 5, 2019, 9:37 a.m. OK GNU C++17 TESTS 20 30 102400 1500
50291265 Evzman_Y E Feb. 21, 2019, 5:34 p.m. OK GNU C++17 TESTS 20 30 102400 1500
47326767 Nikhil_Medam E Dec. 21, 2018, 10:51 a.m. OK GNU C++17 TESTS 20 30 102400 1500
47274002 Weheineman E Dec. 19, 2018, 6:14 p.m. OK GNU C++17 TESTS 20 30 102400 1500
48307214 dyl055a E Jan. 12, 2019, 8:45 p.m. OK GNU C++17 TESTS 20 30 409600 1500
824966 rexim E Nov. 2, 2011, 3:58 p.m. OK Haskell TESTS 20 30 2252800 1500
794095 mkut E Oct. 24, 2011, 8:34 p.m. OK Haskell TESTS 20 30 2252800 1500
783474 ikk E Oct. 19, 2011, 3 a.m. OK Haskell TESTS 20 30 2252800 1500
783472 ikk E Oct. 19, 2011, 2:56 a.m. OK Haskell TESTS 20 30 2252800 1500
783470 ikk E Oct. 19, 2011, 2:55 a.m. OK Haskell TESTS 20 30 2252800 1500
1045850 ilovepink E Jan. 15, 2012, 12:14 a.m. OK Java 6 TESTS 20 80 43110400 1500
775038 SergeyLazarev E Oct. 18, 2011, 7:30 a.m. OK Java 6 TESTS 20 90 35123200 1500
782054 Sinner E Oct. 18, 2011, 7:31 a.m. OK Java 6 TESTS 20 90 43008000 1500
779892 OgieKako E Oct. 18, 2011, 10:46 a.m. OK Java 6 TESTS 20 90 43008000 1500
774446 I-juice E Oct. 18, 2011, 7:16 a.m. OK Java 6 TESTS 20 90 43008000 1500
889328 nativea E Nov. 24, 2011, 1:07 p.m. OK Java 6 TESTS 20 90 43110400 1500
3084131 mkirsche E Feb. 8, 2013, 3:32 p.m. OK Java 6 TESTS 20 93 102400 1500
3853105 red1ynx E June 10, 2013, 7:56 a.m. OK Java 6 TESTS 20 109 102400 1500
822134 psucoder E Oct. 18, 2011, 7:26 a.m. OK Java 6 TESTS 20 110 35225600 1500
798919 Nox E Oct. 27, 2011, 2:15 p.m. OK Java 6 TESTS 20 110 43008000 1500
3705089 CurbStomp E May 12, 2013, 6:48 a.m. OK Java 7 TESTS 20 62 0 1500
2413403 MOSJAVA E Oct. 22, 2012, 9:01 p.m. OK Java 7 TESTS 20 125 102400 1500
13254318 pitfall E Sept. 27, 2015, 7:05 p.m. OK Java 7 TESTS 20 154 0 1500
12699312 free.dom E Aug. 25, 2015, 6:07 p.m. OK Java 7 TESTS 20 154 0 1500
9131389 sfmunera E Dec. 14, 2014, 2:27 p.m. OK Java 7 TESTS 20 154 0 1500
4782191 Ivan12345 E Oct. 14, 2013, 8:05 a.m. OK Java 7 TESTS 20 156 102400 1500
12485223 fiter E Aug. 12, 2015, 11:16 p.m. OK Java 7 TESTS 20 184 0 1500
45131833 guptautkarsh028 Abhishek_8 goyalanubhav11 E Oct. 31, 2018, 10:42 a.m. OK Java 8 TESTS 20 216 0 1500
69469379 sakt_coder E Jan. 24, 2020, 2:01 p.m. OK Java 8 TESTS 20 218 0 1500
31136023 Omar_Morsi E Oct. 8, 2017, 7:30 a.m. OK Java 8 TESTS 20 218 0 1500
14397648 sweiss E Nov. 21, 2015, 12:05 p.m. OK Java 8 TESTS 20 218 0 1500
12131724 upsolving E July 20, 2015, 2:37 p.m. OK Java 8 TESTS 20 218 0 1500
25329567 RP_9 E March 7, 2017, 8:41 p.m. OK Java 8 TESTS 20 218 20480000 1500
21990123 OmarRadwan E Nov. 2, 2016, 11:55 a.m. OK Java 8 TESTS 20 248 0 1500
10616576 poikniok E April 6, 2015, 9:16 p.m. OK Java 8 TESTS 20 248 0 1500
21418575 oooGeneral E Oct. 14, 2016, 8:30 a.m. OK Java 8 TESTS 20 248 20480000 1500
36311683 Hoda_Hisham E March 15, 2018, 8:04 p.m. OK Java 8 TESTS 20 248 20684800 1500
15159857 og.kostya E Jan. 2, 2016, 3:09 p.m. OK MS C# TESTS 20 184 102400 1500
2825857 Lelby E Dec. 25, 2012, 1:57 p.m. OK MS C++ TESTS 20 0 204800 1500
886315 bbugaev E Oct. 18, 2011, 9:07 a.m. OK MS C++ TESTS 20 10 1536000 1500
834231 Mikes E Oct. 18, 2011, 7:15 a.m. OK MS C++ TESTS 20 10 1536000 1500
785513 I_love_Tanya_Romanova E Oct. 19, 2011, 8:55 p.m. OK MS C++ TESTS 20 10 1536000 1500
784057 libssl E Oct. 19, 2011, 10:50 a.m. OK MS C++ TESTS 20 10 1536000 1500
782149 iman_MC E Oct. 18, 2011, 9:03 a.m. OK MS C++ TESTS 20 10 1536000 1500
780598 Inspired E Oct. 18, 2011, 11:22 a.m. OK MS C++ TESTS 20 10 1536000 1500
777545 Ajuran E Oct. 18, 2011, 8:52 a.m. OK MS C++ TESTS 20 10 1536000 1500
776153 Reggies E Oct. 18, 2011, 8:04 a.m. OK MS C++ TESTS 20 10 1536000 1500
776116 ProeBos E Oct. 18, 2011, 8:03 a.m. OK MS C++ TESTS 20 10 1536000 1500
69957626 alexgames73 E Feb. 1, 2020, 10:35 a.m. OK MS C++ 2017 TESTS 20 62 102400 1500
69950925 PrideBlack E Feb. 1, 2020, 8:54 a.m. OK MS C++ 2017 TESTS 20 62 102400 1500
62753429 YHHxBULIATANIA E Oct. 17, 2019, 3:01 a.m. OK MS C++ 2017 TESTS 20 62 102400 1500
55592863 Spiritum E June 15, 2019, 1:22 p.m. OK MS C++ 2017 TESTS 20 62 102400 1500
19948863 Yash_ E Aug. 18, 2016, 3:38 p.m. OK PyPy 2 TESTS 20 154 21811200 1500
64540315 UTMoonlight E Nov. 8, 2019, 6:24 p.m. OK PyPy 3 TESTS 20 280 0 1500
3271644 mohammadrdeh E March 10, 2013, 4:04 a.m. OK Python 2 TESTS 20 46 0 1500
995371 jiangzhijie E Jan. 3, 2012, 3:39 a.m. OK Python 2 TESTS 20 50 2867200 1500
794572 ct.Liu E Oct. 25, 2011, 6:07 a.m. OK Python 2 TESTS 20 50 2867200 1500
794571 ct.Liu E Oct. 25, 2011, 6:06 a.m. OK Python 2 TESTS 20 50 2867200 1500
793030 livingroom E Oct. 24, 2011, 8:58 a.m. OK Python 2 TESTS 20 50 2867200 1500
781360 Paramanantham E Oct. 18, 2011, 12:58 p.m. OK Python 2 TESTS 20 50 2867200 1500
933365 alculquicondor E Dec. 6, 2011, 4:17 p.m. OK Python 2 TESTS 20 60 2867200 1500
813427 Martial E Oct. 28, 2011, 10:51 p.m. OK Python 2 TESTS 20 60 2867200 1500
809592 igh E Oct. 27, 2011, 9:05 p.m. OK Python 2 TESTS 20 60 2867200 1500
794573 ct.Liu E Oct. 25, 2011, 6:07 a.m. OK Python 2 TESTS 20 60 2867200 1500
34456033 _123_456_789 E Jan. 22, 2018, 5:13 p.m. OK Python 3 TESTS 20 122 5632000 1500
5294112 yugle7 E Nov. 29, 2013, 1:51 p.m. OK Python 3 TESTS 20 124 0 1500
29217632 Qumeric E Aug. 5, 2017, 11:45 a.m. OK Python 3 TESTS 20 124 4608000 1500
59675997 LintuStorm E Aug. 29, 2019, 6:09 p.m. OK Python 3 TESTS 20 216 0 1500
54753607 Round_Dice E May 28, 2019, 1:59 p.m. OK Python 3 TESTS 20 218 0 1500
67841044 justanothernewbie E Dec. 28, 2019, 7:33 p.m. OK Python 3 TESTS 20 218 307200 1500
61330110 vjudge1 E Sept. 26, 2019, 2:45 p.m. OK Python 3 TESTS 20 248 0 1500
59684963 Leendertz E Aug. 30, 2019, 12:23 a.m. OK Python 3 TESTS 20 248 0 1500
63937879 coyorkdow E Oct. 31, 2019, 4:29 p.m. OK Python 3 TESTS 20 248 307200 1500
2847251 Piqueue E Dec. 28, 2012, 6:16 a.m. OK Ruby TESTS 20 46 0 1500
783547 ikk E Oct. 19, 2011, 3:42 a.m. OK Ruby TESTS 20 90 3686400 1500
775245 yowa E Oct. 18, 2011, 7:36 a.m. OK Ruby TESTS 20 90 3686400 1500
56017957 sorry_im_smurfing E June 24, 2019, 11:20 p.m. OK Ruby TESTS 20 122 0 1500
35837630 ______n______ E March 2, 2018, 1:16 p.m. OK Ruby TESTS 20 124 6144000 1500
35837627 ______u______ E March 2, 2018, 1:16 p.m. OK Ruby TESTS 20 124 6144000 1500
35837595 _____i_____ E March 2, 2018, 1:16 p.m. OK Ruby TESTS 20 124 6144000 1500
35837551 _____k_____ E March 2, 2018, 1:16 p.m. OK Ruby TESTS 20 124 6144000 1500
35831313 ______h______ E March 2, 2018, 9:42 a.m. OK Ruby TESTS 20 124 6144000 1500
35831278 ______k______ E March 2, 2018, 9:41 a.m. OK Ruby TESTS 20 124 6144000 1500

remove filters

Back to search problems