Submission #1180052


Source Code Expand

x = parse(Int, readline())
shou = div(x,11)
amari = mod(x,11)

if 0 <= amari <= 6
    println(2*shou+1)
else
    println(2*shou+2)
end

Submission Info

Submission Time
Task C - X: Yet Another Die Game
User asdfghjkl1234567
Language Julia (0.5.0)
Score 0
Code Size 142 Byte
Status WA
Exec Time 759 ms
Memory 162896 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 2
AC × 16
WA × 2
Set Name Test Cases
Sample 00_example_01.txt, 00_example_02.txt
All 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt
Case Name Status Exec Time Memory
00_example_01.txt AC 759 ms 162896 KB
00_example_02.txt AC 304 ms 105044 KB
01.txt AC 306 ms 111792 KB
02.txt AC 304 ms 109744 KB
03.txt AC 304 ms 105164 KB
04.txt AC 306 ms 109724 KB
05.txt AC 307 ms 105376 KB
06.txt AC 304 ms 105572 KB
07.txt AC 304 ms 107976 KB
08.txt AC 305 ms 105952 KB
09.txt AC 315 ms 109308 KB
10.txt AC 308 ms 106488 KB
11.txt WA 305 ms 108204 KB
12.txt AC 304 ms 105568 KB
13.txt WA 310 ms 105840 KB
14.txt AC 304 ms 105476 KB
15.txt AC 305 ms 106740 KB
16.txt AC 305 ms 106692 KB