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 |
188
|
Surprise Language Round 6 |
FINISHED |
False |
7200 |
393863399 |
May 25, 2012, 3:30 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 |
2086664 |
vlad107 |
E |
Sept. 1, 2012, 9:12 a.m. |
OK |
Roco |
TESTS |
44 |
10 |
307200 |
|
1500 |
3958356 |
stevenkplus |
E |
June 25, 2013, 7:53 a.m. |
OK |
Roco |
TESTS |
44 |
15 |
0 |
|
1500 |
3816688 |
yermak0v |
E |
June 2, 2013, 6:24 p.m. |
OK |
Roco |
TESTS |
44 |
15 |
102400 |
|
1500 |
3669332 |
Omelianenko |
E |
May 4, 2013, 1:36 p.m. |
OK |
Roco |
TESTS |
44 |
15 |
102400 |
|
1500 |
3037353 |
romanychda |
E |
Jan. 30, 2013, 2:53 p.m. |
OK |
Roco |
TESTS |
44 |
15 |
102400 |
|
1500 |
49361476 |
A_Le_K |
E |
Feb. 2, 2019, 1:04 p.m. |
OK |
Roco |
TESTS |
44 |
30 |
0 |
|
1500 |
46248332 |
nongi |
E |
Nov. 26, 2018, 12:46 p.m. |
OK |
Roco |
TESTS |
44 |
30 |
0 |
|
1500 |
45386764 |
khushiagr99 |
E |
Nov. 6, 2018, 6:07 p.m. |
OK |
Roco |
TESTS |
44 |
30 |
0 |
|
1500 |
45310845 |
yongwhan |
E |
Nov. 5, 2018, 3:47 a.m. |
OK |
Roco |
TESTS |
44 |
30 |
0 |
|
1500 |
5614498 |
PSDEV |
E |
Jan. 4, 2014, 7:58 a.m. |
OK |
Roco |
TESTS |
44 |
30 |
0 |
|
1500 |
remove filters
Back to search problems