Submission #11832295


Source Code Expand

Copy
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np

N = int(read())
x = np.arange(N + 1, dtype=np.int64)
x[::3] = 0
x[::5] = 0
print(x.sum())

Submission Info

Submission Time
Task B - FizzBuzz Sum
User maspy
Language Python (3.8.2)
Score 200
Code Size 237 Byte
Status AC
Exec Time 112 ms
Memory 34424 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 15
Set Name Test Cases
Sample sample_01, sample_02
All hand_01, hand_02, random_01, random_02, random_03, random_04, random_05, random_06, random_07, random_08, random_09, random_10, random_11, sample_01, sample_02
Case Name Status Exec Time Memory
hand_01 AC 112 ms 34256 KB
hand_02 AC 103 ms 26928 KB
random_01 AC 103 ms 30080 KB
random_02 AC 108 ms 33456 KB
random_03 AC 107 ms 29692 KB
random_04 AC 106 ms 27752 KB
random_05 AC 109 ms 31332 KB
random_06 AC 106 ms 27060 KB
random_07 AC 108 ms 27044 KB
random_08 AC 107 ms 29056 KB
random_09 AC 101 ms 27856 KB
random_10 AC 105 ms 28372 KB
random_11 AC 108 ms 30044 KB
sample_01 AC 102 ms 26916 KB
sample_02 AC 107 ms 34424 KB