Submission #1180057


Source Code Expand

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

if 0 <= amari <= 5
    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 855 ms
Memory 168304 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 2
AC × 14
WA × 4
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 855 ms 168304 KB
00_example_02.txt AC 348 ms 106128 KB
01.txt AC 345 ms 107460 KB
02.txt AC 346 ms 104844 KB
03.txt AC 342 ms 107788 KB
04.txt AC 342 ms 105992 KB
05.txt AC 345 ms 105988 KB
06.txt AC 344 ms 105680 KB
07.txt AC 345 ms 107848 KB
08.txt AC 342 ms 109180 KB
09.txt WA 342 ms 105308 KB
10.txt AC 344 ms 108048 KB
11.txt WA 352 ms 105624 KB
12.txt AC 351 ms 109676 KB
13.txt WA 348 ms 109856 KB
14.txt AC 360 ms 105448 KB
15.txt WA 346 ms 105428 KB
16.txt AC 346 ms 105184 KB