Submission #1486013


Source Code Expand

n, m = gets.split(" ").map(&:to_i)
a = n - 1
b = m - 1
puts a * b

Submission Info

Submission Time
Task A - K-City
User hanaseleb
Language Ruby (2.3.3)
Score 100
Code Size 68 Byte
Status AC
Exec Time 7 ms
Memory 1788 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample 0_00.txt, 0_01.txt
All 0_00.txt, 0_01.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt
Case Name Status Exec Time Memory
0_00.txt AC 7 ms 1788 KiB
0_01.txt AC 6 ms 1788 KiB
1_00.txt AC 7 ms 1788 KiB
1_01.txt AC 7 ms 1788 KiB
1_02.txt AC 7 ms 1788 KiB
1_03.txt AC 6 ms 1788 KiB
1_04.txt AC 7 ms 1788 KiB
1_05.txt AC 7 ms 1788 KiB
1_06.txt AC 6 ms 1788 KiB
1_07.txt AC 7 ms 1788 KiB