Task: | Merkkijono |
Sender: | soap |
Submission time: | 2017-10-02 01:12:16 +0300 |
Language: | C++ |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | OUTPUT LIMIT EXCEEDED | 0 |
test | verdict | time | |
---|---|---|---|
#1 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#2 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#3 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#4 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#5 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#6 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#7 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#8 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#9 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
#10 | OUTPUT LIMIT EXCEEDED | 0.00 s | details |
Code
#include <bits/stdc++.h> using namespace std; int main() { long inp; cin >> inp; cout << inp << " "; while(inp != 1) { if(inp % 2 == 0) { inp /= 2; } else { inp = inp*3+1; } cout << inp << " "; } cout << "\n"; }
Test details
Test 1
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
ABABABABABABABABABABABABABABAB... |
correct output |
---|
ABABABABABABABABABABABABABABAB... |
user output |
---|
(empty) |
Test 2
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
AABBAABBAABBAABBAABBAABBAABBAA... |
correct output |
---|
(empty) |
user output |
---|
(empty) |
Test 3
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
ABABABABABABABABABABABABABABAB... |
correct output |
---|
(empty) |
user output |
---|
(empty) |
Test 4
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
BBABABBBBBAABBBABABABBBBAAABAB... |
correct output |
---|
BAB |
user output |
---|
(empty) |
Test 5
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
ACDCBBACDBBBACAACBBDBADBAABABA... |
correct output |
---|
ACDCACDADBADABACACDCADADABABCA... |
user output |
---|
(empty) |
Test 6
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
EETFHIJOGACDHMGVFJCMETMZDEITTR... |
correct output |
---|
TFHIJOGACDHMGVFJCMETMZDEIROTET... |
user output |
---|
(empty) |
Test 7
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
GOONLAHLYPRFCZKIKSJWAWWYJJPCDB... |
correct output |
---|
GNLAHLYPRFCZKIKSJWAYPCDNWYMRCE... |
user output |
---|
(empty) |
Test 8
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
PISHWMOTCDDZFRMYMOMYDYYGJZIQHS... |
correct output |
---|
PISHWMOTCZFRMYMOMYDGJZIQHSVAOK... |
user output |
---|
(empty) |
Test 9
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
QUVVTPXAMWWODFXRONJODPGBTCISGM... |
correct output |
---|
QUTPXAMODFXRONJODPGBTCISGMVRBW... |
user output |
---|
(empty) |
Test 10
Verdict: OUTPUT LIMIT EXCEEDED
input |
---|
POXHAHYEZTLYNFSLABODMRNKDSKROZ... |
correct output |
---|
POXHAHYEZTLYNFSLABODMRNKDSKROZ... |
user output |
---|
(empty) |