problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p02763
u348805958
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['#!python3\n\nimport sys\n\niim = lambda: map(int, input().rstrip().split())\n\ndef popcnt2(n):\n a = (\n 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,\n 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,\n 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,\n 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4,...
['Runtime Error', 'Accepted']
['s644438244', 's350427609']
[32572.0, 33280.0]
[364.0, 350.0]
[2182, 1142]
p02763
u368796742
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import bisect\n\nn = int(input())\ns = list(input())\nq = int(input())\nl = [[] for i in range(26)]\nfor i in range(n):\n l[ord(s[i])-ord("a")].append(i)\nprint(l)\n\nfor i in range(q):\n x,y,z = input().split()\n if int(x) == 1:\n if s[int(y)-1] == z:\n continue\n index = bisect.bis...
['Runtime Error', 'Accepted']
['s915728423', 's390731075']
[40440.0, 28872.0]
[1384.0, 1216.0]
[726, 630]
p02763
u413165887
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['n = int(input())\ns = input()\n\nx = [[0 for _i in range(n)] for _j in range(26)]\nfor i in range(n):\n x[ord(s[i])-97][i] = 1\nq = int(input())\nr = []\nfor _i in range(q):\n y = list(input().split())\n i = int(y[1])-1\n if y[0] == "1":\n x[ord(s[i])-97][i] = 0\n x[ord(y[2])-97][i] = 1\n ...
['Wrong Answer', 'Accepted']
['s172239028', 's472826574']
[112268.0, 35432.0]
[2110.0, 1975.0]
[444, 693]
p02763
u541318412
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
["n=int(input())+1\nw = input()\ndata=[0]*n*2\ndef update(i,x):\n i+=n\n data[i]=x\n i//=2\n while i:\n data[i]=data[i*2]|data[i*2+1]\n i//=2\ndef query(l,r):\n l+=n\n r+=n\n s=0\n while l<r:\n if l&1 == 1:\n s|=data[l]\n l+=1\n if r&1 == 1:\n r-=1\n ...
['Wrong Answer', 'Accepted']
['s249975758', 's973597475']
[202524.0, 43860.0]
[1034.0, 628.0]
[845, 799]
p02763
u543954314
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
["import sys\n\nstdin = sys.stdin\n\nns = lambda: stdin.readline().rstrip()\nni = lambda: int(stdin.readline().rstrip())\nnm = lambda: map(int, stdin.readline().split())\nnl = lambda: list(map(int, stdin.readline().split()))\n\nclass SegTree:\n def __init__(self, N):\n self.N = N\n self._N = 1<<((N-1)....
['Wrong Answer', 'Accepted']
['s204749606', 's065928594']
[47668.0, 47636.0]
[1226.0, 1222.0]
[1461, 1543]
p02763
u557282438
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['N = int(input())\nS = input()\nQ = int(input())\nQuery = [input() for _ in range(Q)]\ndic = {chr(i+ord("a")):[] for i in range(26)}\nfor i, s in enumerate(S):\n dic[s].append(i)\nfor q in Query:\n t,a,b = q.split()\n if(t == "1"):\n a_index = int(a)-1\n if(S[a_index]==b):\n continue\...
['Runtime Error', 'Accepted']
['s530535390', 's797913686']
[26632.0, 30600.0]
[172.0, 884.0]
[697, 662]
p02763
u559196406
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import bisect\n\nn = int(input())\ns = input()\nq = int(input())\n\nalpha_map = {i:[] for i in alpha}\nfor i,c in enumerate(s):\n bisect.insort(alpha_map[c],i+1)\n \nfor _ in range(q):\n x,y,z = map(str,input().split())\n if int(x) == 1:\n y = int(y)\n bef = s[y-1]\n if bef == z:\n ...
['Runtime Error', 'Accepted']
['s026810727', 's860178254']
[4084.0, 29960.0]
[19.0, 1342.0]
[665, 675]
p02763
u572142121
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
["from bisect import bisect_left,bisect_right\nimport string \n\ndic = {c:[] for c in string.ascii_lowercase}\n\nn = int(input())\ns = list(input())\nq = int(input())\n\nfor i,c in enumerate(s,start=1):\n dic[c].append(i)\nprint(dic)\n\nfor i in range(q):\n p,l,r = map(str,input().split())\n if p =='1':\n j = int...
['Wrong Answer', 'Accepted']
['s855267108', 's410883081']
[41092.0, 31112.0]
[1136.0, 1121.0]
[665, 612]
p02763
u595289165
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['n = int(input())\ns = list(input())\nq = int(input())\nquery = []\na = []\nfor _ in range(q):\n method, i, c = input().split()\n if method == "1":\n a.append([i, c])\n else:\n a.append([i, c])\n query.append(a)\n a = []\nstring = []\nnow = s\nfor qq in query:\n if len(qq) == 1:...
['Wrong Answer', 'Accepted']
['s595599232', 's279124834']
[21072.0, 48032.0]
[2104.0, 826.0]
[533, 1789]
p02763
u628583308
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['#!/usr/bin/env python3\nimport bisect\n\n# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template)\ndef main():\n N = int(input())\n S = list(input())\n Q = int(input())\n\n L = [[] for x in range(2...
['Runtime Error', 'Accepted']
['s206482665', 's934281538']
[28424.0, 30216.0]
[475.0, 1027.0]
[1329, 1361]
p02763
u638456847
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import sys\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\n\n\nclass SegmentTree:\n def __init__(self, A):\n self.n = 2**(len(A)-1).bit_length()\n self.identity = set()\n self.seg = [self.identity] * (2 * self.n)\n \n for i, a in enumerate(...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s642392690', 's933544616', 's742006213']
[341828.0, 73404.0, 46628.0]
[2128.0, 684.0, 540.0]
[1561, 1634, 1548]
p02763
u652583512
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
["\nclass SegmentTree:\n def __init__(self, base_array,n , default_value = 0, segfunc = lambda a, b: a + b): \n self._num = 2 ** (n - 1).bit_length()\n self._seg = [default_value] * 2 * self._num\n self._segfunc = segfunc\n self._ide_ele = default_value\n for i in range(n):\n ...
['Wrong Answer', 'Accepted']
['s526803518', 's386999701']
[56160.0, 51992.0]
[919.0, 873.0]
[1929, 1915]
p02763
u686230543
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['class SegmentTree:\n """Segmant Tree for query process.\n\n Args:\n a (List[int]): array.\n identity (int): identity element with f.\n """\n def __init__(self, a, identity=0):\n self.a = a\n self.n = len(a)\n self.identity = identity\n self.depth = (self.n - 1).bit_length()\n self.segment = (...
['Runtime Error', 'Runtime Error', 'Accepted']
['s255519368', 's851316845', 's550992481']
[128708.0, 3192.0, 48184.0]
[2106.0, 18.0, 738.0]
[1779, 1810, 1645]
p02763
u726285999
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
["import bisect \nfrom collections import defaultdict\n\nN = int(input())\nS = [*input()]\nQ = int(input())\nd = defaultdict(list)\n\n\nfor i, c in enumerate(S):\n d[c] += [i]\n\n\nprint(d)\n\nfor _ in range(Q):\n q, y, z = input().split()\n\n if q == '1':\n i = int(y) - 1 \n\n if S[i] == z: co...
['Wrong Answer', 'Accepted']
['s466772808', 's485947905']
[43480.0, 35220.0]
[879.0, 914.0]
[909, 968]
p02763
u736729525
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['def order(c):\n return 1 << (ord(c) - 97)\n\ndef count(n):\n return bin(n).count("1")\n\ndef merge(x, y):\n return x | y\n\ndef main():\n N = int(input())\n S = [x for x in input()]\n Q = int(input())\n L = 1\n while L < N:\n L *= 2\n L*=2 \n Seg = [0]*(L*2)\n\n def update(k, x...
['Wrong Answer', 'Accepted']
['s895072814', 's949213082']
[44216.0, 38556.0]
[2109.0, 1196.0]
[1416, 1517]
p02763
u814986259
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import collections\nimport sys\ninput = sys.stdin.readline\nN = int(input())\nS = list(input())\nQ = int(input())\nalpha = "abcdefghijklmnopqrstuvwxyz"\nd = dict()\n\nfor x in alpha:\n d[x] = ord(x) - 97\n\n\nclass segment_tree:\n n = 0\n segtree = []\n\n def __init__(self, A):\n N = len(A)\n ...
['Wrong Answer', 'Accepted']
['s590800985', 's508678775']
[51624.0, 51616.0]
[1051.0, 966.0]
[2251, 2042]
p02763
u875541136
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import bisect\n\nN = int(input())\nS = list(str(input()))\n\ndef ordN(x):\n return ord(x) - ord(\'a\')\n\nli = [[] for _ in range(26)]\nfor i,s in enumerate(S):\n li[ordN(s)].append(i)\n\nfor i in range(int(input())):\n Q1, Q2, Q3 = input().split()\n if Q1 == "1":\n Q2 = int(Q2) - 1\n if S[Q2] != Q3:\n ...
['Runtime Error', 'Accepted']
['s187756588', 's839001441']
[28808.0, 30344.0]
[1155.0, 1160.0]
[618, 627]
p02763
u884692162
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['class SegmentTree:\n \n \n \n def __init__(self, size, f=lambda x,y : x+y, default=0):\n self.size = 2**(size-1).bit_length() \n self.default = default\n self.dat = [default]*(self.size*2) \n self.f = f\n\n \n def update(self, i, x):\n i += self.size\n self....
['Runtime Error', 'Runtime Error', 'Accepted']
['s787739640', 's796535532', 's934415823']
[25472.0, 3064.0, 43440.0]
[2104.0, 18.0, 1005.0]
[1683, 1637, 2497]
p02763
u906501980
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['def main():\n n = int(input())\n S = input()\n q = int(input())\n for _ in range(q):\n t, i, c = input().split()\n if t == \'1\':\n S[int(i)-1] = c\n else:\n print(len(set(S[int(i)-1:int(c)])))\n \nif __name__ == "__main__":\n main() ', 'from bisect i...
['Runtime Error', 'Accepted']
['s187257394', 's737812404']
[3976.0, 28424.0]
[2104.0, 1060.0]
[287, 826]
p02763
u964299793
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['7\nabcdbbd\n6\n2 3 6\n1 5 z\n2 1 1\n1 4 a\n1 7 d\n2 1 7\n', "import sys\ninput=sys.stdin.readline\nn=int(input())\n#print(n,end=' n')\ndata=[0]*(2*n)\ndef upd(i,x):\n i+=n\n data[i]=x\n while i>1:\n data[i>>1]=data[i]|data[i^1]\n i>>=1\ndef qry(l,r):\n l+=n\n r+=n\n res=0\n while l<r:\n if l&1:\n ...
['Runtime Error', 'Accepted']
['s782469283', 's762929256']
[2940.0, 43536.0]
[17.0, 586.0]
[48, 681]
p02763
u970133396
2,000
1,048,576
You are given a string S of length N consisting of lowercase English letters. Process Q queries of the following two types: * Type 1: change the i_q-th character of S to c_q. (Do nothing if the i_q-th character is already c_q.) * Type 2: answer the number of different characters occurring in the substring of S be...
['import bisect\nn = int(input().strip())\nS = input().strip()\nL=[[] for _ in range(26)]\nfor i,s in enumerate(S):\n L[ord(s)-ord("a")].append(i)\n\nq = int(input().strip())\nfor _ in range(q):\n query=input().strip().split()\n if query[0]=="1":\n i=int(query[1])\n i-=1\n c=query[2]\n ...
['Runtime Error', 'Accepted']
['s733719875', 's319568412']
[25096.0, 28808.0]
[1318.0, 1135.0]
[740, 746]
p02765
u004482945
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\nif n <= 10:\n ans = r - 100*(10-n)\nelse:\n ans = r\nprint(ans)', 'n, r = map(int, input().split())\nans = r - 100*(10-n)\nprint(ans)', 'n, r = map(int, input().split())\nif n <= 10:\n ans = r + 100*(10-n)\nelse:\n ans = r\nprint(ans)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s171547100', 's457457180', 's913641497']
[9136.0, 8888.0, 9140.0]
[27.0, 27.0, 25.0]
[94, 64, 94]
p02765
u004823354
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r = map(int,input().split())\nif n <= 10:\n print(r-100*(10-n))\nelse:\n print(r)', 'n,r = map(int,input().split())\nif 0 <= n <= 10:\n print(r-100*(10-n))\nelse:\n print(r)', 'n,r = map(int,input().split())\nif 0 <= n <= 10:\n print(r+100*(10-n))\nelse:\n print(r)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s013217632', 's769040921', 's789570245']
[9056.0, 9184.0, 8864.0]
[29.0, 29.0, 29.0]
[81, 86, 86]
p02765
u010870870
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["import sys\nimport os\nf = open('input.txt', 'r')\nsys.stdin = f\n\ns = list(map(int, input().split()))\nans = 0\n\nif s[0]<=10:\n ans = s[1]+100*(10-s[0])\nelse:\n ans = s[1]\n\nprint(ans)\n", 's = list(map(int, input().split()))\nans = 0\n\nif s[0]<=10:\n ans = s[1]+100*(10-s[0])\nelse:\n ans = s[1]\n\n...
['Runtime Error', 'Accepted']
['s730480358', 's920046506']
[3060.0, 3064.0]
[17.0, 17.0]
[183, 120]
p02765
u015593272
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\n\nif (N >= 10):\n ans = R\nelse:\n ans = R + 1000 - 100 * N', 'N, R = map(int, input().split())\n\nif (N >= 10):\n ans = R\nelse:\n ans = R + 1000 - 100 * N\n\nprint(ans)']
['Wrong Answer', 'Accepted']
['s248870292', 's562706309']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 106]
p02765
u016901717
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r = map(int,input().split())\nif 10<=n :\n print(r)\nelif 1<= n <10:\n print(r+100*(100-n))\n', 'n,r = map(int,input().split())\nif 10<=n :\n print(r)\nelif 1<= n <10:\n print(r+100*(10-n))\n']
['Wrong Answer', 'Accepted']
['s331865753', 's566638806']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 91]
p02765
u017050982
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['import math\n\nN,K = map(int,input().rstrip().split(" "))\nif N > 0:\n print(math.ceil(math.log(N+1,K)))\nelse:\n print(1)', 'N = int(input())\nX = list(map(int,input().rstrip().split(" ")))\nans = 0\nansb = 0\nfor i in range(100):\n ansb = 0\n for i2 in range(N):\n ansb += (X[i2] - i)**2\n if i == 0 or ans >...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s513899513', 's875854685', 's903792324', 's853077679']
[2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0, 17.0]
[118, 215, 95, 96]
p02765
u018258333
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["n = int(input())\nx = input().split(' ')\n\np = 0\nans = []\nwhile p <= int(x[n-1]):\n e = 0\n for i in range(n):\n e += (int(x[i])-p)**2\n ans.append(e)\n p+=1\nprint(min(ans))", 'n,r = map(int,input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r+ 100*(10 - n))']
['Runtime Error', 'Accepted']
['s400044105', 's651413051']
[3060.0, 9084.0]
[18.0, 27.0]
[173, 85]
p02765
u018679195
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N = int(input())\nR = int(input())\nif 0 <= R <= 4111:\n if 10 <= N <= 100:\n print(R)\n else:\n K = 100 * (10 - N)\n M = R + K\n print(M)', "def E(N,R):\n if int(N)==N and int(R)==R:\n if 1<= N <= 100 and 0<= R <= 4111:\n if N > 10:\n print(R)\n ...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s000069779', 's323497824', 's399928715', 's940789701', 's277164131']
[9168.0, 8972.0, 9164.0, 8968.0, 2940.0]
[24.0, 30.0, 21.0, 27.0, 17.0]
[164, 327, 237, 387, 107]
p02765
u019291053
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['import numpy as np\n\nn,r = map(int,input().split())\nprint(n,r)\n\nif n < 10:\n print(r + 1000 - 100*n)\nelse:\n print(r)', 'import numpy as np\n\nn,r = map(int,input().split())\nprint(n,r)\n\nif n < 10:\n print(r + 1000 - 100*n)\nelse:\n print(r)', 'import numpy as np\n\nn,r = map(int,input().split())\n...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s339606251', 's715777592', 's453193674']
[13472.0, 12424.0, 19120.0]
[188.0, 152.0, 263.0]
[120, 120, 109]
p02765
u021521597
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['# -*- coding: utf-8 -*-\nN,R = map(int, input().split())\nif N <= 10:\n\tR = R - 100 * (10 - N )\n \nprint(R)', '# -*- coding: utf-8 -*-\nN,R = map(int, input().split())\nif N < 10:\n R = R - 100×(10−N)\n\nprint(R)', '# -*- coding: utf-8 -*-\nN,R = map(int, input().split())\nif N < 10:\n\tR = R - 100 * (10 - N )...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s063716164', 's169352616', 's807761368', 's859155748']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[107, 100, 106, 106]
p02765
u021548497
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r-(10-n)*100)', 'n, r = map(int, input().split())\nprint(r+max(0, 10-n)*100)']
['Wrong Answer', 'Accepted']
['s682363655', 's768174079']
[2940.0, 2940.0]
[16.0, 18.0]
[83, 58]
p02765
u024422110
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int, input().split())\n\nif N < 10:\n A = 100*(10-N)\n \n print(R-A)\nelse:\n print(R)', 'N,R = map(int, input().split())\n\nif N < 10:\n A = 100*(10-N)\n print(R+A)\nelse:\n print(R)']
['Wrong Answer', 'Accepted']
['s766842923', 's849389625']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 90]
p02765
u028014940
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\n\nif N >= 10:\n print(str(R))\n \n else:\n print(str(R + 100 * (10 - N)))', 'N, R = map(int, input().split())\n \nif N >= 10:\n print(str(R))\n \nelse:\n print(str(R + 100 * (10 - N)))']
['Runtime Error', 'Accepted']
['s035931999', 's700596634']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 104]
p02765
u029935728
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R=input().split()\nN=int(N)\nR=int(R)\nif N>=10:\n\tprint(R)\nelse :\n\tprinAt((100*(10-N))+R)', 'N,R=input().split()\nN=int(N)\nR=int(R)\nif N>=10:\n\tprint(R)\nelse :\n\tprint(100*(10-N))', 'N,R=input().split()\nN=int(N)\nR=int(R)\nif N>=10:\n\tprint(R)\nelse :\n\tprint((100*(10-N))+R)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s382794222', 's607953214', 's035244728']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[88, 83, 87]
p02765
u030278108
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\n\nif n < 10:\n a = 100 * (10 - n)\n b = r - a\n if b >=0:\n print(b)\n else:\n print(0)\nelse:\n print(r)', 'n, r = map(int, input().split())\n\nif n < 10:\n a = 100 * (10 - n)\n print(r - a)\nelse:\n print(r)', 'n, k =map(int, input().split())\n...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s083839909', 's430865788', 's498944294', 's526171291', 's540923286', 's675470774', 's379595869']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[158, 103, 174, 97, 89, 158, 158]
p02765
u030726788
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r = map(int,input().split())\n\nif(n >= 10):\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r = map(int,input().split())\n\nif(n >= 10):\n print(r)\nelse:\n print(r+100*(10-n))\n']
['Wrong Answer', 'Accepted']
['s709562695', 's400080493']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 88]
p02765
u031722966
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['def main():\n N,R = map(int,input().split())\n if N > 11:\n a = 100 * (10 - N)\n print(a + R)\n else:\n print(R)\nmain()', 'def main():\n N,R = map(int,input().split())\n if N < 11:\n a = 100 * (10 - N)\n print(a + R)\n else:\n print(R)\nmain()']
['Wrong Answer', 'Accepted']
['s460905116', 's444237766']
[2940.0, 2940.0]
[18.0, 17.0]
[143, 143]
p02765
u032222383
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r=int(input().split())\nif n <10:\n print(r-100*(10-2))\nelse:\n print(r)', 'n,r=map(int,input().split())\nif n<10:\n print(r+(10-n)*100)\nelse:\n print(r)']
['Runtime Error', 'Accepted']
['s201876530', 's151675831']
[2940.0, 2940.0]
[18.0, 18.0]
[73, 80]
p02765
u033168327
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N = int(input())\nR = int(input())\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)\n', 'N = int(input())\nR = int(input())\nif N < 10:\n print(1000-100*N)\nelse:\n print(R)', 'N,R= map(int,input().split())\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s099032277', 's406002979', 's461186507']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[88, 85, 83]
p02765
u035445296
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r = map(int,input().split())\nif n>10:\n print(r)\nelse:\n print(100*(10-n))', 'n,r = int(input())\nif n>10:\n print(r)\nelse:\n print(r-(100*(10-n)))', 'n,r = map(int,input().split())\nif n>10:\n print(r)\nelse:\n print(r+100*(10-n))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s560651967', 's660848248', 's391704523']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[76, 68, 78]
p02765
u038216098
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R=map(int,input().split())\nnaibu=0\nif(N>=10):\n naibu=R\nelse:\n naibu=R+100*(10-R)\nprint(naibu)', 'N,R=map(int,input().split())\nnaibu=0\nif(N>=10):\n naibu=R\nelse:\n naibu=R+100*(10-N)\nprint(naibu)']
['Wrong Answer', 'Accepted']
['s077034644', 's347042289']
[8988.0, 9164.0]
[28.0, 26.0]
[97, 97]
p02765
u038819082
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R=int(input().split())\nc=0\nif N>=10:\n c=R\nelse:\n c=R+100*(10-c)\nprint(c)', 'N,R=map(int,input().split())\nc=0\nif N>=10:\n c=R\nelse:\n c=R+100*(10-c)\nprint(c)', 'N,R=map(int,input().split())\nc=0\nif N>=10:\n c=R\nelse:\n c=R+100*(10-N)\nprint(c)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s309783142', 's710890207', 's845076077']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[76, 80, 80]
p02765
u039189422
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,K = map(int,input().split())\nN += 1\nans = 1\nfor i in range(1000000): \n\tif K**(ans) < N:\n\t\tans += 1\n\telse:\n\t\tprint(ans)\n\t\tbreak', 'N,R = map(int,input().split())\n\nif N < 10:\n\tprint(R + 100*(10-N))\nelse:\n\tprint(R)']
['Wrong Answer', 'Accepted']
['s111338909', 's473043664']
[2940.0, 2940.0]
[434.0, 17.0]
[128, 81]
p02765
u047197186
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = [int(elem) for elem in input().split()]\n\nif n < 10:\n print(r - 100 *(10-n))\nelse:\n print(r)', 'n, r = [int(elem) for elem in input().split()]\n \nif n < 10:\n print(r + 100 *(10-n))\nelse:\n print(r)']
['Wrong Answer', 'Accepted']
['s990218033', 's384319736']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 101]
p02765
u047816928
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\nprint(R+100*(10-min(10,K)))', 'N, R = map(int, input().split())\nprint(R+100*(10-min(10,N)))']
['Runtime Error', 'Accepted']
['s926598039', 's938210898']
[2940.0, 2940.0]
[18.0, 17.0]
[60, 60]
p02765
u048956777
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, k = map(int, input().split())\n\ni = 0\nwhile n > 0:\n n = n - k**i\n if n < 0:\n break\n i += 1\n\nprint(i)', 'n, r = map(int, input().split())\n\nif n < 10:\n r = r+(100*(10-n))\n\nprint(r)']
['Wrong Answer', 'Accepted']
['s251995679', 's380412049']
[2940.0, 2940.0]
[2104.0, 17.0]
[118, 77]
p02765
u049574854
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R=(int(i)for i in input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(100*(10-N))', 'N,R=(int(i)for i in input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R=(int(i)for i in input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s670459080', 's679140265', 's499186652']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[90, 92, 92]
p02765
u051496905
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N , R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(N + 100*(10 - R))', 'N , R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R + 100*(10 - N))']
['Wrong Answer', 'Accepted']
['s501915949', 's582427838']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 92]
p02765
u052331051
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["import os\nimport sys\nimport numpy \n\nif _name_=='__main__':\n _input = input()\n _input = _input.split()\n N = _input[0]\n R = _input[1]\n if N<10:\n R -= 100 * (10-N)\n print(R)", '_input = input()\nnumber = _input.split()\nN = number[0]\nR = number[1]\nif N<10:\n R += 100 * (10-N)\nprint(R)\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s111178877', 's938228948', 's822817100']
[21796.0, 2940.0, 2940.0]
[317.0, 17.0, 17.0]
[179, 119, 130]
p02765
u054931633
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,k = map(int,input().split())\nfor i in range(1,30):\n if n >= k**(i-1) and n < k**i:\n print(i)', 'n,k = map(int,input().split())\nfor i in range(30):\n if n >= k**(i-1) and n < k**i:\n print(i)', 'n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s171427527', 's370155069', 's440523337']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[104, 102, 83]
p02765
u057993957
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = [int(i) for i in input().split()]\nprint(r if n > 10 else r * (10 - n))', 'n, r = [int(i) for i in input().split()]\nprint(r if n >= 10 else r * (10 - n))', 'n, r = [int(i) for i in input().split()]\nprint(r if n >= 10 else r + 100 * (10 - n))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s697412475', 's941200683', 's255737923']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[77, 78, 84]
p02765
u060012100
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int,input().split())\nans = 100*(10-N)+R\nif N>=10:\n print(R)\n else:\n print(ans)', 'N,R = map(int, input().split())\nans = 100*(10-N)+R\nif N>=10:\n print(R)\nelse:\n print(ans)']
['Runtime Error', 'Accepted']
['s053981130', 's493053135']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 90]
p02765
u063346608
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int,input().split())\n\nif N >= 10:\n answer = R\nelse:\n answer = R - 100 * (10 - N )\n\nprint(answer)\n', 'N,R = map(int,input().split())\n\nif N >= 10:\n answer = R\nelse:\n answer = R + 100 * (10 - N )\n\nprint(answer)']
['Wrong Answer', 'Accepted']
['s173142232', 's134835188']
[2940.0, 2940.0]
[17.0, 18.0]
[109, 108]
p02765
u065994196
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['inp=list(map(int,input().strip().split()))[:2]\nn,r=inp[0],inp[1]\nif(n < 9):\n print(100*(10-r))\nelse:\n print(r)', 'inp=list(map(int,input().strip().split()))[:2]\nn,r=inp[0],inp[1]\nif(n <= 9):\n print(100*(10-n)+r)\nelse:\n print(r)\n']
['Wrong Answer', 'Accepted']
['s936064390', 's175022065']
[3064.0, 2940.0]
[17.0, 19.0]
[112, 116]
p02765
u066551652
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\nans = 0\n\nif N >= 10:\n ans = R\nelse:\n ans = R + 100*(10 - K)\n\nprint(ans)\n ', 'K, R = map(int, input().split())\nans = 0\n \nif K >= 10:\n ans = R\nelse:\n ans = R + 100*(10 - K)\n \nprint(ans)']
['Runtime Error', 'Accepted']
['s903646437', 's218524715']
[2940.0, 2940.0]
[17.0, 18.0]
[109, 108]
p02765
u067986264
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\nif N < 10:\n print(100*(10-N) + R)\nprint(R)', 'N, R = map(int, input().split())\nif N <= 10:\n print(100*(10-N) + R)\nprint(R)', 'N, R = map(int, input().split())\nif N < 10:\n print(N + R)\nprint(R)', 'n, r = map(int, input().split())\nif n < 10:\n print(r + 800)\nprint...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s139452922', 's288699833', 's599909695', 's965253129', 's041200856']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 17.0, 17.0]
[78, 79, 69, 72, 65]
p02765
u068666298
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N = int(input())\na = [input() for i in range(N)]\nP=round(sum(A)/N)\nB=0\nfor i in range(N):\n\tB=B+(A[i]-P)**2\nprint(B)', 'N = int(input())\nA = list(map(int, input().split())) \nP=round(sum(A)/N)\nB=0\nfor i in range(N):\n\tB=B+(A[i]-P)**2\nprint(B)', 'from math import factorial\nN, a, b = map(int, input().split(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s095444549', 's234683336', 's282222097', 's360776801', 's396852132', 's401167258', 's483720203', 's548606550', 's654550825', 's697271805', 's697926727', 's926117296', 's949615169', 's078083584']
[2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 16.0, 17.0, 2104.0, 17.0, 17.0, 17.0]
[115, 120, 259, 209, 117, 90, 167, 121, 167, 137, 96, 89, 117, 89]
p02765
u068862866
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int,input().split())\n\nif N<10:\n print(100*(10-K))\nelse:\n print(R)', 'N,R = map(int,input().split())\n \nif N<10:\n print(R+100*(10-N))\nelse:\n print(R)']
['Runtime Error', 'Accepted']
['s361036902', 's777348537']
[8972.0, 9072.0]
[27.0, 26.0]
[77, 80]
p02765
u069273180
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['from sys import stdin\nn,k=list(map(int,input().split()))\nc=0\nwhile n > 0:\n c += 1\n n//=k\nprint(c)\n', 'from sys import stdin\nn,k=map(int,input().split())\nc=0\nwhile n > 0:\n c += 1\n n//=k\nprint(c)\n', 'from sys import stdin\n\nn = int(input())\nr = int(input())\n\nif n < 11:\n a = r + 100 * (...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s252534239', 's340193057', 's388775609', 's501217574', 's512079004', 's519052980', 's657807305', 's700301523', 's710557512', 's359517670']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 2104.0, 17.0, 17.0, 17.0]
[104, 98, 120, 144, 120, 120, 137, 106, 116, 111]
p02765
u071916806
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r=input().split()\nn=int(n)\nr=int(r)\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))', 'N,R=input().split()\nn=int(N)\nr=int(R)\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))']
['Wrong Answer', 'Accepted']
['s056026104', 's409555824']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p02765
u075109824
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = input().split(" ")\nif n<10:\n print((100*(10-n))+r)\nelse:\n print(r)', 'n, r = input().split(" ")\nn=int(n)\nr=int(r)\nif n<10:\n print((100*(10-n))+r)\nelse:\n print(r)']
['Runtime Error', 'Accepted']
['s125194952', 's605583310']
[2940.0, 2940.0]
[18.0, 17.0]
[79, 97]
p02765
u077816564
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = (int(x) for x in input().split())\nif N>=10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = (int(x) for x in input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))']
['Wrong Answer', 'Accepted']
['s728846321', 's803839547']
[9160.0, 9028.0]
[30.0, 28.0]
[88, 90]
p02765
u078316894
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["N, R = list(map(int, input().split(' ')))\nif N >= 10:\n print(R)\nelse:\n print(R + (100 - (10 - N)))", "N, R = list(map(int, input().split(' ')))\nif N >= 10:\n print(R)\nelse:\n print(R + (100 - (10 - K)))", "N, R = list(map(int, input().split(' ')))\nif N >= 10:\n print(R)\nelse:\n print(R + (10...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s538436662', 's829824642', 's395818632']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[104, 104, 104]
p02765
u079022116
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['def framod(n, mod, a=1):\n for i in range(1,n+1):\n a=a * i % mod\n return a\n\ndef power(n, r, mod):\n if r == 0: return 1\n if r%2 == 0:\n return power(n*n % mod, r//2, mod) % mod\n if r%2 == 1:\n return n * power(n, r-1, mod) % mod\n\ndef comb(n, k, mod):\n a=framod(n, mod)\n...
['Runtime Error', 'Accepted']
['s941435627', 's471070148']
[3064.0, 2940.0]
[17.0, 17.0]
[504, 85]
p02765
u079182025
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\nprint(n, r) \n\nans = 0\nif n >= 10:\n ans = r\nelse:\n ans = r + (100 * (10 - n))\n\nprint(ans)', 'n, r = map(int, input().split())\n\nans = 0\nif n >= 10:\n ans = r\nelse:\n ans = r + (100 * (10 - n))\n\nprint(ans)']
['Wrong Answer', 'Accepted']
['s159043642', 's733851340']
[2940.0, 2940.0]
[17.0, 17.0]
[123, 110]
p02765
u080880358
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,a,b=map(int,input().split());k=10**9+7;c=(1<<n)%k-1;X=Y=1\nfor i in range(b):X=X*(n-i)%k;Y=Y*(i+1)%k;c-=X*pow(Y,k-2,k)if i+1in(a,b)else 0\nprint(c%k)', 'n,*a=map(int,open(0).read().split());k=10**9+7\nc=(1<<n)%k-1\nfor l in a:\n\tX=Y=j=Z=1;d=k-2\n\tfor i in range(l):X=X*(n-i)%k\n\twhile j<=l:Y=Y*j%k;j+=1\n\twhile d...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s432985142', 's662956140', 's882607585', 's136899522']
[3060.0, 3064.0, 2940.0, 2940.0]
[17.0, 19.0, 18.0, 17.0]
[149, 215, 87, 55]
p02765
u082861480
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r = map(int,input().split())\nprint(r if n >= 10 else r - 100*(10-n))', 'n,r = map(int,input().split())\nprint(r if n >= 10 else r + 100*(10-n))']
['Wrong Answer', 'Accepted']
['s547218921', 's721739348']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 70]
p02765
u083494782
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r=map(int,input(),split())\nif n >= 10:\n ans = r\nelse:\n ans = r + 1000 - 100 * n', 'n,r=map(int,input().split())\nif n >= 10:\n ans = r\nelse:\n ans = r + 1000 - 100 * n', 'n,r=map(int,input().split())\nif n >= 10:\n ans = r\nelse:\n ans = r + 1000 - 100 * n\nprint(ans)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s693527862', 's723267197', 's967712018']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[87, 87, 98]
p02765
u085334230
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['def main():\n B = list(map(int, input().split()))\n # # [1,2,3]\n N = B[0]\n R = B[1]\n\n if N < 10:\n print(R)\n A = 100 * (10 - N)\n \n print(R + A)\n \nmain()', 'def main():\n B = list(map(int, input().split()))\n # # [1,2,3]\n N = B[0]\n R = B[1]\n\n if N < 10:\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s029351619', 's376735049', 's365658833']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[183, 189, 205]
p02765
u086503932
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-K))', 'N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))']
['Runtime Error', 'Accepted']
['s002847152', 's183358272']
[8940.0, 8948.0]
[24.0, 26.0]
[87, 87]
p02765
u087099834
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(lambda x: int(x), input().split())\nif n < 10:\n print(100*(10-n)+r)\n return\nprint(r)', 'n, r = map(lambda x: int(x), input().split())\nif n < 10:\n print(100*(10-n)+r)\nelse:\n print(r)\n']
['Runtime Error', 'Accepted']
['s692433950', 's161416482']
[2940.0, 2940.0]
[18.0, 17.0]
[96, 96]
p02765
u087373960
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = [int(i) for i in input().split()]\n\nif N < 10:\n print(R + (100 * (N- 2)))\nelse:\n print(R)', 'N,R = [int(i) for i in input().split()]\n\nif N < 10:\n print(R + (100 * (10- N)))\nelse:\n print(R)']
['Wrong Answer', 'Accepted']
['s697968048', 's603495245']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 101]
p02765
u088751997
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a,b=map(int,input().split())\nprint(b+100*max(10-a,0)', 'a,b=map(int,input().split())\nprint(b+100*max(10-a,0))\n']
['Runtime Error', 'Accepted']
['s078303875', 's583703756']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 54]
p02765
u088989565
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = list(map(int, input().split()))\n\nif(N>=10):\n print(R)\nelse:\n print(R - 100*(10-N))\n', 'N, R = list(map(int, input().split()))\n \nif(N>=10):\n print(R)\nelse:\n print(R + 100*(10-N))']
['Wrong Answer', 'Accepted']
['s821744969', 's913112113']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 92]
p02765
u089032511
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['m,n = map(int,input().split())\nif m>=10:\n print(n)\nelse:\n print(n+(100-m))', 'm,n = map(int,input().split())\nif m>9:\n print(n)\nelse:\n print(n+(100-m))', 'm,n = map(int,input().split())\nif m>=10:\n print(n)\nelse:\n print(n-(100-m))', 'm,n = map(int,input().split())\nif m>=10:\n print(n)\...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s180607967', 's411964545', 's745494453', 's930951058', 's566373318']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[80, 78, 80, 80, 85]
p02765
u089786098
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['def a(N,R):\n if N >= 10:\n print(R)\n else:\n print(R+(100*(10-K)))\n return\n\n \na(N,R)', 'N, R = map(int, input().split())\ndef a(N,R):\n if N >= 10:\n print(R)\n else:\n print(R+(100*(10-N)))\n return\n \na()', 'N, R = map(int, input().spl...
['Runtime Error', 'Runtime Error', 'Accepted']
['s606925322', 's775134114', 's966712117']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[119, 148, 152]
p02765
u091412190
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(100*(10-N))', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(100*(10-K))', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s184838509', 's228999440', 's911167334', 's914442832']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[81, 79, 79, 82]
p02765
u093545584
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n = int(input())\nr = int(input())\n\nif n >= 10:\n print(int(r))\nelse:\n a = 100*(10-n)\n print(int(r+a))', "inputStr = input()\ninputList = inputStr.split(' ')\nn = int(inputList[0])\nr = int(inputList[1])\n\nif n >= 10:\n print(int(r))\nelse:\n a = 100*(10-n)\n print(int(r+a))"]
['Runtime Error', 'Accepted']
['s745019023', 's201180454']
[2940.0, 2940.0]
[18.0, 17.0]
[109, 170]
p02765
u096025032
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,M = map(int, input().split())\n\nif N < 10:\n print(M - 100*(10 -N))\nelse:\n print(M)', 'N,M = map(int, input().split())\n\nif N <= 9:\n print(M + 100*(10 -N))\nelse:\n print(M)\n']
['Wrong Answer', 'Accepted']
['s338792446', 's062300023']
[9076.0, 9132.0]
[26.0, 23.0]
[85, 86]
p02765
u098679988
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['l = list(map(int, input().split()))\n \nif l[0] > 10:\n print(l[1])\nelse:\n print(100*(10-l[])))', 'l = list(map(int, input().split()))\n \nif l[0] > 10:\n print(l[1])\nelse:\n print(100*(10-l[1]))', 'n = list(map(int, input().split()))\n \nif n[0] > 10:\n print(n[1])\nelse:\n print(n[1] + 100*(10-n[0]))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s725109962', 's834527382', 's060096653']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[94, 94, 101]
p02765
u103915901
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r=map(input().split())\nif n<10:\n r=r+100*(10-n)\nprint(r)', 'n,r=map(int,input().split())\nif n<10:\n r=r+100*(10-n)\nprint(r)']
['Runtime Error', 'Accepted']
['s790244188', 's413273147']
[3188.0, 2940.0]
[18.0, 17.0]
[59, 63]
p02765
u104005543
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\nif n >=10:\n\tprint(r)\nelse:\n\tprint(r-1000+100n)', 'n, r = map(int, input().split())\nif n >=10:\n\tprint(r)\nelse:\n\tprint(r+1000-100*n)']
['Runtime Error', 'Accepted']
['s508454427', 's546057208']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 81]
p02765
u106181248
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int,input().split())\n\nif r<10:\n print(r + 100*(10-n))\nelse:\n print(r)', 'n, r = map(int,input().split())\n\nif r<10:\n print(100*(10-n))\nelse:\n print(r)', 'n, r = map(int,input().split())\n\nif n<10:\n print(r + 100*(10-n))\nelse:\n print(r)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s703985553', 's805109091', 's823302573']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[82, 78, 83]
p02765
u106311097
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["#!python3.4\n# -*- coding: utf-8 -*-\n# abc156/abc156_a\nimport sys\n\ns2nn = lambda s: [int(c) for c in s.split(' ')]\nss2nn = lambda ss: [int(s) for s in list(ss)]\nss2nnn = lambda ss: [s2nn(s) for s in list(ss)]\ni2s = lambda: sys.stdin.readline().rstrip()\ni2n = lambda: int(i2s())\ni2nn = lambda: s2nn(i2s())\nii2...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s059291222', 's197487005', 's764215137']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[544, 574, 544]
p02765
u108072608
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a = [int(i) for i in a.split()]\n\nN = a[0]\nR = a[1]\n\n\n#R = X - 100 * (10 - N)\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10 - N))', 'i = input()\nprint(i)', 'a = [int(i) for i in input().split()]\n\nN = a[0]\nR = a[1]\n\n\n#R = X - 100 * (10 - N)\nif N >= 10:\n print(R)\nelse:\n print(R + 100 ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s312431777', 's908122622', 's153161670']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[210, 20, 216]
p02765
u108904320
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
["import sys\n\ndef main(lines):\n n, r = lines[0].split()\n if n >= 10:\n print(r)\n else:\n print(r + 100*(10-n))\n return\n \nif __name__ == '__main__':\n lines = []\n for l in sys.stdin:\n lines.append(l.rstrip('\\r\\n'))\n main(lines)\n", "import sys\n\ndef main(lines):\n\tn,...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s259267447', 's468857277', 's704874863', 's593000637']
[2940.0, 3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[261, 260, 260, 261]
p02765
u111473084
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N, R = map(int, input().split(" "))\n\nif N < 10:\n\tprint(R - N*100)\nelse:\n \tprint(R)', 'N, R = map(int, input().split(" "))\n\nif N < 10:\n print(R + N*100)\nelse:\n print(R)', 'N, R = map(int, input().split(" "))\n\nif N < 10:\n print(R + (10-N)*100)\nelse:\n print(R)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s466265926', 's473248846', 's178963796']
[2940.0, 3060.0, 2940.0]
[17.0, 20.0, 17.0]
[83, 87, 93]
p02765
u112114596
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a,b=map(int, input().split())\nprint a>10?b:b+800', 'a,b=map(int, input().split())\nx = b if a>10 else b+((10-a)*100)\nprint(x)']
['Runtime Error', 'Accepted']
['s582407897', 's115765821']
[2940.0, 2940.0]
[17.0, 18.0]
[48, 72]
p02765
u113083337
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['s = input().split()\n\nK = int(s[0])\nN = int(s[1])\n\nif K >= 10:\n print(N)\nelse:\n print(N - 100*(10-K))', 'input_line = int(input())\nfor i in range(input_line):\n s = input().rstrip().split(\' \')\n print("hello = "+s[0]+" , world = "+s[1])', 's = input().split()\n\nK = int(s[0])\nN = int(s[1])\n\nif K >= 1...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s225410789', 's580665493', 's086658925']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[102, 131, 102]
p02765
u113255362
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a,b=map(int,input().split())\nc=0\nif a >=10:\n print(b)\nelse:\n c = 100 * (10-a)\n print(c)', 'a,b=map(int,input().split())\nc=0\nres = 0\nif a >=10:\n print(b)\nelse:\n c = 100 * (10-a)\n res = b-c\n print(res)', 'a,b=map(int,input().split())\nc=0\nres = 0\nif a >=10:\n print(b)\nelse:\n c = 100 * (10-a)\...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s088750909', 's811287616', 's045296013']
[9116.0, 9028.0, 9164.0]
[27.0, 27.0, 25.0]
[90, 112, 112]
p02765
u115110170
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,k = map(int,input().split())\nP = 10**9+7\n\nans = 1\nnCl = 1\nn1Cl = 1\nfor l in range(1,min(k+1,n)):\n nCl = nCl*(n+1-l)*pow(l,P-2,P)%P\n n1Cl = n1Cl*(n-l)*pow(l,P-2,P)%P\n ans = (ans+nCl*n1Cl)%P\n\nprint(ans)\n', '\nn,r = map(int,input().split())\n\nif n >=10:\n print(r)\nelse:\n print(r+100×(10−n))',...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s539276599', 's625553736', 's775930117', 's776351915']
[3060.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0]
[212, 85, 83, 83]
p02765
u115877451
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a,b=map(int,input().split())\nc=0\nif a>b:\nwhile a//b>=b: \n a=a//b\n c+=1\nprint(c+2)\nelse:\n print(len(a))\n', 'a,b=map(int,input().split())\nif a<10:\n print(b-(100*(10-a)))\nelse:\n print(b)\n', 'a,b=map(int,input().split())\nif a<10:\n print(b+(100*(10-a)))\nelse:\n print(b)\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s331771662', 's355345086', 's954025861']
[3060.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[109, 79, 79]
p02765
u118760114
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int, input().split())\nif N >= 10:\n k = R\n print(k)\nelse:\n k = 100*(10-N)+R\n orint(k)', 'N,R = map(int, input().split())\nif N >= 10:\n k = R\n print(k)\nelse:\n k = 100*(10-N)+R\n print(k)\n']
['Runtime Error', 'Accepted']
['s574844977', 's700564209']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 107]
p02765
u119148115
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['N,R = map(int,input().split())\nif N > 9:\n print(R)\nelse:\n print(R + 100*(N-1))', 'N,R = map(int,input().split())\nif N > 9:\n print(R)\nelse:\n print(R + 100*(10-N))\n']
['Wrong Answer', 'Accepted']
['s210265108', 's864600783']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 82]
p02765
u120564432
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))\n', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s213803968', 's612359725', 's756221269']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 77, 78]
p02765
u121698457
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['print((lambda x:(int(x[1])+(100*(10 - (10 if x[0]>=10 else x[0])))))(input().split()))', 'print((lambda x:(int(x[1])+(100*(10 - 10 if x[0]>=10 else x[0]))))(input().split()))', 'print((lambda x:int(x[1])+(100*(10 - 10 if x[0]>=10 else x[0])))(input().split()))', 'print(lambda x:int(x[1])+(100*(10 - 10 if x[0]>=10 els...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s202337241', 's732453822', 's938136213', 's994162978', 's548905428']
[3060.0, 2940.0, 3188.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 17.0, 18.0]
[86, 84, 82, 79, 96]
p02765
u123745130
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['a,b=map(int,input().split())\nprint(b if a>=10 else b+100*(10-b))', 'a,b=map(int,input().split())\nprint(b if a>=10 else b+100*(10-a))']
['Wrong Answer', 'Accepted']
['s214834991', 's333952754']
[2940.0, 2940.0]
[17.0, 18.0]
[64, 64]
p02765
u125269142
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r - 100 * (10-n))', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r + (100 * (10 - n)))']
['Wrong Answer', 'Accepted']
['s278561160', 's571718138']
[9160.0, 9160.0]
[31.0, 29.0]
[88, 96]
p02765
u128319931
2,000
1,048,576
Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be...
['int(num),int(val) = input().split(" ")\n\nif num < 10:\n\tprint val + 100*(10-num)\nelse:\n\tprint val\n', 'def main():\n\tnum,val = input().split(" ")\n\tnum = int(num)\n\tval = int(val)\n\n\tif num < 10:\n\t\tprint(val + 100*(10-num))\n\telse:\n\t\tprint(val)\n\nif __name__ == "__main__":\n main()']
['Runtime Error', 'Accepted']
['s768738439', 's748457155']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 175]