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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02765 | u305917597 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,K = [int(i) for i in input().split()]\nprint(K-(100*(10-N)))', 'N,R = [int(i) for i in input().split()]\nif (N>=10): \n print(R)\nelse: \n print(R+(100*(10-N)))\n'] | ['Wrong Answer', 'Accepted'] | ['s495673598', 's604560892'] | [2940.0, 2940.0] | [17.0, 19.0] | [61, 99] |
p02765 | u307516601 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import sys\nsys.setrecursionlimit(10**6)\nreadline = sys.stdin.readline\nn,r = [int(i) for i in readline().split()]\n\nif n >= 10:\n print(r)\nelse:\n print(r-100*(10-n))', 'import sys\nsys.setrecursionlimit(10**6)\nreadline = sys.stdin.readline\nn,r = [int(i) for i in readline().split()]\n\nif n >= 10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Wrong Answer', 'Accepted'] | ['s626297848', 's671342148'] | [2940.0, 2940.0] | [17.0, 17.0] | [168, 168] |
p02765 | u307622233 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['if(int(N) >= 10):\n print(R)\nelse:\n print(int(R) + 100 * (10 - int(N)))', 'N, R = input().split()\n\nif(int(N) >= 10):\n print(R)\nelse:\n print(int(R) + 100 * (10 - int(N)))\n'] | ['Runtime Error', 'Accepted'] | ['s304586795', 's923460187'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 101] |
p02765 | u309018392 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\n\nif N >= 10 :\n print(R)\n \nelif N < 10 :\n print(100*(10-N))', 'N,R = map(int,input().split())\n\nif N >= 10 :\n print(R)\n \nelse :\n print(100*(10-N))', 'N,R = map(int,input().split())\n\nif N >= 10 :\n print(R)\n \nelse :\n print(R+100*(10-N))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s688556174', 's793877660', 's454249854'] | [2940.0, 3060.0, 2940.0] | [17.0, 19.0, 17.0] | [92, 85, 87] |
p02765 | u309120194 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = int(input())\n\nif N >= 10: print(K)\nelse: print(100*(10-K))', 'N, R = map(int, input().split())\n \nif N >= 10: print(R)\nelse: print(R - 100*(10-N))', 'N, R = map(int, input().split()))\n \nif N >= 10: print(K)\nelse: print(100*(10-K))', 'N, R = map(int, input().split())\n \nif N >= 10: print(K)\nelse: print(100*(10-K))', 'N, R = map(int, input().split())\n \n\nprint(R + 100 * (10-min(10, N)))'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s381804148', 's468820701', 's751744207', 's816732846', 's042868392'] | [9060.0, 9148.0, 9008.0, 9164.0, 9008.0] | [25.0, 28.0, 24.0, 21.0, 27.0] | [65, 83, 80, 79, 99] |
p02765 | u310012552 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s048704194', 's827637817'] | [2940.0, 2940.0] | [17.0, 18.0] | [86, 87] |
p02765 | u312158169 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r - (100*(100-n)))\n \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'] | ['s239067288', 's061522182'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 91] |
p02765 | u312524153 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['time,rate = map(int,input().split())\nans = 0\nif time >= 10:\n ans = r\nelse:\n ans = r - 100*(10 − time)\nprint(ans)', 'time,rate = map(int,input().split())\nans = 0\nif time >= 10:\n ans = rate\nelse:\n ans = rate - 100*(10 − time)\nprint(ans)', 'time,rate = map(int,input().split())\nans = 0\nif time >= 10:\n ans = rate\nelse:\n ans = rate - 100*(10 - time)\nprint(ans)', 'time,rate = map(int,input().split())\nans = 0\nif time >= 10:\n ans = rate\nelse:\n ans = rate + 100*(10 - time)\nprint(ans)'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s370573991', 's844014033', 's913317699', 's567630744'] | [3188.0, 3192.0, 2940.0, 2940.0] | [18.0, 21.0, 17.0, 17.0] | [116, 122, 120, 120] |
p02765 | u313238134 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nr = int(input())\nif (n<10):\n print(100*(10-n)+r)\nelse:\n print(r)', 'n,r = map(int,input().split())\nif(n>=10):\n print(r)\nelse:\n print(100*(10-n)+r)'] | ['Runtime Error', 'Accepted'] | ['s755298287', 's846051618'] | [2940.0, 2940.0] | [18.0, 17.0] | [84, 80] |
p02765 | u313370702 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['L, R = map(int, input().split())\nprint(type(L), L, R)\n\nif L < 10:\n print(R + (100*(10-L)))\nelse:\n print(R)\n', 'L, R = map(int, input().split())\n\nif L < 10:\n print(R + (100*(10-L)))\nelse:\n print(R)\n'] | ['Wrong Answer', 'Accepted'] | ['s571944268', 's457375396'] | [2940.0, 2940.0] | [18.0, 17.0] | [113, 92] |
p02765 | u314837274 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,K=map(int,input().split())\ni=0\nwhile N>=K**i:\n i+=1\nprint(i)', 'N,R=map(int,input().split())\nif N>=10:\n rate=R\nelse:\n rate=R+100*(10-N)\nprint(rate)'] | ['Wrong Answer', 'Accepted'] | ['s492223782', 's268401907'] | [2940.0, 2940.0] | [2103.0, 17.0] | [65, 89] |
p02765 | u316603606 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['K,R = map (int, input ().split ())\nif K < 10:\n print (R-100*(10-K))\nelse:\n print (R)', 'K,R = map (int, input ().split ())\nif K < 10:\n print (R+100*(10-K))\nelse:\n print (R)'] | ['Wrong Answer', 'Accepted'] | ['s931039877', 's881856332'] | [9180.0, 9144.0] | [29.0, 29.0] | [86, 86] |
p02765 | u318740143 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import sys\ninput = sys.stdin.readline\nfrom collections import deque\nN = int(input())\ngraph = [deque([]) for _ in range(N)]\nhas = []\nstack = []\nfor i in range(N):\n u,k,* v = [int(x) for x in input().split()]\n v.sort()\n for j in v:\n graph[u-1].append(j)\ntime = 0\narrive_time = [-1]*N\n\ndef dfs(x):\n stack.append(x)\n while stack:\n v = stack.pop()\n has.append(v)\n for i in graph[v-1]:\n if i in has:\n continue\n elif i in stack:\n continue\n else:\n stack.append(i)\n print(*has)\ndfs(1)\n', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Runtime Error', 'Accepted'] | ['s914300827', 's156412786'] | [3316.0, 3060.0] | [21.0, 20.0] | [710, 81] |
p02765 | u319345083 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n < 10:\n print(100*(10-n))\nelse:\n print(r)\n', 'n, r = map(int, input().split())\nif n < 10:\n print(100*(10-n) + r)\nelse:\n print(r)\n'] | ['Wrong Answer', 'Accepted'] | ['s780307380', 's940252192'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 89] |
p02765 | u320168508 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=map(int,input().split())\nif a>=10:\n print(b)\nelse:\n print(b+100*(10-b))', 'a,b=map(int,input().split())\nif a>=10:\n print(b)\nelse:\n print(b+100*(10-a))'] | ['Wrong Answer', 'Accepted'] | ['s149896581', 's780236687'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 77] |
p02765 | u320763652 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\n\nif n < 10:\n print(100 * (10-r))\nelse:\n print(r)', 'n,r = map(int, input().split())\n\nif n < 10:\n print(100 * (n-r))\nelse:\n print(r)', 'n,r = map(int, input().split())\n\nif n < 10:\n print((100 * (10-r))+r)\nelse:\n print(r)', 'n,r = map(int, input().split())\n\nif n < 10:\n print(100 * (10-r))\nelse:\n print(r)', 'n,r = map(int, input().split())\n\nif n < 10:\n print((100 * (10-n))+r)\nelse:\n print(r)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s022748368', 's038555682', 's152293648', 's854358061', 's330364713'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [86, 85, 90, 86, 90] |
p02765 | u327532412 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N >= 10:\n print(R)\n exit()\nelse:\nprint(100 * (10 - N) + R)', 'N, R = map(int, input().split())\nif N >= 10:\n print(R)\n exit()\nelse:\n\tprint(100 * (10 - N) + R)\n'] | ['Runtime Error', 'Accepted'] | ['s202146354', 's375677496'] | [2940.0, 2940.0] | [18.0, 17.0] | [96, 98] |
p02765 | u328755070 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, P = list(map(int, input().split()))\nif N >= 10:\n print(P)\nelse:\n print(P - 100*(10-N))', 'N, P = list(map(int, input().split()))\nif N >= 10:\n print(P)\nelse:\n print(P + 100*(10-N))'] | ['Wrong Answer', 'Accepted'] | ['s539007329', 's405086487'] | [2940.0, 2940.0] | [17.0, 21.0] | [91, 91] |
p02765 | u330169562 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['NK = input().split()\n\nN = int(NK[0])\nK = int(NK[1])\n\nans = 1\nwhile True:\n if N > K**ans:\n ans += 1\n else:\n break\nprint(ans)', 'NR = input().split()\n\nN = int(NR[0])\nR = int(NR[1])\n\nif N < 10:\n R += 100*(10-N)\nprint(R)'] | ['Wrong Answer', 'Accepted'] | ['s045554812', 's853591820'] | [2940.0, 2940.0] | [2103.0, 17.0] | [143, 92] |
p02765 | u330799501 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#l = list(map(int, input().split()))\n\nn,k = map(int, input().split())\n\nif (n >= 10):\n print(k)\nelse:\n print(k-100*(10-n))\n', '#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#l = list(map(int, input().split()))\n\nn,k = map(int, input().split())\n\nif (n >= 10):\n print(k)\nelse:\n print(k+100*(10-n))\n'] | ['Wrong Answer', 'Accepted'] | ['s555694585', 's220895628'] | [9016.0, 9060.0] | [29.0, 27.0] | [193, 193] |
p02765 | u331997680 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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-K))', 'N,R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s389424472', 's832972480', 's882918154'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [83, 82, 83] |
p02765 | u332077434 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['line = list(map(int,input().split()))\nif line[0] >= 10:\n print(line[1])\nelse:\n print(line[1] + (100 * (10 - line[0]))', 'line = list(map(int,input().split()))\nif line[0] >= 10:\n print(line[1])\nelse:\n print(line[1] + (100 * (10 - line[0])))'] | ['Runtime Error', 'Accepted'] | ['s594058166', 's713326035'] | [2940.0, 2940.0] | [17.0, 17.0] | [119, 120] |
p02765 | u333700164 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input())\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'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s127460836', 's996501854', 's187566718'] | [9056.0, 9096.0, 9028.0] | [21.0, 25.0, 30.0] | [72, 77, 78] |
p02765 | u337573893 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, K = map(int, input())\na = 0\n\nif N < 10:\n a = 100*(10-N) + K\n print(a)\n \nelif N >= 10:\n print(K)\n ', 'N, K = map(int, input().split())\na = 0\n \nif N < 10:\n a = 100*(10-N) + K\n print(a)\n \nelif N >= 10:\n print(K)\n '] | ['Runtime Error', 'Accepted'] | ['s039942402', 's836478149'] | [9144.0, 9060.0] | [23.0, 29.0] | [105, 114] |
p02765 | u340494803 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r=map(int, input().split())\nif n>9:\n print(r)\nelse:\n print(r-100*(10-n))\n ', 'n, r=map(int, input().split())\nif n>9:\n print(r)\nelse:\n print(r+100*(10-n))\n '] | ['Wrong Answer', 'Accepted'] | ['s249317256', 's209093042'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p02765 | u340781303 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\nif n>= 10: print(r)\nelse:\n print(r-100*(10-n))', 'n,r = map(int,input().split())\nprint(r if n>=10 else r + 100*(10-n))'] | ['Wrong Answer', 'Accepted'] | ['s367555326', 's812138148'] | [9080.0, 9072.0] | [32.0, 27.0] | [79, 68] |
p02765 | u342062419 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split)\nif N < 10:\n R = 100 * (10 - N)\n print(R)\nelse:\n print(R)', 'N,R = map(int,input())\nif N < 10:\n R = 100 * (10 - N)\n print(R)\nelse:\n print(R)', 'N,R = map(int,input().split())\nif N < 10:\n R = 100 * (10 - N)\n print(R)\nelse:\n print(R)', 'N,R = map(int,input().split)\nif N < 10:\n R = R - 100 * (10 - N)\n print(R)\nelse:\n print(R)', 'N,R = map(int,input().split())\nif N < 10:\n R = R - 100 * (10 - N)\n print(R)\nelse:\n print(R)', 'N,R = map(int,input().split())\nif N < 10:\n R = R + 100 * (10 - N)\n print(R)\nelse:\n print(R)'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s002437510', 's062544489', 's610940559', 's758301184', 's944098518', 's012436538'] | [9016.0, 9136.0, 9160.0, 8928.0, 9084.0, 9168.0] | [24.0, 27.0, 29.0, 24.0, 28.0, 27.0] | [88, 82, 90, 92, 94, 94] |
p02765 | u347237413 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math\nn, k = input().split(" ")\nn= int(n)\nk= int(k)\ndig = (math.floor(math.log(n) / math.log(k)) + 1)\nprint(dig)', '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'] | ['s050955859', 's162104361'] | [2940.0, 2940.0] | [19.0, 17.0] | [118, 97] |
p02765 | u347452770 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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(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', 'Wrong Answer', 'Accepted'] | ['s120691803', 's658714486', 's792733357'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [91, 86, 91] |
p02765 | u347628226 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n >= 10:\n print(r)\n else:\n print(r + 1000 - 100*n)', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + 1000 - 100*n)'] | ['Runtime Error', 'Accepted'] | ['s465511733', 's466769944'] | [2940.0, 3064.0] | [17.0, 17.0] | [88, 87] |
p02765 | u349444371 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=map(int,input().split())\n\nif N<10:\n r=R-(100*(10-N))\nelse:\n r=R\nprint(r)', 'N,R=map(int,input().split())\n \nif N<10:\n r=R+(100*(10-N))\nelse:\n r=R\nprint(r)'] | ['Wrong Answer', 'Accepted'] | ['s554606235', 's918648641'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 79] |
p02765 | u350093546 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k=map(int,input().split())\nsum=0\nwhile n>=1:\n n=n/k\n sum+=1\n \nprint (sum)\n', 'n,r=map(int,input().split())\n\nif n>=10:\n print(r)\n\nelse:\n print(r+(10-n)*100)'] | ['Runtime Error', 'Accepted'] | ['s159372616', 's145888821'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 79] |
p02765 | u355154595 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=map(int,input().split())\nif a>9:\n print(b)\nelse:\n print(b+(100*(10-a)))', "a,b=map(int,input().split())\nif a>10:\n print('b')\nelse:\n print(b-(100*(10-b))", 'a,b=map(int,input().split())\nif a>9:\n print(b)\nelse:\n print(b+(100*(10-b))', 'a,b=map(int,input().split())\nif a>10:\n print(b)\nelse:\n print(b+(100*(10-b))', 'a,b=map(int,input().split())\nif a>10:\n print(b)\nelse:\n print(b-(100*(10-b))', "a,b=int(input())\nif a>10:\n print('b')\nelse\n print(b-(100*(10-b))\n \n ", "a,b=map(int,input().split())\nif a>10:\n print('b')\nelse:\n print(b-(100*(10-b)", "a,b=int(input().split())\nif a>10:\n print('b')\nelse\n print(b-(100*(10-b))\n \n \n", "a,b=map(int,input().split())\nif a>9:\n print('b')\nelse\n print(b-(100*(10-b)", "a,b=int(input().split())\nif a>9:\n print('b')\nelse\n print(b-(100*(10-b))\n \n \n", 'a,b=map(int,input().split())\nif a>9:\n print(b)\nelse:\n print(b+(100*(10-a))', 'a,b=map(int,input().split())\nif a>9:\n print(b)\nelse:\n print(b+(100*(10-a)))\n '] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s014892664', 's066238587', 's187119088', 's198202057', 's261441899', 's305773099', 's545643610', 's570136492', 's827372524', 's940873202', 's945912876', 's474725634'] | [3188.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 16.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [79, 85, 78, 79, 79, 85, 84, 94, 82, 93, 78, 80] |
p02765 | u357504533 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math\ninp = input().split()\nN = int(inp[0])\nK = int(inp[1])\nS = 0\nwhile N > 0:\n\tN = math.floor(N / K)\n\tS += 1\n\nprint(S)', 'inp = input().split()\nN = int(inp[0])\nR = int(inp[1])\n#print(N)\nif N >= 10:\n print(R)\nelse:\n col = R + 100*(10-N)\n print(col)'] | ['Runtime Error', 'Accepted'] | ['s246510165', 's823157615'] | [2940.0, 2940.0] | [20.0, 18.0] | [125, 128] |
p02765 | u357751375 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nx = list(map(int,input().split()))\nj = max(x)\nm = 0\ny = True\n\nfor i in range(n):\n if x[0] != x[i]:\n y = False\n\nif y:\n print(0)\n exit(0)\n\nfor p in range(j):\n c = 0\n z = 0\n for i in range(n):\n z = x[i] - p\n c = c + (z * z)\n \n if m == 0:\n m = c\n else:\n if m > c:\n m = c\n\nprint(m)', 'n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse:\n k = 10 - n\n print(100 * k)', 'n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse:\n k = 10 - n\n print(100 * k + r)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s185496543', 's348465669', 's105234347'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [366, 95, 99] |
p02765 | u363836311 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s751062772', 's860382224'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 78] |
p02765 | u366974168 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=map(int,input().split())\nif N>=10:\n return R\nelse:\n return R-100*N\n\n', 'def rating(N,R)\n if N>=10:\n return R\n else:\n return R-100*N', 'N,R=map(int,input().split())\nif N>=10:\n return (R)\nelse:\n return (R+100*N)', 'N,R=map(int,input().split())\nif N>=10:\n print(R)\nelse:\n print(R+100*N)', 'N,R=map(int,input().split())\nif N>=10:\n print(R)\nelse:\n print(R-N*100) ', 'N,R=map(int,input().split())\nif N>=10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s142820262', 's474926110', 's679483342', 's777641571', 's954920268', 's278292646'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [74, 63, 76, 72, 73, 77] |
p02765 | u367147039 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\n\nif n>=10:\n print(r+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', 'Accepted'] | ['s369206540', 's442367598'] | [9160.0, 9132.0] | [26.0, 29.0] | [82, 82] |
p02765 | u369190981 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\n \nif n<=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)'] | ['Wrong Answer', 'Accepted'] | ['s726828059', 's114890740'] | [2940.0, 2940.0] | [17.0, 18.0] | [78, 82] |
p02765 | u371132735 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['# abc156_a.py\nN, R = map(int,input().split())\nif N<10:\n print(R + 100*10-N)\nelse:\n print(R)', '# abc156_a.py\nN, 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-R))\n\n', 'N, R = map(int,input().split())\nif N >= 10 :\n print(R)\nelse:\n print(R - 100*(10-N))\n \n', '# abc156_a.py\nN, R = map(int,input().split())\nif N>=10:\n print(R)\nelse:\n print(R + 100*(10-N))\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s150665578', 's316896089', 's438786121', 's575215380', 's160741956'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [97, 98, 83, 88, 101] |
p02765 | u371409687 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k=map(int,input().split())\ncnt=0\nwhile n>0:\n n=n//k\n cnt+=1\nprint(cnt)', 'n,r=map(int,input().split())\nprint(r+100*(10-n) if n<10 else r)'] | ['Runtime Error', 'Accepted'] | ['s995371514', 's103790483'] | [2940.0, 3316.0] | [17.0, 21.0] | [78, 63] |
p02765 | u372550522 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nprint(r + 100*max(10-k, 0))', 'n, r = map(int, input().split())\nprint(r + 100*max(10-n, 0))'] | ['Runtime Error', 'Accepted'] | ['s424470544', 's140489284'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 60] |
p02765 | u374082254 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\n\nif N >= 10:\n rate = R\nelse:\n rate = 100 * (10 - N)\n\nprint(rate)\n', 'n, a, b = map(int, input().split())\n\nmmod = 10**9 + 7\n\n\ndef comb_mod(n, r, mod=mmod):\n nume = 1\n deno = 1\n\n r = min(r, r - 1)\n\n for i in range(1, r + 1):\n nume = (nume * (n - i)) % mod\n deno = (deno * (i + 1)) % mod\n\n return (nume * pow(deno, mod - 2, mod)) % mod\n\n\nif n == 2:\n print(0)\n exit\n\ntotal = (pow(2, n, mmod) - comb_mod(n, a) - comb_mod(n, b) - 1) % mmod\n\nprint(total)\n', 'N, R = map(int, input().split())\n\nif N >= 10:\n rate = R\nelse:\n rate = R - (100 * (10 - N))\n\nprint(rate)\n', 'N, R = map(int, input().split())\n\nif N >= 10:\n rate = R\nelse:\n rate = R + (100 * (10 - N))\n\nprint(rate)\n'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s134876802', 's574320599', 's926630882', 's268475547'] | [2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 19.0] | [104, 414, 110, 110] |
p02765 | u374784428 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\nif N<10 :\n print( R -(100*(10-N)))\nelse:\n print(R)', 'n,k = map(int,input().split())\n\ny = k\ncnt = 1\nwhile n >= k:\n k *= y\n cnt += 1\nprint(cnt)\n', "N,R = map(int,input().split())\t\nif N<10:\n N -= 10\n float(N)\n N *= 100\n R -= N\n print('R')\nelse:\n print('R')", 'N,R = map(int,input().split())\nif N<10 :\n print( R + (100*(10-N)))\nelse:\n print(R)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s040954973', 's107761032', 's987469826', 's865459617'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 2104.0, 17.0, 17.0] | [87, 95, 125, 88] |
p02765 | u374802266 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=map(int,input().split())\nif a>9:\n print(b)\nelse:\n print(b+(100*(10-a))', 'a,b=map(int,input().split())\nif a>=10:\n print(b)\nelse:\n print(b+(100*(10-a)))'] | ['Runtime Error', 'Accepted'] | ['s167928676', 's706456570'] | [3188.0, 2940.0] | [18.0, 17.0] | [82, 83] |
p02765 | u375172966 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n < 10:\n ans = r - (100 * (10 - n))\n print(ans)\nelse:\n print(r)', 'n, r = map(int, input().split())\nif n < 10:\n ans = r + (100 * (10 - n))\n print(ans)\nelse:\n print(r)'] | ['Wrong Answer', 'Accepted'] | ['s884525301', 's233077381'] | [2940.0, 2940.0] | [17.0, 17.0] | [102, 109] |
p02765 | u376270730 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['def contest(N, R):\n if(N > 10):\n return R\n else:\n return R + 100 * (10-N)\n\nif __name__ == "__main__":\n N, R = map(int, input().split())', 'def contest(N, R):\n if(N > 10):\n return R\n else:\n return R + 100 * (10-N)\n\nif __name__ == "__main__":\n N, R = map(int, input().split())\n print(contest(N, R))'] | ['Wrong Answer', 'Accepted'] | ['s567831677', 's985099548'] | [2940.0, 2940.0] | [18.0, 17.0] | [158, 183] |
p02765 | u376420711 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, (input().split()))\nprint(100 * max(0, (10 - n) + r)\n', 'n, r = map(int, (input().split()))\nprint(100 * max(0, 10 - n) + r)\n'] | ['Runtime Error', 'Accepted'] | ['s703652059', 's168220085'] | [2940.0, 2940.0] | [17.0, 17.0] | [68, 67] |
p02765 | u379142263 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(100*(10-k))\n ', 'n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))\n '] | ['Runtime Error', 'Accepted'] | ['s547884830', 's755177288'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 88] |
p02765 | u382431597 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import sys\nn,r = list(map(int, input().split()))\nif n >= 10:\n print(n)\nelse:\n print(n - 100*(10-k))', 'import sys\nn,r = list(map(int, input().split()))\nif n >= 10:\n print(r)\nelse:\n print(r + 100*(10-n))\n'] | ['Runtime Error', 'Accepted'] | ['s419148882', 's671784134'] | [3316.0, 2940.0] | [19.0, 17.0] | [105, 106] |
p02765 | u383450070 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nprint(r-100*(10-n) if n<10 else r)', 'n,r=map(int,input().split())\nprint(r+100*(10-n) if n<10 else r)'] | ['Wrong Answer', 'Accepted'] | ['s713949895', 's026515270'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 63] |
p02765 | u383508661 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=map(int,input().split())\ncount=1\nfor i in range(1,100):\n if a/(b**i)>1:\n count+=1\n else:\n break\nprint(count)', 'a,b=map(int,input().split())\ncount=1\nfor i in range(1,100):\n if a/(b**i)>=1:\n count+=1\n else:\n break\nprint(count)', 'a,b=map(int,input().split())\ni=1\nwhile a//b>=b:\n a=a//b\n i+=1\nif i != 1:\n i+=1\nprint(i)', 'N,R=map(int,input().split())\nif N>= 10:\n print(R)\nelse:\n print(R+(100*(10-N)))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s088948524', 's352268856', 's406083379', 's752753893'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [132, 133, 96, 80] |
p02765 | u384793271 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Runtime Error', 'Accepted'] | ['s279016500', 's076713678'] | [2940.0, 2940.0] | [18.0, 17.0] | [91, 90] |
p02765 | u392361133 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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)))\n'] | ['Wrong Answer', 'Accepted'] | ['s509736512', 's364171843'] | [9116.0, 9088.0] | [27.0, 29.0] | [78, 79] |
p02765 | u394352233 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N < 10:\n O = N\nelse:\n O = R + 100*(10-N)\nprint(O)', 'N, R = map(int, input().split())\nif N => 10:\n O = R\nelse:\n O = R + 100*(10-N)\nprint(O)', 'N,R = map(int,input().split())\n\nif N >= 10:\n print(R)\nelse:\n NR = R + (100 * (10 - N))\n print(NR)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s294133508', 's580770680', 's157516194'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [87, 88, 106] |
p02765 | u394731058 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s657701630', 's511056632'] | [3064.0, 2940.0] | [17.0, 17.0] | [85, 85] |
p02765 | u395010524 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\ns = list(map(int, input().split()))\n\nfor i in range(len(s)):\n s[i] = s[i] - n\n s[i] = s[i] * s[i]\nans = 0\nfor i in range(len(s)):\n ans += s[i]\n\nprint(ans)', 'i = list(map(int,input().split()))\nans = 0\nif i[0] >=10:\n ans = i[1]\nelse:\n ans = i[1] + 100 * (10 - i[0])\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s482494282', 's089783918'] | [3060.0, 2940.0] | [17.0, 17.0] | [180, 124] |
p02765 | u403331159 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k=map(int,input().split())\nif n<10:\n c=100*(10-n)\n print(k-c)\nelse:\n print(k)', 'n,k=map(int,input().split())\nif n<10:\n c=100*(10-n)\n ans=k-c\n if ans<0:\n print(0)\n exit()\n else:\n print(k-c)\nelse:\n print(k)', 'n,k=map(int,input().split())\nif n<10:\n c=100*(10-n)\n ans=k-c\n if ans<0:\n print(0)\n exit()\n else:\n print(k+c)\nelse:\n print(k)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s770101098', 's916283355', 's280329967'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [82, 138, 138] |
p02765 | u403547519 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b = list(map(int, input().split())) \nif a >= 10:\n print(b)\nelse:\n print(b-1000+100*a)\n', 'a,b=int(input().split())\nif a < 10 :\n c = int(b-1000+100*a)\nelse:\n c = b\nptint(c)', '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())\n\nif a >=10:\n c=int(b)\n print(c)\nelse:\n c=int(b-1000+100*a)\n print(c)\n', 'a,b=int(input().split())\nif a < 10:\n c = int(b-1000+199*a)\nelse:\n c = int(b)\nprint(c)', 'a,b = map(int, input().split())\nif a < 10:\n c=int(b-100*(10-a))\nelse:\n c=int(b)\nprint(c)\n', 'a b=int(input().split())\nif a < 10:\n print(b)\nelse:\n print(b-1000+100*a)\n', 'a,b = list(map(int, input().split())) \nif a < 10:\n print(b)\nelse:\n print(b-1000+100*a)\n', 'a,b = list(map(int, input().split())) \nif a < 10:\n print(b-100*(10-a))\nelse:\n print(b)\n', 'a,b=int(input().split())\nif a < 10:\n print(b)\nelse:\n print(b-1000+100*a)\n', 'a,b = list(map(int, input().split())) \nif a < 10:\n print(b-1000+100*a)\nelse:\n print(b)\n', 'a,b=int(input().split())\nif a < 10:\n print(b)\nelse:\n print(b+1000-100*a)', 'a,b=map(int,input().split())\n\nif a >=10:\n c=int(b)\n print(c)\nelse:\n c=int(b+1000-100*a)\n print(c)\n'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s166158106', 's222114012', 's264577305', 's272440062', 's313549482', 's572416067', 's691761893', 's716047226', 's734192405', 's758827298', 's764998203', 's858643284', 's009894249'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [90, 83, 82, 102, 87, 91, 75, 89, 89, 75, 89, 74, 102] |
p02765 | u405256066 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['from sys import stdin\nN,R = [int(x) for x in stdin.readline().rstrip().split()]\nif N >= 10:\n print(R)\nelse:\n print(R - (100*(10-N)))', 'from sys import stdin\nN,R = [int(x) for x in stdin.readline().rstrip().split()]\nprint(R - (100*(10-N)))', 'from sys import stdin\nN,R = [int(x) for x in stdin.readline().rstrip().split()]\nif N >= 10:\n print(R)\nelse:\n print(R + (100*(10-N)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s428313926', 's516691718', 's861497730'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [138, 103, 138] |
p02765 | u408958033 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b = map(int,input().split())\nif a >= 10:\n print(b)\nelse :\n print(b + a*100)', 'a,b = map(int,input().split())\nif a >= 10:\n print(b)\nelse :\n print(b + ((10-a)*100))'] | ['Wrong Answer', 'Accepted'] | ['s285894924', 's221726272'] | [2940.0, 2940.0] | [18.0, 17.0] | [79, 86] |
p02765 | u414050834 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input())\nif n<10:\n print(r-100*(10-n))\nelse:\n print(r)', 'n,r=map(int,input().split())\nif n<10:\n print(r-100*(10-n))\nelse:\n print(r)\n', 'n,r=map(int,input().split())\nif n<10:\n print(r+100*(10-n))\nelse:\n print(r)\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s281585705', 's837688041', 's955924456'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [68, 77, 77] |
p02765 | u418826171 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s094516803', 's862732970'] | [9148.0, 9136.0] | [28.0, 30.0] | [87, 87] |
p02765 | u423803491 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().spit())\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)', 'N, R = map(int, input().spit())\nif R < 10:\n print(R+100*(10-N))\nelse:\n print(R)', 'N, K = map(int, input().split())\nmd = []\nwhile N != 0:\n md.append(N%K)\n N /= K\nprint(len(md)+1)', 'N, R = map(int, input().split())\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s465714430', 's571181329', 's757050037', 's568652503'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [81, 81, 97, 82] |
p02765 | u424967964 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\na = min(10,n)\na = 100*(10-a)\nprint(r-a)', 'n,r = map(int,input().split())\na = min(10,n)\na = 100*(10-a)\nprint(r+a)'] | ['Wrong Answer', 'Accepted'] | ['s483822357', 's011424985'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 70] |
p02765 | u427984570 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b = map(int,input().split())\n\nprint(b if a >= 10 else b-100*(10-a))', 'a,b = map(int,input().split())\n\nprint(b if a >= 10 else b+100*(10-a))\n'] | ['Wrong Answer', 'Accepted'] | ['s950437107', 's929377864'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 70] |
p02765 | u428199834 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N=int(input())\na=list(map(int,input().split()))\ns=[]\nfor i in range(101):\n m=0 \n for j in range(0,len(a)):\n m+=(a[j]-i)**2\n s.append(m)\nprint(min(s)) \n', 'N=int(input())\na=list(map(int,input().split()))\ns=[]\nfor i in range(max(a)):\n m=0 \n for j in range(0,len(a)):\n m+=(a[j]-i)**2\n s.append(m)\nprint(min(s)) \n', 'N,R=map(int,input().split())\nu=0\nif N>=10:\n u=R\nelse:\n u=R-100*(10-N)\nprint(u)\n\n', 'N,R=map(int,input().split())\nu=0\nif N>=10:\n u=R\nelse:\n u=R+100*(10-N)\nprint(u)\n\n'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s443617524', 's690778179', 's864356469', 's356749027'] | [3060.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [161, 164, 82, 82] |
p02765 | u438189153 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=map(int,input().split())\nif N>=10:\n print(R)\nelse:\n print(100*(10-N))\n', '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'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s010659623', 's259763606', 's033585397'] | [9076.0, 9072.0, 9016.0] | [25.0, 27.0, 28.0] | [80, 84, 84] |
p02765 | u439063038 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s712892860', 's396570500'] | [9052.0, 9104.0] | [28.0, 29.0] | [93, 93] |
p02765 | u440161695 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,K=map(int,input().split())\nprint(K if N>=10 else 1000-100*K)', 'N,K=map(int,input().split())\nprint(K if N>=10 else K+(1000-100*N))'] | ['Wrong Answer', 'Accepted'] | ['s668819458', 's430650981'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 66] |
p02765 | u440884206 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import string\nnumbers = "0123456789"\nalphabets = string.ascii_letters \ncharacters = numbers + alphabets\nNK=list(map(int,input().split()))\nn=NK[0]\nk=NK[1]\nresult = \'\'\nwhile n>=k:\n idx=n%k\n result=characters[idx]+result\n n=int(n/k)\n idx=n%k\n result=characters[idx]+result\nresult=str(result)\nprint(len(result))', 'NR=list(map(int,input().split()))\nif NR[0]>=10:\n inR=NR[1]\n print(inR)\nelse:\n inR=int(NR[1]+100*(10-NR[0]))\n print(inR)'] | ['Runtime Error', 'Accepted'] | ['s960604328', 's787284172'] | [3768.0, 2940.0] | [24.0, 17.0] | [343, 131] |
p02765 | u441246928 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\nif N < 10 :\n print(100*(10-K))\nelse :\n print(K)', "N,R = map(int,input().split())\nif int(N) < 10 :\n print( 100*(10 - int(N)) )\nelse :\n print( 'R' )\n", 'N,R = map(int,input().split())\nif N < 10 :\n print( 100*(10 - N) )\nelse :\n print( R )\n', "N,R = map(int,input().split())\nif N < 10 :\n print( 100*(10 - int(N)) )\nelse :\n print( 'R' )", 'N,R = map(int,input().split())\nif N < 10 :\n print(R - 100*(10-K))\nelse :\n print(R)', '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 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 + 100*(10-N))\nelse :\n print(R)'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s189819126', 's267943029', 's276145394', 's420177387', 's826318567', 's931444708', 's983767478', 's842924523'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [84, 103, 91, 97, 88, 88, 102, 88] |
p02765 | u441902623 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n < 10:\n print((r + 100*(10-r)))\nelse:\n print(n)', 'n, r = map(int, input().split())\nif n < 10:\n print((r + 100*(10-n)))\nelse:\n print(r)'] | ['Wrong Answer', 'Accepted'] | ['s844588875', 's017152566'] | [9108.0, 9160.0] | [25.0, 31.0] | [86, 86] |
p02765 | u443569380 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nl = list(map(int, input().split()))\n\nk = round(sum(l) / n)\nans = 0\nfor i in l:\n ans += (k - i) ** 2\n\nprint(ans)\n', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r + (100 * (10 - n)))\n'] | ['Runtime Error', 'Accepted'] | ['s770456880', 's013509081'] | [2940.0, 2940.0] | [17.0, 17.0] | [132, 97] |
p02765 | u445624660 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n < 10:\n k = 10 - n\n kk = 100 * k\n print(r - kk)\nelse:\n print(r)\n\n', 'n, r = map(int, input().split())\nif n < 10:\n k = 10 - n\n kk = 100 * k\n print(r + kk)\nelse:\n print(r)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s408419764', 's201383499'] | [2940.0, 2940.0] | [17.0, 17.0] | [114, 114] |
p02765 | u446774692 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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\nprint(R+100*max(0,10-N))\n'] | ['Wrong Answer', 'Accepted'] | ['s763167151', 's658449870'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 57] |
p02765 | u448720391 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\n\nif n=>10:\n print(r)\nelse:\n print(r+1000-100*n)\n', 'n,r=map(int,input().split())\n\nif n=>10:\n print(r)\nelse:\n print(r+10000-100*n)', 'n,r=map(int,input().split())\n\nif n>=10:\n print(r)\nelse:\n print(r+10000-100*n)\n', 'n,r=map(int,input().split())\n\nif n>=10:\n print(r)\nelse:\n print(r+1000-100*n)\n'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s082287183', 's085487706', 's300142730', 's243212316'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [79, 79, 80, 79] |
p02765 | u449108605 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input())\nx = list(map(int, input().split()))\n \nn = len(x)\n \nsum_a = 0\nsum_b = 0\n \nfor xi in x:\n sum_a += xi * xi\n sum_b += xi\n \nans = sum_a - (sum_b*sum_b)/n\nmin_ans = 10**9\nif ans < min_ans:\n ans = min_ans\n \nprint(int(ans+0.5))', 'N, R = map(int,input().split())\n\nif N >= 10:\n print(R)\nelse:\n print( R+100*(10-N) )'] | ['Runtime Error', 'Accepted'] | ['s628403132', 's817693874'] | [3064.0, 2940.0] | [17.0, 18.0] | [242, 85] |
p02765 | u452157159 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nprint(r - 100 * max(10 - n, 0))', 'n, r = map(int, input().split())\nprint(r + 100 * max(10 - n, 0))\n'] | ['Wrong Answer', 'Accepted'] | ['s082658357', 's396977352'] | [8940.0, 9148.0] | [28.0, 27.0] | [64, 65] |
p02765 | u453623947 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = int(input())\n\nif n >= 10 :\n ans = r\nelse :\n ans = r - 100 * (10 - n)\n', 'n, r = int(input().split())\n\nif n >= 10 :\n ans = r\nelse :\n ans = r - 100 * (10 - n)\n', 'n, r = int(input().split())\n\nif n >= 10 :\n ans = r\nelse :\n ans = r + 100 * (10 - n)\n', 'n, r = map(int, input().split())\n\nif n >= 10 :\n ans = r\nelse :\n ans = r + 100 * (10 - n)\n\nprint(ans)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s253861458', 's505852634', 's900756989', 's330049451'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 17.0] | [82, 90, 90, 107] |
p02765 | u459315695 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["N = int(input())\nR = int(input())\nif N > 1 & N <100 & R > 0 & R < 4111 :\n if N >= 10 :\n print(R)\n\n else :\n print(R-100*(10-N))\nelse:\n print('error')", 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Runtime Error', 'Accepted'] | ['s100501632', 's783655106'] | [2940.0, 2940.0] | [17.0, 17.0] | [157, 81] |
p02765 | u460386402 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=list(map(int,input().split()))\n\nif n<10:\n r=r-100*(10-n)\n \nprint(r)\n', 'n,r=list(map(int,input().split()))\n\nif n<10:\n r=r+100*(10-n)\n \nprint(r)\n'] | ['Wrong Answer', 'Accepted'] | ['s960803540', 's507442803'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 74] |
p02765 | u463775490 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int,input().split())\nprint(100*(10-n) if n < 10 else r)', 'n, r = map(int,input().split())\nprint(r+100*(10-n) if n < 10 else r)'] | ['Wrong Answer', 'Accepted'] | ['s424807484', 's179234412'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 68] |
p02765 | u468206018 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, k = map(int, input().split())\nans = 0\nif n < 10:\n ans = 100*(10-n)+k\nelse:\n ans = k\nprint(k)', 'n, k = map(int, input().split())\nans = 0\nif n < 10:\n ans = 100*(10-n)+k\nelse:\n ans = k\nprint(ans)\n'] | ['Wrong Answer', 'Accepted'] | ['s434440870', 's056351956'] | [2940.0, 3316.0] | [17.0, 21.0] | [97, 100] |
p02765 | u469936642 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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'] | ['Runtime Error', 'Accepted'] | ['s902690315', 's068291973'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 84] |
p02765 | u471539833 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['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))'] | ['Wrong Answer', 'Accepted'] | ['s732396528', 's577837045'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 78] |
p02765 | u472696272 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\n\nif n>10: print(r)\nelse: print(int(100*(19-n)+r))', 'n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n)) \n \n'] | ['Wrong Answer', 'Accepted'] | ['s399882944', 's864514760'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 85] |
p02765 | u476604182 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N>=10:\n print(R)\nelse:\n print(R+1000*(10-N))', 'N, R = map(int, input().split())\nif N>=10:\n print(R)\nelse:\n print(R+100*(10-N))\n'] | ['Wrong Answer', 'Accepted'] | ['s245788936', 's997198143'] | [2940.0, 2940.0] | [18.0, 17.0] | [82, 82] |
p02765 | u482157295 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int, input().split())\n\nif N < 10:\n R = R - (100 * (10 - N))\n if R < 0:\n R = 0\nprint(R)', 'N,R = map(int, input().split())\n\nif N < 10:\n R = R + (100 * (10 - N))\n if R < 0:\n R = 0\nprint(R)'] | ['Wrong Answer', 'Accepted'] | ['s087533287', 's422875610'] | [3064.0, 2940.0] | [17.0, 17.0] | [101, 101] |
p02765 | u482522932 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nk = int(input())\nif n>=10:\n print("k")\nelse:\n print("k+(100*(10-n))")', 'n,k = input().split()\nif n >= 10:\n print(k)\nelse:\n print(k+(100*(10-n)))', 'n = input()\nk = input()\nif n>=10:\n print(k)\nelse:\n print(k+(100*(10-n)))', 'n = int(input())\nk = (input())\nif n>=10:\n print(k)\nelse:\n print(k-(100*(10-n))', 'n = int(input())\nk = int(input())\nif n>=10:\n print(int(k))\nelse:\n print(int(k+(100*(10-n))))', 'n = int(input())\nk = int(input())\nif n>=10:\n print(k)\nelse:\n print(k-(100*(10-n)))', 'n = input()\nk = input()\nif n >= 10:\n print(k)\nelse:\n print(k+(100*(10-n)))', 'n = int(input())\nk = int(input())\nif n>=10:\n print(k)\nelse:\n print(k-(100*(10-n))', 'n = int(input())\nk = int(input())\nif n>=10:\n print(k)\nelse:\n print(k+(100*(10-n)))', 'n,k = map(int,input().split())\nif n >= 10:\n print(k)\nelse:\n print(k+(100*(10-n)))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s006368650', 's500684071', 's589613004', 's674865553', 's824013976', 's859990699', 's894349438', 's923970809', 's970502756', 's214009627'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [92, 78, 78, 80, 98, 84, 80, 83, 88, 87] |
p02765 | u482743994 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=int(input())\nif n>9:\n print(r)\nelse:\n print(r+100*(10-n))', 'n,r=map(int,input().split())\nif n>9:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Runtime Error', 'Accepted'] | ['s956239252', 's750644327'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 75] |
p02765 | u486251525 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\n\nif N <= 10:\n R = R + (10 - N) * 100\n \nprint(R)py', 'N,R = map(int,input().split())\n\nif N <= 10:\n R = R + (10 - N) * 100\n \nprint(R)'] | ['Runtime Error', 'Accepted'] | ['s599863741', 's366168563'] | [2940.0, 2940.0] | [18.0, 17.0] | [86, 84] |
p02765 | u489153633 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['i = list(map(int, input().split()))\nN=i[0]\nK=i[1]\ndef abc(N,K,x):\n if N-(K**x)>=0:\n abc(N,K,x+1)\n else:\n print(x)\nabc(N,K,1)', 'i = list(map(int, input().split()))\nif i[0]>9:\n print(i[1])\nelse:\n print(i[1]+1000-100*i[0])'] | ['Runtime Error', 'Accepted'] | ['s424585805', 's067175876'] | [3944.0, 2940.0] | [72.0, 17.0] | [142, 98] |
p02765 | u489170903 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input())\nR = int(input())\n\nif(N<10):\n print(R+(100*(10-N)))\nelse:\n print(R)', 'N = int(input())\nR = int(input())\n\nif(N<10):\n print(R+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)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s574368778', 's602475171', 's921633196'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [85, 83, 80] |
p02765 | u489762173 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = list(map(int,input().split()))\n\nif N >= 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = list(map(int,input().split()))\n\nif N >= 10:\n print(R)\nelse:\n print(100*(10-N))', 'N,R = list(map(int,input().split()))\n\nif N >= 10:\n print(R)\nelse:\n print(100*(10-N)+R)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s042865234', 's135080651', 's822961712'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [88, 86, 88] |
p02765 | u490489966 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['#A\nn, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r - 100 * (10 - n))', '#A\nn, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r-100*(10-k))', '#A\nn, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + 100 * (10 - n))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s706951766', 's869000354', 's753365793'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [96, 90, 96] |
p02765 | u491330513 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input(""))\nR = int(input(""))\n\nif N < 10:\n R += 100 * (10 - N)\n\nprint(R)', 'N, R = map(int, input().split())\n\nif N < 10:\n print(R + 100 * (10 - N))\nelse:\n print(R)'] | ['Runtime Error', 'Accepted'] | ['s698748476', 's581965942'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 93] |
p02765 | u494295478 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=input().split()\n\nN=int(N)\nR=int(R)\n\nif N>=10:\n print (R)\nelse:\n print(R-(100*(10-N)))', 'N=input()\nN=int(N)\n\nif N%2==1:\n N=int(((N-1)/2)+1)\n print(N)\nelse:\n N=int(N/2)\n print(N)\n \nN,R=input().split()\n\nN=int(N)\nR=int(R)\n\nif N>=10:\n print (R)\nelse:\n print(R+(100*(10-N)))', 'N,R=input().split()\n\nN=int(N)\nR=int(R)\n\nif N>=10:\n print (R)\nelse :\n print(R+(100*(10-N)))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s720810925', 's953073289', 's787397652'] | [2940.0, 3064.0, 2940.0] | [18.0, 17.0, 17.0] | [95, 201, 96] |
p02765 | u496184631 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a= list(map(int, input().split()))\nif a[0]<10:\n\tprint(a[1]-100*(10-a[0])\nelse:\n\tprint(a[1])', 'a= list(map(int, input().split()))\nif a[0]<10:\n print(a[1]-100*(10-a[0])\nelse:\n print(a[1])', 'a = list(map(int, input().split()))\nif a[0]< 10:\n print (a[1]+100*(10-a[0]))\nelse:\n print (a[1])'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s441950360', 's592412926', 's235151269'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 93, 102] |
p02765 | u497326082 | 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 their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif r>=10:\n print(n)\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,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+(100*(10-n)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s157485021', 's572379704', 's757044826'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [79, 79, 79] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.