CodeChef: July 2009 (Contest V)
Site under maintenance
  • Register
  • Forgot Password?
  • PRACTICE
    • Easy
    • Medium
    • Hard
  • COMPETE
    • August Mini Challenge
    • August Algorithm Challenge
    • July Algorithm Challenge
    • June Algorithm Challenge
    • May Gamers Challenge
  • DISCUSS
    • Forums
    • Blog
    • Twitter
  • COMMUNITY
    • CodeChef TechTalks
    • CodeChef Meetups
    • Campus Chapters
    • Host Your Contest
    • User Groups
  • HELP
    • Frequently Asked Questions
    • FAQ for Problem Setters
    • Tutorial: Paying Up
    • Tutorial: Small Factorials
    • Tutorial: Input and Output(I/O)
    • Tutorial: Your First Non-Trivial Problem
  • ABOUT
    • About CodeChef
    • About Directi
    • CEO's Corner
    • Press Room
    • Careers
Array ( [0] => Array ( [problemid] => 4488 [userid] => 7327 [status] => 15 [error_id] => 0 [uname] => Tomasz Czajka [login] => tomek [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 13:42:00 [memory] => 135744 [time] => 49.34 [id] => 56136 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 190797 [lp] => 1 ) [1] => Array ( [problemid] => 4488 [userid] => 6698 [status] => 15 [error_id] => 0 [uname] => Josh Metzler [login] => jdmetz [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 08:23:31 [memory] => 5488 [time] => 49.71 [id] => 55799 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 196752.8 [lp] => 2 ) [2] => Array ( [problemid] => 4488 [userid] => 6083 [status] => 15 [error_id] => 0 [uname] => Balakrishnan Varadarajan [login] => balakrishnan_v [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 08:56:36 [memory] => 19224 [time] => 48.68 [id] => 55832 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 197997.7 [lp] => 3 ) [3] => Array ( [problemid] => 4488 [userid] => 6501 [status] => 15 [error_id] => 0 [uname] => Rahul Garg [login] => khufiya [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 11:57:55 [memory] => 10384 [time] => 48.11 [id] => 56022 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 208008.8 [lp] => 4 ) [4] => Array ( [problemid] => 4488 [userid] => 2669 [status] => 15 [error_id] => 0 [uname] => Chris Narrikkattu [login] => narri [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 05:18:44 [memory] => 9152 [time] => 34.31 [id] => 55681 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 210955.3 [lp] => 5 ) [5] => Array ( [problemid] => 4488 [userid] => 7468 [status] => 15 [error_id] => 0 [uname] => Mark Greve [login] => gmark [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-10 15:15:13 [memory] => 39992 [time] => 48.25 [id] => 53298 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 213405.3 [lp] => 6 ) [6] => Array ( [problemid] => 4488 [userid] => 6320 [status] => 15 [error_id] => 0 [uname] => Joshua Dittrich [login] => prometheus [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 13:13:32 [memory] => 3020 [time] => 25.67 [id] => 56115 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 214296.4 [lp] => 7 ) [7] => Array ( [problemid] => 4488 [userid] => 1143 [status] => 15 [error_id] => 0 [uname] => Varun Jalan [login] => syco [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 13:40:28 [memory] => 97152 [time] => 33.20 [id] => 56135 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 215225.2 [lp] => 8 ) [8] => Array ( [problemid] => 4488 [userid] => 7098 [status] => 15 [error_id] => 0 [uname] => Stephen Merriman [login] => triplem [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-11 06:07:24 [memory] => 3676 [time] => 43.42 [id] => 53874 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 215258.8 [lp] => 9 ) [9] => Array ( [problemid] => 4488 [userid] => 5168 [status] => 15 [error_id] => 0 [uname] => Robert Gerbicz [login] => gerrob [src] => 0 [status_desc] => [compiler] => C [date] => 2009-07-03 20:26:37 [memory] => 32992 [time] => 33.97 [id] => 47330 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 215927.8 [lp] => 10 ) [10] => Array ( [problemid] => 4488 [userid] => 5973 [status] => 15 [error_id] => 0 [uname] => Erjin Zhou [login] => zhouerjin [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-05 11:51:23 [memory] => 22472 [time] => 25.77 [id] => 48773 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 216034.4 [lp] => 11 ) [11] => Array ( [problemid] => 4488 [userid] => 7379 [status] => 15 [error_id] => 0 [uname] => shangjingbo [login] => shangjingbo [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-05 11:49:17 [memory] => 15392 [time] => 43.08 [id] => 48770 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 216088.5 [lp] => 12 ) [12] => Array ( [problemid] => 4488 [userid] => 6069 [status] => 15 [error_id] => 0 [uname] => Ashutosh Mehra [login] => ashutoshmehra [src] => 0 [status_desc] => [compiler] => C++ 4.0.0-8 [date] => 2009-07-13 05:54:35 [memory] => 61640 [time] => 47.27 [id] => 55717 [chk_id] => 0 [pname] => Lights Off, Revisited! [signal] => 0 [type] => 1 [score] => 218501.1 [lp] => 13 ) )

Home » Compete » July 2009 (Contest V) » » Submissions

Lights Off, Revisited! statistics & best solutions

Users accepted Submissions Accepted Wrong Answer Compile Error Runtime Error Time Limit Exceeded
54 3041 2216 95 45 112 573

All C C99 strict C++ 4.0.0-8 PAS gpc PAS fpc JAVA NICE JAR C# NEM ST ASM D FORT ADA BASH PERL PYTH RUBY LUA ICON PIKE PHP SCM guile SCM qobi LISP sbcl LISP clisp SCALA HASK CAML CLPS PRLG WSPC BF ICK TEXT DOC PDF PS JS
Previous 1  2  3  4  5 Next >
Rank Date UserResult Time Mem Lang
1 2009-07-13 13:42:00 Tomasz Czajka
190797
49.34 133M C++
4.0.0-8
2 2009-07-13 08:23:31 Josh Metzler
196752.8
49.71 5.4M C++
4.0.0-8
3 2009-07-13 08:56:36 Balakrishnan Varadarajan
197997.7
48.68 19M C++
4.0.0-8
4 2009-07-13 11:57:55 Rahul Garg
208008.8
48.11 10M C++
4.0.0-8
5 2009-07-13 05:18:44 Chris Narrikkattu
210955.3
34.31 8.9M C++
4.0.0-8
6 2009-07-10 15:15:13 Mark Greve
213405.3
48.25 39M C++
4.0.0-8
7 2009-07-13 13:13:32 Joshua Dittrich
214296.4
25.67 2.9M C++
4.0.0-8
8 2009-07-13 13:40:28 Varun Jalan
215225.2
33.20 95M C++
4.0.0-8
9 2009-07-11 06:07:24 Stephen Merriman
215258.8
43.42 3.6M C++
4.0.0-8
10 2009-07-03 20:26:37 Robert Gerbicz
215927.8
33.97 32M C
11 2009-07-05 11:51:23 Erjin Zhou
216034.4
25.77 22M C++
4.0.0-8
12 2009-07-05 11:49:17 shangjingbo
216088.5
43.08 15M C++
4.0.0-8
13 2009-07-13 05:54:35 Ashutosh Mehra
218501.1
47.27 60M C++
4.0.0-8

RECENT ACTIVITY

User Mem Time Lang
Tomasz Czajka 133M 49.34 C++
4.0.0-8
View Solution
Josh Metzler 5.4M 49.71 C++
4.0.0-8
View Solution
Balakrishnan Varadarajan 19M 48.68 C++
4.0.0-8
View Solution
Rahul Garg 10M 48.11 C++
4.0.0-8
View Solution
Chris Narrikkattu 8.9M 34.31 C++
4.0.0-8
View Solution
Mark Greve 39M 48.25 C++
4.0.0-8
View Solution
Joshua Dittrich 2.9M 25.67 C++
4.0.0-8
View Solution
Varun Jalan 95M 33.20 C++
4.0.0-8
View Solution
Stephen Merriman 3.6M 43.42 C++
4.0.0-8
View Solution
Robert Gerbicz 32M 33.97 C View Solution
Erjin Zhou 22M 25.77 C++
4.0.0-8
View Solution
shangjingbo 15M 43.08 C++
4.0.0-8
View Solution
Ashutosh Mehra 60M 47.27 C++
4.0.0-8
View Solution
Date/Time User Lang
Result
2009-07-13 13:42:00 Tomasz Czajka C++
4.0.0-8

190797
2009-07-13 08:23:31 Josh Metzler C++
4.0.0-8

196752.8
2009-07-13 08:56:36 Balakrishnan... C++
4.0.0-8

197997.7
2009-07-13 11:57:55 Rahul Garg C++
4.0.0-8

208008.8
2009-07-13 05:18:44 Chris Narrik... C++
4.0.0-8

210955.3
2009-07-10 15:15:13 Mark Greve C++
4.0.0-8

213405.3
2009-07-13 13:13:32 Joshua Dittrich C++
4.0.0-8

214296.4
2009-07-13 13:40:28 Varun Jalan C++
4.0.0-8

215225.2
2009-07-11 06:07:24 Stephen Merr... C++
4.0.0-8

215258.8
2009-07-03 20:26:37 Robert Gerbicz C
215927.8
2009-07-05 11:51:23 Erjin Zhou C++
4.0.0-8

216034.4
2009-07-05 11:49:17 shangjingbo C++
4.0.0-8

216088.5
2009-07-13 05:54:35 Ashutosh Mehra C++
4.0.0-8

218501.1
Date/Time User Lang
Result
2009-07-13 13:42:00 Tomasz Cz... C++
4.0.0-8

190797
2009-07-13 08:23:31 Josh Metzler C++
4.0.0-8

196752.8
2009-07-13 08:56:36 Balakrish... C++
4.0.0-8

197997.7
2009-07-13 11:57:55 Rahul Garg C++
4.0.0-8

208008.8
2009-07-13 05:18:44 Chris Nar... C++
4.0.0-8

210955.3
2009-07-10 15:15:13 Mark Greve C++
4.0.0-8

213405.3
2009-07-13 13:13:32 Joshua Di... C++
4.0.0-8

214296.4
2009-07-13 13:40:28 Varun Jalan C++
4.0.0-8

215225.2
2009-07-11 06:07:24 Stephen M... C++
4.0.0-8

215258.8
2009-07-03 20:26:37 Robert Ge... C
215927.8
2009-07-05 11:51:23 Erjin Zhou C++
4.0.0-8

216034.4
2009-07-05 11:49:17 shangjingbo C++
4.0.0-8

216088.5
2009-07-13 05:54:35 Ashutosh ... C++
4.0.0-8

218501.1
Date/Time User Lang
Result
2009-07-13 13:42:00 Tomasz Czajka C++
4.0.0-8

190797
2009-07-13 08:23:31 Josh Metzler C++
4.0.0-8

196752.8
2009-07-13 08:56:36 Balakrishn... C++
4.0.0-8

197997.7
2009-07-13 11:57:55 Rahul Garg C++
4.0.0-8

208008.8
2009-07-13 05:18:44 Chris Narr... C++
4.0.0-8

210955.3
2009-07-10 15:15:13 Mark Greve C++
4.0.0-8

213405.3
2009-07-13 13:13:32 Joshua Dit... C++
4.0.0-8

214296.4
2009-07-13 13:40:28 Varun Jalan C++
4.0.0-8

215225.2
2009-07-11 06:07:24 Stephen Me... C++
4.0.0-8

215258.8
2009-07-03 20:26:37 Robert Ger... C
215927.8
2009-07-05 11:51:23 Erjin Zhou C++
4.0.0-8

216034.4
2009-07-05 11:49:17 shangjingbo C++
4.0.0-8

216088.5
2009-07-13 05:54:35 Ashutosh M... C++
4.0.0-8

218501.1
Date/Time User Lang
Result
2009-07-13 13:42:00 Tomasz Czajka C++
4.0.0-8

190797
2009-07-13 08:23:31 Josh Metzler C++
4.0.0-8

196752.8
2009-07-13 08:56:36 Balakrishnan... C++
4.0.0-8

197997.7
2009-07-13 11:57:55 Rahul Garg C++
4.0.0-8

208008.8
2009-07-13 05:18:44 Chris Narrik... C++
4.0.0-8

210955.3
2009-07-10 15:15:13 Mark Greve C++
4.0.0-8

213405.3
2009-07-13 13:13:32 Joshua Dittrich C++
4.0.0-8

214296.4
2009-07-13 13:40:28 Varun Jalan C++
4.0.0-8

215225.2
2009-07-11 06:07:24 Stephen Merr... C++
4.0.0-8

215258.8
2009-07-03 20:26:37 Robert Gerbicz C
215927.8
2009-07-05 11:51:23 Erjin Zhou C++
4.0.0-8

216034.4
2009-07-05 11:49:17 shangjingbo C++
4.0.0-8

216088.5
2009-07-13 05:54:35 Ashutosh Mehra C++
4.0.0-8

218501.1

HELP

Program should read from standard input and write to standard output.

After you submit a solution you can see your results by clicking on the [My Submissions] tab on the problem page. Below are the possible results:

  • Accepted Your program ran successfully and gave a correct answer. If there is a score for the problem, this will be displayed in parenthesis next to the checkmark.
  • Time Limit Exceeded Your program was compiled successfully, but it didn't stop before time limit. Try optimizing your approach.
  • Wrong Answer Your program compiled and ran succesfully but the output did not match the expected output.
  • Runtime Error Your code compiled and ran but encountered an error. The most common reasons are using too much memory or dividing by zero. For the specific error codes see the help section.
  • Compilation Error Your code was unable to compile. When you see this icon, click on it for more information.

If you are still having problems, see a sample solution here.

  • About CodeChef
  • About Directi
  • CEO's Corner
  • Careers
  • feedback@codechef.com

© 2009 Directi Group. All Rights Reserved. CodeChef uses SPOJ © by Sphere Research Labs

Sponsors
The time now is: