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 |
162
|
VK Cup 2012 Wild-card Round 1 |
FINISHED |
False |
7200 |
399739799 |
March 18, 2012, 3:10 p.m. |
Problems
B'HQ9+ is a joke programming language which has only four one-character instructions: Instructions "H" and "Q" are case-sensitive and must be uppercase. The characters of the program which are not instructions are ignored. You are given a program written in HQ9+. You have to figure out whether executing this program will produce any output. The input will consist of a single line p which will give a program in HQ9+. String p will contain between 1 and 100 characters, inclusive. ASCII-code of each character of p will be between 33 (exclamation mark) and 126 (tilde), inclusive. Output "YES", if executing the program will produce any output, and "NO" otherwise (quotes for clarity only). In the first case the program contains only one instruction -- "H", which prints "Hello, World!". In the second case none of the program characters are language instructions.'... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
3818181 |
yermak0v |
E |
June 3, 2013, 9:32 a.m. |
OK |
Factor |
TESTS |
44 |
140 |
0 |
|
2000 |
3669278 |
Omelianenko |
E |
May 4, 2013, 1:23 p.m. |
OK |
Factor |
TESTS |
44 |
140 |
0 |
|
2000 |
4554270 |
DarthShrine |
E |
Sept. 25, 2013, 10:27 a.m. |
OK |
Factor |
TESTS |
44 |
156 |
0 |
|
2000 |
1376464 |
Skiminok |
E |
March 18, 2012, 3:49 p.m. |
OK |
Factor |
TESTS |
44 |
160 |
185856000 |
|
2000 |
1510988 |
tec |
E |
April 12, 2012, 7:54 a.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
1505115 |
ddrone |
E |
April 8, 2012, 7:58 p.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
1406382 |
watashi |
E |
March 24, 2012, 7:20 p.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
1379438 |
FarbodY |
E |
March 19, 2012, 2:40 p.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
1378033 |
dlevshunov |
E |
March 18, 2012, 7:46 p.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
1377649 |
yxdb |
E |
March 18, 2012, 5:13 p.m. |
OK |
Factor |
TESTS |
44 |
170 |
185856000 |
|
2000 |
remove filters
Back to search problems