Task: | HQ9+ |
Sender: | Grez |
Submission time: | 2020-11-27 19:25:45 +0200 |
Language: | C++ (C++17) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.01 s | 1, 2 | details |
#2 | WRONG ANSWER | 0.01 s | 2 | details |
Code
#include <iostream> using namespace std; int main() { int amo; cin >> amo; for (int i = 0; i < amo; i++) { int num; cin >> num; for (;num>493;num-=494) { cout<<'9'; } for (;num>9;num--) { cout<<'H'; } cout << endl; } }
Test details
Test 1
Group: 1, 2
Verdict: WRONG ANSWER
input |
---|
100 10 96 42 77 ... |
correct output |
---|
HHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH... |
user output |
---|
H HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH... Truncated |
Test 2
Group: 2
Verdict: WRONG ANSWER
input |
---|
100 76364 26254 35192 92572 ... |
correct output |
---|
999999999999999999999999999999... |
user output |
---|
999999999999999999999999999999... Truncated |