Submission #15575417


Source Code Expand

Copy
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from fractions import gcd
from itertools import combinations,permutations,accumulate # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
import decimal
import re
#import bisect
#
#    d = m - k[i] - k[j]
#    if kk[bisect.bisect_right(kk,d) - 1] == d:
#
#
#
# pythonで無理なときは、pypyでやると正解するかも!!
#
#
# my_round_int = lambda x:np.round((x*2 + 1)//2)
# 四捨五入
import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
def readInts():
  return list(map(int,input().split()))
def I():
  return int(input())
n = I()
x = I()
print(540 * x + 525 * (n-x))

Submission Info

Submission Time
Task A - プレミアム会員
User NoKnowledgeGG
Language Python (3.8.2)
Score 100
Code Size 843 Byte
Status
Exec Time 35 ms
Memory 10232 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
All 100 / 100 subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt, subtask1_random01.txt, subtask1_random02.txt, subtask1_random03.txt, subtask1_random04.txt, subtask1_random05.txt, subtask1_random06.txt, subtask1_random07.txt, subtask1_random08.txt, subtask1_random09.txt, subtask1_random10.txt, subtask1_random11.txt, subtask1_random12.txt, subtask1_random13.txt, subtask1_random14.txt, subtask1_random15.txt, subtask1_random16.txt, subtask1_random17.txt, subtask1_random18.txt
Case Name Status Exec Time Memory
subtask0_sample_01.txt 35 ms 10064 KB
subtask0_sample_02.txt 32 ms 10088 KB
subtask0_sample_03.txt 26 ms 10056 KB
subtask0_sample_04.txt 27 ms 10232 KB
subtask1_random01.txt 31 ms 10160 KB
subtask1_random02.txt 27 ms 10056 KB
subtask1_random03.txt 28 ms 10052 KB
subtask1_random04.txt 30 ms 10048 KB
subtask1_random05.txt 26 ms 10056 KB
subtask1_random06.txt 26 ms 10060 KB
subtask1_random07.txt 27 ms 10156 KB
subtask1_random08.txt 29 ms 10052 KB
subtask1_random09.txt 33 ms 10060 KB
subtask1_random10.txt 27 ms 10112 KB
subtask1_random11.txt 26 ms 10152 KB
subtask1_random12.txt 30 ms 10060 KB
subtask1_random13.txt 32 ms 10232 KB
subtask1_random14.txt 34 ms 10028 KB
subtask1_random15.txt 28 ms 10028 KB
subtask1_random16.txt 32 ms 10160 KB
subtask1_random17.txt 35 ms 10088 KB
subtask1_random18.txt 26 ms 10048 KB