s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s231247421 | p03860 | u574483499 | 1571329543 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a = input()
b = input()
c = input()
print("A" + b + "C") |
s521817898 | p03860 | u677400065 | 1571259567 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 76 | a,b,c = map(str, input().split())
print(upper(a[0])+upper(b[0])+upper(c[0])) |
s775045953 | p03860 | u021337285 | 1570735136 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | a, b, x = map(int, input().split())
if a % x == 0:
ans = (b // x) - (a // x) + 1
else:
ans = (b // x) - (a // x)
print(ans)
|
s803404869 | p03860 | u379424722 | 1570425865 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 37 | s = input()
print(A + "input[8]" + C) |
s187414685 | p03860 | u672898046 | 1570415862 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a, b, x = map(int, input().split())
print(b//x - (a-1)//x) |
s458378840 | p03860 | u448655578 | 1570199147 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | AtCoder, s, Contest = map(str, input().split())
print(A + str(s[0]) + C)
|
s849822860 | p03860 | u381246791 | 1570044946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | #-*- coding:utf-8 -*-
a,b,x=map(int,input().split())
print(b//x-(a-1)//x) |
s438647473 | p03860 | u089376182 | 1569866002 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 39 | print(input()[0]+input()[0]+input()[0]) |
s960394109 | p03860 | u175590965 | 1569811951 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 44 | a,b,c = input().split()
print("A"+B[0]+"Ç") |
s133872460 | p03860 | u747602774 | 1569646931 | Python | PyPy3 (2.4.0) | py | Runtime Error | 186 | 38256 | 56 | a,X,c=map(int,input().split())
S='A'+X[0]+'C'
print(S) |
s951097890 | p03860 | u536177854 | 1569249870 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 33 | a,b,c=input()
print('A'+b[0]+'C') |
s290546676 | p03860 | u661980786 | 1569110825 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | s = input().split()[1]
s_ini = list(s)[0]
print(A{}C.format(s_ini)) |
s125630297 | p03860 | u586212264 | 1568943071 | Python | PyPy3 (2.4.0) | py | Runtime Error | 188 | 38640 | 68 | title=list(input.split())
word=list(title[1])
print('A'+word[0]+'C') |
s764606065 | p03860 | u699699071 | 1568574944 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38256 | 247 | a,b,x= map(int,input().split())
result=0
num = a
for _ in range(a,b+1,x):
if num <= b and num % x == 0 :
# print("num",num)
result+=1
num+=x
# while a <= b:
# if a % x == 0:
# result+=1
# a+=x
print(result)
|
s321364584 | p03860 | u597017430 | 1567941479 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 70 | A = list(map(int, input().split()))
print(A[0][0] + A[1][0] + A[2][0]) |
s076049379 | p03860 | u875408597 | 1567450092 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | a, b, c = map(string, input().split())
name = a[0] + b[0] + c[0]
print(name) |
s231923954 | p03860 | u657971041 | 1567433862 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | print("A" + int()[8] + "C") |
s978499914 | p03860 | u380683328 | 1567305392 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 472 | n, x = map(int, input().split())
a = list(map(int, input().split()))
c = 0
if x == 0:
print(sum(a))
else:
for i in range(n-1):
if a[i] + a[i+1] > x:
if a[i+1] >= a[i]:
if a[i] > x:
c += a[i] - (x-1)
a[i] = x - 1
c += (a[i+1] - (x - a[i]))
a[i+1] -= (a[i+1] - (x - a[i]))
else:
if a[i+1] > x:
c += a[i+1] - (x-1)
a[i+1] = x - 1
c += (a[i+1] - abs(x - a[i]))
a[i+1] -= (a[i+1] - abs(x - a[i]))
print(c) |
s663312832 | p03860 | u380683328 | 1567305242 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 515 | n, x = map(int, input().split())
a = list(map(int, input().split()))
c = 0
if x == 0:
print(sum(a))
else:
for i in range(n-1):
if a[i] + a[i+1] > x:
if a[i+1] >= a[i]:
if a[i] > x:
c += a[i] - (x-1)
a[i] = x - 1
c += (a[i+1] - (x - a[i]))
a[i+1] -= (a[i+1] - (x - a[i]))
else:
if a[i+1] > x:
c += a[i+1] - (x-1)
a[i+1] = x - 1
c += (a[i+1] - abs(x - a[i]))
a[i+1] -= (a[i+1] - abs(x - a[i]))
print(c) |
s469169848 | p03860 | u089376182 | 1567215727 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | print('A{}C'.format(input().split()[1][1]))
|
s586474310 | p03860 | u559103167 | 1567077556 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | print("A"+{input()[8]}+"C") |
s854550259 | p03860 | u559103167 | 1567077454 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(f"A{input()[8]}C") |
s125574472 | p03860 | u726979570 | 1567067260 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | x=input()
print(X[0],X[8],X[10]) |
s108043289 | p03860 | u418466780 | 1566964242 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 651 |
def computeMinimumNoOfOperations(candies, x):
noOfOperations = 0
for i in range(len(candies) - 1):
if (candies[i] > x):
candiesToEat = candies[i] - x
candies[i] -= candiesToEat
noOfOperations += candiesToEat
if (candies[i] + candies[i + 1] > x):
candiesToEat = candies[i] + candies[i + 1] - x
candies[i + 1] -= candiesToEat
noOfOperations += candiesToEat
return noOfOperations
def start():
n, x = list(map(int, input().split()))
candies = list(map(int, input().split()))
return computeMinimumNoOfOperations(candies, x)
print(start())
|
s581660472 | p03860 | u418466780 | 1566964101 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 644 | def computeMinimumNoOfOperations(candies, x):
noOfOperations = 0
for i in range(len(candies) - 1):
if (candies[i] > x):
candiesToEat = candies[i] - x
candies[i] -= candiesToEat
noOfOperations += candiesToEat
if (candies[i] + candies[i + 1] > x):
candiesToEat = candies[i] + candies[i + 1] - x
candies[i + 1] -= candiesToEat
noOfOperations += candiesToEat
return noOfOperations
def start():
n, x = list(map(int, input().split()))
candies = list(map(int, input().split()))
return computeMinimumNoOfOperations(candies, x)
print(start())
|
s505735192 | p03860 | u993178579 | 1566941415 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 621 | def minimumNumOfCandies(candies,atmostValue):
candiesToEat = 0
for i in range( 0 , len ( candies ) - 1 ) :
if( candies[i] > atmostValue ) :
candiesToEat = candiesToEat + ( candies[i] - atmostValue)
candies[i] = candies[i] - ( candies[i] - atmostValue )
if( candies[i] + candies[i + 1] > atmostValue ):
candiesToEat = candiesToEat + ( candies[i + 1] - atmostValue )
candies[i + 1] = candies[i + 1] - ( candies[i + 1] - atmostValue)
return candiesToEat
n = list(int(i) for i in input().split())
candies = list( int (i) for i in input().split())
print(minimumNumOfCandies(candies,n[1])) |
s778445989 | p03860 | u882370611 | 1566612753 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 46 | a=input().split
print(a[0][0]+a[1][0]+a[2][0]) |
s575596982 | p03860 | u234631479 | 1566338088 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 | a, b, x = map(int, input().split())
if a%x == 0:
print(b//x-a//x+1)
else:
print(b//x-a//x) |
s670244173 | p03860 | u453500284 | 1566316520 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38256 | 50 | a, s ,c = map(input().split())
print('A'+s[0]+'C') |
s311021190 | p03860 | u131625544 | 1566247051 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | contest_name = [word for word in input.split()]
print('A' + contest_name[1][0] + 'C') |
s214667252 | p03860 | u131625544 | 1566246911 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 67 | contest_name = input.split()
print('A' + contest_name[1][0] + 'C') |
s906179834 | p03860 | u702051956 | 1566130796 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 24 | input("A%sC"%input()[0]) |
s317731664 | p03860 | u702051956 | 1566130697 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | input("A%sC"%input()[8]) |
s218989155 | p03860 | u863370423 | 1565999465 | Python | PyPy2 (5.6.0) | py | Runtime Error | 46 | 27500 | 131 | content = input().split()
abbrev = [letter[0] for letter in content if letter[0].isupper() ]
abbrev = "".join(abbrev)
print(abbrev) |
s268812845 | p03860 | u477977638 | 1565848841 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 22 | print(A+input()[8]+C)
|
s183376032 | p03860 | u477977638 | 1565848790 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | s=input()
print(A+""+C.join(s[8])) |
s890919551 | p03860 | u111365362 | 1565702598 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | a,b,c = map(int,input().split())
print('A'+b[0]+'C') |
s321039895 | p03860 | u842388336 | 1565652896 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | A,B,C = input().split()
print(A.upper[0]+B.upper[0]+C.upper[0]) |
s416561801 | p03860 | u740047492 | 1565648735 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 59 | A, X, C= map(int,input().split())
print(A[0] + X[0] + C[0]) |
s967060490 | p03860 | u740047492 | 1565648434 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 47 | c= list(map(int,input().split()))
print(str[1]) |
s173295201 | p03860 | u407016024 | 1565640129 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | AtCoder, s, Contest = map(str, input().split())
x = s[0]
print(f'A{x}C') |
s967982793 | p03860 | u407016024 | 1565640096 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 140 | AtCoder, s, Contest = map(str, input().split())
print(f'A{s[0]}C')AtCoder, s, Contest = map(str, input().split())
x = s[0]
print(f'A{s}C') |
s000073118 | p03860 | u407016024 | 1565640060 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | AtCoder, s, Contest = map(str, input().split())
print(f'A{s[0]}C') |
s948134048 | p03860 | u407016024 | 1565639975 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 67 | AtCoder, s, Contest = map(str, input().split())
print(f'A{s[0]}C') |
s894729125 | p03860 | u412481017 | 1565626966 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | print("A%sC",%input().split()[0]) |
s283116359 | p03860 | u412481017 | 1565626920 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print("A%sC",%input()[8]) |
s609576279 | p03860 | u855866205 | 1565374272 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 57 | a, b, c = map(int, input().split())
print(a[0]+b[0]+c[0]) |
s880847364 | p03860 | u464912173 | 1565345744 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | s = input(AtCoder s Contest)
print('A' + input()[8] + 'C') |
s412812122 | p03860 | u498397607 | 1564895627 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | s = input().split()[1][0]
print('A{}C').format(s) |
s160376654 | p03860 | u498397607 | 1564895516 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | s = input().split()[1][0]
print(f'A{s}C') |
s829913131 | p03860 | u571445182 | 1564809305 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 |
Tmp = []
Tmp = input().rstrip().split(' ')
S = []
S = int(Tmp[1])
sTmp = S[0]
print('A'+sTmp+'C')
|
s097065241 | p03860 | u844123804 | 1564767498 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | word = input().split()
print(word[0][1]+word[1][1]+word[2][1]) |
s215319850 | p03860 | u257332942 | 1563769660 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 64 | a, b, x = map(int, input().split())
print(b // x - (a - 1) // x) |
s123573607 | p03860 | u567434159 | 1563573993 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a, b, c = input.split()
print(a[0] + b[0] + c[0]) |
s245323723 | p03860 | u423585790 | 1563046705 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38512 | 1313 | #!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')
#A
def A():
s = SR(3)
print(s[0][0]+s[1][0]+s[2][0])
return
#B
def B():
return
#C
def C():
return
#D
def D():
return
#E
def E():
return
#F
def F():
return
#G
def G():
return
#H
def H():
return
#Solve
if __name__ == '__main__':
A()
|
s574549874 | p03860 | u759412327 | 1562202749 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 61 | a = list(map(int,input().split()))
print((a[1]-a[0]+1)//a[2]) |
s837369376 | p03860 | u862296914 | 1562109262 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | A,s,C = input.split()
print(A[0]+s[0]+C[0]) |
s697158786 | p03860 | u900109664 | 1561863189 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | a = input()
x = input()
b = input()
x_list = list(x)
print(a + x_list[0] + b)
|
s115166637 | p03860 | u556589653 | 1561745478 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | A = input().split()
print({}{}{}.format(A[0],A[1][0],A[2]) |
s502162278 | p03860 | u714300041 | 1561484256 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 71 | A. B, C = input().split()
B = [b for b in B]
print("A{}C".format(B[0])) |
s375009247 | p03860 | u714300041 | 1561484224 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | A. B, C = input().split()
print("A{}C".format(B[0])) |
s140256547 | p03860 | u156302018 | 1560881017 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 307 | n, x = map(int, input().split())
a = input().split()
a_sum = 0
for i in range(n):
a_sum += int(a[i])
tolerance = -(-(n * x) // 2)
result = a_sum - tolerance
if int(a[0]) > x:
result += 1
if int(a[0]) > x and int(a[n-1]) > x:
result -= 1
if result < 0:
print("0")
else:
print(result)
|
s264830573 | p03860 | u156302018 | 1560880944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 307 | n, x = map(int, input().split())
a = input().split()
a_sum = 0
for i in range(n):
a_sum += int(a[i])
tolerance = -(-(n * x) // 2)
result = a_sum - tolerance
if int(a[0]) > x:
result += 1
if int(a[0]) > x and int(a[n-1]) > x:
result -= 2
if result < 0:
print("0")
else:
print(result)
|
s906765241 | p03860 | u180528413 | 1560675947 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | s = input().split(' ')[1]
print(f'A{s[0].upper()}C') |
s080314651 | p03860 | u779455925 | 1560456973 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 184 | N,x=map(int,input().split())
A=list(map(int,input().split()))
count=0
for i in range(N-1):
if A[i]+A[i+1]>x:
count+=A[i]+A[i+1]-x
A[i+1]=max(x-A[i],0)
print(count)
|
s254587454 | p03860 | u779455925 | 1560456858 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 252 | N,x=map(int,input().split())
A=list(map(int,input().split()))
count=0
for i in range(N-1):
if A[i]+A[i+1]>x:
count+=A[i]+A[i+1]-x
A[i+1]-=A[i]+A[i+1]-x
if A[i+1]<0:
A[i]+=A[i+1]
A[i+1]=0
print(count)
|
s391614075 | p03860 | u623687794 | 1559584505 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 56 | a=list(map(int,input().split()))
print("A"+a[1][0]+"C")
|
s794247708 | p03860 | u663014688 | 1558796441 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | a = input()
b = input()
c = input()
print(a[:1] + b[:1] + c[:1]) |
s459505835 | p03860 | u663014688 | 1558796357 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | a, b, c = map(int, input().split())
print(a[:1] + b[:1] + c[:1]) |
s398343883 | p03860 | u663014688 | 1558796292 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 56 | a, b, c = map(int, input().split())
print(a + b[:1] + c) |
s529342515 | p03860 | u252773293 | 1558722253 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a,b,c=map(str,input().split())
print('A'b[0]'C') |
s568050816 | p03860 | u473633103 | 1557791698 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a,b,x = map(int,input().split())
print((b+1)//x - a//x) |
s967119755 | p03860 | u583276018 | 1557421996 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | list = input()
i = 0
while True:
if i>3:
break
print(list[0][0:1],end='')
i += 1 |
s032727439 | p03860 | u583276018 | 1557421119 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | list = input().split()
i=0
while True:
if i>2:
break
print(list[i][0:1])
i++
|
s621316468 | p03860 | u131666536 | 1557262024 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 88 | contName = input().split()
print(''.join([contName[0][0],contName[1][0],contName[2][0]]) |
s197123700 | p03860 | u728566015 | 1556151048 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a, b, c = str(input().split())
print(a[0], b[0], c[0])
|
s418246135 | p03860 | u743848428 | 1555814321 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | print("A{}C".format(input()[8]) |
s568036638 | p03860 | u382431597 | 1555730064 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 61 | a,b,c = list(map(int, input().split()))
print("A"+ b[0]+ "C") |
s923215969 | p03860 | u756388720 | 1555722088 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 480 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, m, n) for (int i = m; i < n; ++i)
#define rem(i, m, n) for (int i = m; i >= n; --i)
typedef long long ll;
#define mod 1000000007
template<class T>bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; }
int main() {
string a,b,c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
}
|
s587910574 | p03860 | u055941944 | 1555011295 | Python | Python (3.4.3) | py | Runtime Error | 24 | 2940 | 129 | a,b,x=map(int,input().split())
ans=0
for i in range(a,b+1):
if i%x == 0:
ans+=1
else:
ans=ans
print(ans)
|
s768037740 | p03860 | u055941944 | 1555011213 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 152 | # -*- coding utf-8 -*-
a,b,x=map(int,input().split())
ans=0
for i in range(a,b+1):
if i%x==0:
ans+=1
else:
ans=ans
print(ans)
|
s646482073 | p03860 | u055941944 | 1555011148 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 151 | # -*- coding utf-8 -*-
a,b,x=map(int,input().split())
ans=0
for i in range(a,b+1):
if i%x==0:
ans+=1
else:
ans+=0
print(ans)
|
s917573107 | p03860 | u055941944 | 1555010981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | # -*- coding utf-8 -*-
a,b,x=map(int,input().split())
ans=0
for i in range(a,b+1):
if i%x==0:
ans+=1
else:
pass
print(ans)
|
s191279551 | p03860 | u055941944 | 1555010909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | # -*- coding utf-8 -*-
a,b,x=map(int,input().split())
ans=0
for i in range(a,b+1):
if i%x==0:
ans+=1
else:
pass
print(ans)
|
s884366842 | p03860 | u626000772 | 1554774218 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | a,b,x = map(int, input().split())
B = int(b / x) + 1
if (a - 1) >= 0 :
A = int((a - 1) / x) + 1
else :
A = 0
print(B - A) |
s173700452 | p03860 | u150828278 | 1554426036 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | print(input()[0]+input()[0]+input()[0]) |
s777534981 | p03860 | u966508131 | 1554234274 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 39 | print(input()[0]+input()[0]+input()[0]) |
s010344151 | p03860 | u716649090 | 1554175248 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 26 | print("A"%s"C"%input()[8]) |
s403837206 | p03860 | u367130284 | 1553611030 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | a,b,x=map(int,input().split())
print(b//x - (a-1)//x) |
s760791367 | p03860 | u126526457 | 1553406748 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 26 | print("A%sC".input()[8])
|
s835628457 | p03860 | u865413330 | 1553388262 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 109 | a, b, x = map(int, input().split())
def count(a, n):
return a // n
print(count(b, x) - count(a-1, x))
|
s846848624 | p03860 | u077075933 | 1553091328 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | print(sum([s[0] for s in input().split()])) |
s241082942 | p03860 | u115994101 | 1553048153 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 48 | a,b,c = map(str, raw_input().split())
print b[1] |
s142546284 | p03860 | u878138257 | 1552539289 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 75 | a,b,c = map(str, input().split())
d = b.split("")
e = d[0]
print("A"+e+"C") |
s564140572 | p03860 | u403984573 | 1551302136 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a,b,c=map(input().split())
print(a[0]+b[0]+c[0])
|
s857192292 | p03860 | u403984573 | 1551301998 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | a,s,b=input(),split()
print(a(0)+c(0)+b(0))
|
s489709343 | p03860 | u403984573 | 1551301976 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 49 | a,s,b=map(input(),split())
print(a(0)+c(0)+b(0))
|
s014739447 | p03860 | u403984573 | 1551301917 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a,s,b=map(input(),split())
print(a(1)+c(1)+b(1))
|
s574707824 | p03860 | u044746696 | 1551235529 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 71 | a=list(map(input().split())
for w in a:
a=a[0]
a=strings(a)
print(a)
|
s085760871 | p03860 | u543954314 | 1550690471 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a, b, x = map(int, input().split())
ans = b//x - a//x
if a%x == 0:
ans += 1
print(ans) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.