VPL0_E - External Sequence
This problem is nearly impossible to solve! You are given no goals; you can only guess what the corresponding output is for each input. Good luck!
Input
The first line contains an integer T , which specifies the number of test cases. Then, will follow the descriptions of T test cases.
For each case you will receive an integer N , then, you must print the N -th sequence.
The input must be read from standard input.
Output
For each input case you must print the string "Scenario #i: " where i denotes the case you are analyzing (starting from 1) and the sequence as described above.
The output must be written to standard output.
Input
Output for sample input
5
0
1
2
3
9
Scenario #1: 1
Scenario #2: 11
Scenario #3: 21
Scenario #4: 1211
Scenario #5: 13211311123113112211
Constraints
• 1 ≤ T ≤ 41
• 0 ≤ N ≤ 40
The score will be the quantity of characters the code has.
hide comments
Bhavik:
2014-07-21 16:41:04
ans for n=40 is 82350 digits long..take care:) |
|
Mitch Schwartz:
2013-02-04 05:17:01
Ok, 74 bytes solution with standard scoring is possible in Perl. |
|
Aditya Pande:
2012-12-23 16:24:29
1. why is whitespace not counted?
|
|
:D:
2012-12-14 10:08:57
Information on the bottom of the ranks site:
|
|
DINESH JANGID:
2012-12-14 10:00:35
I got no points after submitting it...Why???? |
|
Aditya Pande:
2012-12-14 05:08:35
@Mitch:
|
|
Mitch Schwartz:
2012-12-13 22:34:19
I didn't test extensively, but it's not only whitespace that isn't counted; it apparently uses a judge much like SIZECON but *before* a certain fix to the judge. So it seems altogether likely that the problem can be solved in 0 bytes in Bash, although I don't know the trickery involved. Having 0 as the top score could break the scoring system. And even if this issue is dealt with (e.g. by adding a 1 to the score), the problem is in some sense a duplicate of SIZECON. @problem setter: What is your intent? Are you aware of these issues?
|
|
Aditya Pande:
2012-12-13 16:28:30
@problem setter
|
|
Robert Gerbicz:
2012-12-12 18:41:01
Currently the judge don't count whitespace characters. Why? Or is it intended? Last edit: 2012-12-12 18:41:25 |
|
(Tjandra Satria Gunawan)(曾毅昆):
2012-12-12 15:59:01
Thanks for moving this problem to challenge section :-) |
Added by: | Venezuelan Programming League |
Date: | 2012-12-08 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
Resource: | Own problem used for VPL0-Contest |