Dataset Viewer
Auto-converted to Parquet Duplicate
question_id
stringlengths
7
10
question
stringlengths
42
12.9k
starter_code
stringclasses
37 values
response
stringlengths
1.17k
271k
code
stringlengths
14
22.9k
verified
bool
1 class
is_passed
bool
1 class
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, let's see. I need to write a Python program that takes an integer a between 10 and 999 and outputs 1 or 0. Hmm, the examples show that 13 gives 1, 927 also 1, but 48 gives 0. Wait, what's the condition here? What's the difference between those numbers? Let me think. Maybe it's something to do with the digits of ...
a = int(input()) print(1 if a % 2 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, I need to solve this problem where given a number a between 10 and 999, I have to output 1 or 0 based on some condition. But wait, what's the condition? The examples show that 13 gives 1, 927 gives 1, and 48 gives 0. Hmm, I need to figure out what's the pattern here. Let me look at the examples again. Let's see...
a = int(input()) print(1 if a % 2 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, I need to solve this problem where given a number a between 10 and 999, I have to output 1 or 0 based on some condition. But wait, what's the condition? The examples show that 13 gives 1, 927 gives 1, and 48 gives 0. Hmm, I need to figure out what's the pattern here. Let me look at the examples again. Let's see...
a = int(input()) print(1 if a % 2 != 0 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, I need to solve this problem where I have to take an integer a between 10 and 999 and output 1 or 0 based on some condition. But wait, what's the condition? The examples show that 13 gives 1, 927 gives 1, and 48 gives 0. Hmm, I need to figure out what's the pattern here. Let me look at the examples again. Let's ...
a = int(input()) print(1 if a % 2 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, I need to solve this problem where given a number a between 10 and 999, I have to output 1 or 0 based on some condition. But wait, what's the condition? The examples show that 13 gives 1, 927 gives 1, and 48 gives 0. Hmm, I need to figure out what's the pattern here. Let me look at the examples again. Let's see...
a = int(input()) print(1 if a % 2 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, let's see. I need to write a Python program that takes an integer a between 10 and 999 and outputs 0 or 1. Hmm, what's the condition here? The examples might help. Looking at the examples: First example input is 13, output is 1. Second is 927, also 1. Third is 48, output 0. Wait, what's the pattern here? Le...
a = int(input()) print(1 if a % 2 != 0 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, I need to solve this problem where given a number a between 10 and 999, I have to output 1 or 0 based on some condition. But wait, what's the condition? The examples show that 13 gives 1, 927 gives 1, and 48 gives 0. Hmm, I need to figure out what's the pattern here. Let me look at the examples again. Let's see...
a = int(input()) print(a % 2)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, let's see. I need to write a Python program that takes an integer a between 10 and 999 and outputs 0 or 1. Hmm, what's the condition here? The examples might help. Let's look at the examples given. First example: Input 13 outputs 1. Second, 927 also outputs 1. Third, 48 gives 0. So what's the difference between ...
a = int(input()) print(1 if a % 2 != 0 else 0)
true
true
seed_11
Input The input contains a single integer a (10 ≤ a ≤ 999). Output Output 0 or 1. Examples Input 13 Output 1 Input 927 Output 1 Input 48 Output 0
Okay, let's see. I need to write a Python program that takes an integer a between 10 and 999 and outputs 0 or 1. Hmm, the examples show that 13 gives 1, 927 gives 1, and 48 gives 0. So what's the pattern here? Wait, maybe the problem is to check if the number is a palindrome? Like 13 reversed is 31, which isn't the sa...
a = int(input()) print(1 if a % 2 else 0)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to solve this programming problem where given two integers a1 and a2, I have to output some calculated value. The examples might help me figure out what the pattern is here. Looking at the first example: Input 3 and 14, output is 44. Hmm. Let's think about possible operations. Let me see 3 +14 ...
a, b = map(int, input().split()) rev_b = int(str(b)[::-1]) print(a + rev_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I have to solve this programming problem where given two integers a1 and a2, I need to output a single integer based on some calculation. The examples might help me figure out what the pattern is here. Looking at the first example: Input 3 and 14, output is 44. Hmm. Let's think of possible operations....
a, b = map(int, input().split()) rev_b = int(str(b)[::-1]) print(a + rev_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's tackle this programming problem. Hmm, the input is two integers a1 and a2, and I need to output a single integer. The examples might help me figure out what the correct output is. Let me look at the examples given. First example: Input 3 and 14, output is 44. Let's think, how can 3 and 14 combine to 44? Ma...
a, b = map(int, input().split()) rev_b = int(str(b)[::-1]) print(a + rev_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to find a solution for this programming problem. The input is two integers a1 and a2, and the output is a single integer. The examples given are: First example: 3 and 14 give 44. Hmm, how does that happen? Let me think. Maybe combining the numbers in some way. Like 3 and 14 could be 314, but th...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I have to solve this programming problem where given two integers a1 and a2, I need to output a single integer based on some operation between them. The examples might help figure out what the operation is. Looking at the first example: Input 3 and 14, output 44. Hmm, 3 plus 14 is 17, but 44 is bigger...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, I need to solve this programming problem. Let's see what the problem is. The input is two integers a1 and a2, and the output is a single integer. The examples given are: First example: 3 and 14 give 44. Hmm, how does that happen? Let me think. Maybe combining the numbers in some way. Like 3 and 14 could be 314, ...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to solve this programming problem where given two integers a1 and a2, I have to output a single integer based on some calculation. The examples might help me figure out what the pattern is here. Looking at the first example: Input 3 and 14, output is 44. Hmm. Let's think of possible operations....
a1, a2 = map(int, input().split()) reversed_a2 = int(str(a2)[::-1]) print(a1 + reversed_a2)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I have to solve this programming problem where given two integers a1 and a2, I need to output a single integer based on some calculation. The examples might help me figure out what the pattern is here. Looking at the first example: Input 3 and 14, output is 44. Hmm. Let's think of possible operations....
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I have to solve this programming problem where the input is two integers a1 and a2, and I need to output a single integer based on them. The examples given are like 3 and 14 giving 44, 27 and 12 giving 48, and 100 and 200 giving 102. Hmm, I need to figure out what the pattern is here. Let me start by ...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. The problem is to take two integers a1 and a2 and output a single integer based on some operation. The examples given are: First example: 3 and 14 give 44. Hmm. Let's think. How can 3 and 14 combine to 44? Maybe adding them? 3+14 is 17, which isn't 44. Multiplying gives 42. Not that either. Maybe conc...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to solve this programming problem where given two integers a1 and a2, I have to output some calculated value. The examples might help me figure out what the pattern is here. Looking at the first example: input 3 and 14 gives 44. Hmm. Let's think of possible operations. 3 +14 is 17, but 44 is b...
a, b = map(int, input().split()) reversed_b = int(str(b)[::-1]) print(a + reversed_b)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to solve this programming problem where given two integers a1 and a2, I have to output some calculated value. The examples might help me figure out what the pattern is here. Let me look at the examples again. First example input is 3 and 14, output is 44. Hmm. Let's think: 3 + 14 is 17, but 44 ...
a1, a2 = map(int, input().split()) reversed_a2 = int(str(a2)[::-1]) print(a1 + reversed_a2)
true
true
seed_13
Input The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space. Output Output a single integer. Examples Input 3 14 Output 44 Input 27 12 Output 48 Input 100 200 Output 102
Okay, let's see. I need to solve this programming problem where given two integers a1 and a2, I have to output some calculated value. The examples might help me figure out what the pattern is here. Looking at the first example: Input 3 and 14 gives 44. Hmm. Let's think about possible operations. Maybe adding them? 3+1...
a1, a2 = map(int, input().split()) reversed_a2 = int(str(a2)[::-1]) print(a1 + reversed_a2)
true
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
264