QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#60922#5006. HeximalJesWA 52ms7292kbPython2100b2022-11-08 14:31:112022-11-08 14:31:12

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-11-08 14:31:12]
  • Judged
  • Verdict: WA
  • Time: 52ms
  • Memory: 7292kb
  • [2022-11-08 14:31:11]
  • Submitted

answer

import math
s=int(input ())
a=1
if(s==0):
    print(1)
else:
    print((int)(math.log(s,6)+1))

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 6824kb

input:

0

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 5ms
memory: 7008kb

input:

1865

output:

5

result:

ok single line: '5'

Test #3:

score: 0
Accepted
time: 26ms
memory: 7100kb

input:

6

output:

2

result:

ok single line: '2'

Test #4:

score: 0
Accepted
time: 15ms
memory: 7084kb

input:

5

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 20ms
memory: 7176kb

input:

216

output:

4

result:

ok single line: '4'

Test #6:

score: 0
Accepted
time: 50ms
memory: 7156kb

input:

659048550435237232393875796171343597297252783860791224966151609834498375660891507785647188078990198766575546966667938541517709208360385263203130845215396367798902376853652489767206051858708602045962531467486884777174160264291462611744982439094276291073422016146183934443085743192727084631329374278797...

output:

123577

result:

ok single line: '123577'

Test #7:

score: 0
Accepted
time: 52ms
memory: 7208kb

input:

637286934094250551301186948195454060023520466784469731722076118760796901153453161785733791072325231140849455280394350252083578793787444346422968345323710189673655767417617655269533527580365702029636429060155586335518340778842469836486236839137892829673798449316167933806048791899454879339101728941519...

output:

125454

result:

ok single line: '125454'

Test #8:

score: -100
Wrong Answer
time: 47ms
memory: 7292kb

input:

376088247305120545795087846023632574326906817050101694606533460213017066701269381478273980180361940671846343258020269558929049569368415051710824335866748379292562545277543679112869417037511648678774077455890119105423326793244044694699466198788005836129613254094283670534050040312053336119599856827840...

output:

116676

result:

wrong answer 1st lines differ - expected: '116677', found: '116676'