output_description
stringlengths 15
956
| submission_id
stringlengths 10
10
| status
stringclasses 3
values | problem_id
stringlengths 6
6
| input_description
stringlengths 9
2.55k
| attempt
stringlengths 1
13.7k
| problem_description
stringlengths 7
5.24k
| samples
stringlengths 2
2.72k
|
---|---|---|---|---|---|---|---|
Print the answer.
* * *
|
s657078331
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a,b,c=input().split()
print((a[0],b[0],c[0],sep='').upper())
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s489266380
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
atcoder beginner contest
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s943079783
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a, b, c = input()
komoji = a[0] + b[0] + c[0]
print(komoji.upper())
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s898001137
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
print("".join(i[0] for i in input().split()).upper())
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s426371004
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
atcoder beginner contest
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s618770527
|
Wrong Answer
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a, b, c = input().title().split()
print(a[0], b[0], c[0])
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s557610457
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a,b,c=input().split()
print(upper(a[0]+b[0]+c[0])
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s115804948
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a, b, c = input().split()
dic = {
"a": "A",
"b": "B",
"c": "C",
"d": "D",
"e": "E",
"f": "F",
"g": "G",
"h": "H",
"i": "I",
"j": "J",
"k": "K",
"l": "L",
"m": "M",
"n": "N",
"o": "O",
"p": "P",
"q": "Q",
"r": "R",
"s": "S",
"t": "T",
"u": "U",
"v": "V",
"w": "W",
"x": "X",
"y": "Y",
"z": "Z",
}
print(dic[a[0]] + dic[b[0]] + dic[c[0]])
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s362230285
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
n = int(input())
i = input()
i = i.split()
for item in range(len(i)):
i[item] = int(i[item])
totn = 0
totp = 0
countp = 0
countn = 0
for x in range(len(i)):
totp += i[x]
totn += i[x]
if x % 2 == 1:
if totn == 0:
countn += 1
totn = 1
elif totn < 0:
countn += abs(totn) + 1
totn = 1
if totp == 0:
countp += 1
totp = -1
elif totp > 0:
countp += abs(totp) + 1
totp = -1
if x % 2 == 0:
if totn == 0:
countn += 1
totn = -1
elif totn > 0:
countn += abs(totn) + 1
totn = -1
if totp == 0:
countp += 1
totp = 1
elif totp < 0:
countp += abs(totp) + 1
totp = 1
count = min(countn, countp)
print(count)
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s985724320
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
print((input()[0] + input()[0] + input()[0]).upper())
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s975607870
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
s = [i for i in input().split()]
print(
"{}{}{}".format(
chr(ord(s[0][0]) + ord("A") - ord("a")),
chr(ord(s[1][0]) + ord("A") - ord("a")),
chr(ord(s[2][0]) + ord("A") - ord("a")),
)
)
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s609042296
|
Wrong Answer
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
A, B, C = input().split()
A = A.upper()
B = B.upper()
C = C.upper()
print(A[0], B[0], C[0])
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s136314138
|
Runtime Error
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
a = int(input()) - int(input())
print(["LESS", "EQUAL", "GREATER"][a >= 0 + a == 0])
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s771128432
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
print("".join([_[0].upper() for _ in input().split()]))
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s634811779
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
print("".join([c[0].upper() for c in input().split()]))
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s176437630
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
print("".join([w[0] for w in input().split()]).upper())
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Print the answer.
* * *
|
s621316116
|
Accepted
|
p03737
|
Input is given from Standard Input in the following format:
s_1 s_2 s_3
|
for a in list(input().split()):
print(a[0].upper(), end="")
|
Statement
You are given three words s_1, s_2 and s_3, each composed of lowercase English
letters, with spaces in between. Print the acronym formed from the uppercased
initial letters of the words.
|
[{"input": "atcoder beginner contest", "output": "ABC\n \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.