Submission #19706886


Source Code Expand

Copy
package main

import "fmt"

func main() {
	var n, k int
	fmt.Scan(&n, &k)
	fmt.Println(n - k + 1)
}

Submission Info

Submission Time
Task A - Consecutive Integers
User mail
Language Go (1.14.1)
Score 100
Code Size 109 Byte
Status AC
Exec Time 8 ms
Memory 1772 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 9
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All rand_01.txt, rand_02.txt, rand_03.txt, rand_04.txt, rand_05.txt, rand_06.txt, rand_07.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
rand_01.txt AC 8 ms 1768 KB
rand_02.txt AC 2 ms 1752 KB
rand_03.txt AC 3 ms 1748 KB
rand_04.txt AC 2 ms 1748 KB
rand_05.txt AC 2 ms 1756 KB
rand_06.txt AC 3 ms 1772 KB
rand_07.txt AC 2 ms 1752 KB
sample_01.txt AC 2 ms 1752 KB
sample_02.txt AC 6 ms 1752 KB