message stringlengths 2 44.5k | message_type stringclasses 2
values | message_id int64 0 1 | conversation_id int64 42 109k | cluster float64 5 5 | __index_level_0__ int64 84 217k |
|---|---|---|---|---|---|
Provide tags and a correct Python 3 solution for this coding contest problem.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 14 1
Output
14
Input
14 5 9
Output
464
... | instruction | 0 | 73,598 | 5 | 147,196 |
Tags: *special
Correct Solution:
```
F0, F1, n = map(int, input().split())
if n == 0:
print(F0)
else:
Ans = F1
for i in range(1, n):
Ans = F0 + F1
F0 = F1
F1 = Ans
print(Ans)
``` | output | 1 | 73,598 | 5 | 147,197 |
Provide tags and a correct Python 3 solution for this coding contest problem.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 14 1
Output
14
Input
14 5 9
Output
464
... | instruction | 0 | 73,599 | 5 | 147,198 |
Tags: *special
Correct Solution:
```
f = [0] * 22
f[0], f[1], idx = [int(x) for x in input().split()]
for i in range (2, 22) : f[i] = f[i - 1] + f[i - 2]
print(f[idx])
``` | output | 1 | 73,599 | 5 | 147,199 |
Provide tags and a correct Python 3 solution for this coding contest problem.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 14 1
Output
14
Input
14 5 9
Output
464
... | instruction | 0 | 73,600 | 5 | 147,200 |
Tags: *special
Correct Solution:
```
a, b, n = map( int, input().split() )
for i in range( n ):
a, b = b, a + b
print( a )
``` | output | 1 | 73,600 | 5 | 147,201 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 1... | instruction | 0 | 73,601 | 5 | 147,202 |
Yes | output | 1 | 73,601 | 5 | 147,203 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 1... | instruction | 0 | 73,602 | 5 | 147,204 |
Yes | output | 1 | 73,602 | 5 | 147,205 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 1... | instruction | 0 | 73,603 | 5 | 147,206 |
Yes | output | 1 | 73,603 | 5 | 147,207 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 1... | instruction | 0 | 73,604 | 5 | 147,208 |
No | output | 1 | 73,604 | 5 | 147,209 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Input
The only line of input contains three integers a1, a2, a3 (1 β€ a1, a2, a3 β€ 20), separated by spaces.
Output
Output a single integer.
Examples
Input
2 3 2
Output
5
Input
13 1... | instruction | 0 | 73,605 | 5 | 147,210 |
No | output | 1 | 73,605 | 5 | 147,211 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Ilya is a very good-natured lion. He likes maths. Of all mathematical objects, his favourite one is matrices. Now he's faced a complicated matrix problem he needs to solve.
He's got a square 2n... | instruction | 0 | 73,632 | 5 | 147,264 |
Yes | output | 1 | 73,632 | 5 | 147,265 |
Provide tags and a correct Python 3 solution for this coding contest problem.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - 4 = - 4, because 1, 2 and 4 are 20, 21 and 22 r... | instruction | 0 | 73,744 | 5 | 147,488 |
Tags: math
Correct Solution:
```
# s_map = list()
# p2 = 0
# step = 1
# for i in range(int(input())):
# inp = int(input())
# while step <= inp:
# if(step == 1 << p2):
# p2 += 1
# s_map.append(-step)
# else:
# s_map.append(step)
# step += 1
# print(... | output | 1 | 73,744 | 5 | 147,489 |
Provide tags and a correct Python 3 solution for this coding contest problem.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - 4 = - 4, because 1, 2 and 4 are 20, 21 and 22 r... | instruction | 0 | 73,746 | 5 | 147,492 |
Tags: math
Correct Solution:
```
t = int(input())
l=[]
for i in range(t):
n = int(input())
j=0
s=0
while(pow(2,j)<=n):
s = s + pow(2,j)
j+=1
total = (n*(n+1))//2
y = total - s
l.append((-1*s)+y)
for k in l:
print(k)
``` | output | 1 | 73,746 | 5 | 147,493 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,750 | 5 | 147,500 |
Yes | output | 1 | 73,750 | 5 | 147,501 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,751 | 5 | 147,502 |
Yes | output | 1 | 73,751 | 5 | 147,503 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,752 | 5 | 147,504 |
Yes | output | 1 | 73,752 | 5 | 147,505 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,753 | 5 | 147,506 |
Yes | output | 1 | 73,753 | 5 | 147,507 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,754 | 5 | 147,508 |
No | output | 1 | 73,754 | 5 | 147,509 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,755 | 5 | 147,510 |
No | output | 1 | 73,755 | 5 | 147,511 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,756 | 5 | 147,512 |
No | output | 1 | 73,756 | 5 | 147,513 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.
For example, for n = 4 the sum is equal to - 1 - 2 + 3 - ... | instruction | 0 | 73,757 | 5 | 147,514 |
No | output | 1 | 73,757 | 5 | 147,515 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
You are given two multisets A and B. Each multiset has exactly n integers each between 1 and n inclusive. Multisets may contain multiple copies of the same number.
You would like to find a none... | instruction | 0 | 73,758 | 5 | 147,516 |
No | output | 1 | 73,758 | 5 | 147,517 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
You are given two multisets A and B. Each multiset has exactly n integers each between 1 and n inclusive. Multisets may contain multiple copies of the same number.
You would like to find a none... | instruction | 0 | 73,759 | 5 | 147,518 |
No | output | 1 | 73,759 | 5 | 147,519 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
You are given two multisets A and B. Each multiset has exactly n integers each between 1 and n inclusive. Multisets may contain multiple copies of the same number.
You would like to find a none... | instruction | 0 | 73,760 | 5 | 147,520 |
No | output | 1 | 73,760 | 5 | 147,521 |
Provide tags and a correct Python 3 solution for this coding contest problem.
The marmots have prepared a very easy problem for this year's HC2 β this one. It involves numbers n, k and a sequence of n positive integers a1, a2, ..., an. They also came up with a beautiful and riveting story for the problem statement. It... | instruction | 0 | 73,834 | 5 | 147,668 |
Tags: greedy, sortings
Correct Solution:
```
from heapq import nsmallest
n, k = map(int, input().split())
a = list(map(int, input().split()))
print(sum(nsmallest(k, a)))
``` | output | 1 | 73,834 | 5 | 147,669 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
The marmots have prepared a very easy problem for this year's HC2 β this one. It involves numbers n, k and a sequence of n positive integers a1, a2, ..., an. They also came up with a beautiful a... | instruction | 0 | 73,836 | 5 | 147,672 |
Yes | output | 1 | 73,836 | 5 | 147,673 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
The marmots have prepared a very easy problem for this year's HC2 β this one. It involves numbers n, k and a sequence of n positive integers a1, a2, ..., an. They also came up with a beautiful a... | instruction | 0 | 73,839 | 5 | 147,678 |
Yes | output | 1 | 73,839 | 5 | 147,679 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,024 | 5 | 148,048 |
"Correct Solution:
```
d,n=map(int, input().split())
if n == 100:
n = 101
print(n * 100 **d)
``` | output | 1 | 74,024 | 5 | 148,049 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,025 | 5 | 148,050 |
"Correct Solution:
```
d,n=list(map(int,input().split()))
if n==100:
n+=1
print(n*(pow(100,d)))
``` | output | 1 | 74,025 | 5 | 148,051 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,026 | 5 | 148,052 |
"Correct Solution:
```
n,k=map(int,input().split())
print(100**n * 101 if k==100 else 100**n * k)
``` | output | 1 | 74,026 | 5 | 148,053 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,027 | 5 | 148,054 |
"Correct Solution:
```
a, b = map(int, input().split())
print(100 ** a * (b + b // 100))
``` | output | 1 | 74,027 | 5 | 148,055 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,028 | 5 | 148,056 |
"Correct Solution:
```
D,N=map(int, input().split())
print((N+int(N/100))*100**D)
``` | output | 1 | 74,028 | 5 | 148,057 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,029 | 5 | 148,058 |
"Correct Solution:
```
D, N = [int(i) for i in input().split()]
print((100**D) * (N + (N // 100)))
``` | output | 1 | 74,029 | 5 | 148,059 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,030 | 5 | 148,060 |
"Correct Solution:
```
d,n=map(int,input().split())
if n==100:
n+=1
n*=100**d
print(n)
``` | output | 1 | 74,030 | 5 | 148,061 |
Provide a correct Python 3 solution for this coding contest problem.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that... | instruction | 0 | 74,031 | 5 | 148,062 |
"Correct Solution:
```
d, n = map(int,input().split())
n += n//100
print(n*(100**d))
``` | output | 1 | 74,031 | 5 | 148,063 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,032 | 5 | 148,064 |
Yes | output | 1 | 74,032 | 5 | 148,065 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,033 | 5 | 148,066 |
Yes | output | 1 | 74,033 | 5 | 148,067 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,034 | 5 | 148,068 |
Yes | output | 1 | 74,034 | 5 | 148,069 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,035 | 5 | 148,070 |
Yes | output | 1 | 74,035 | 5 | 148,071 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,036 | 5 | 148,072 |
No | output | 1 | 74,036 | 5 | 148,073 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,037 | 5 | 148,074 |
No | output | 1 | 74,037 | 5 | 148,075 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,038 | 5 | 148,076 |
No | output | 1 | 74,038 | 5 | 148,077 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.
As the name of the contest is AtCoder Beginner Contest 100, Rin... | instruction | 0 | 74,039 | 5 | 148,078 |
No | output | 1 | 74,039 | 5 | 148,079 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,040 | 5 | 148,080 |
"Correct Solution:
```
n, a, b = map(int, input().split())
print(sum([i if a <= sum([int(s) for s in str(i)]) <= b else 0 for i in range(1, n+1)]))
``` | output | 1 | 74,040 | 5 | 148,081 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,041 | 5 | 148,082 |
"Correct Solution:
```
n,a,b = map(int,input().split())
s = 0
for i in range(n+1):
if a <= sum(list(map(int,list(str(i))))) <= b:
s += i
print(s)
``` | output | 1 | 74,041 | 5 | 148,083 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,042 | 5 | 148,084 |
"Correct Solution:
```
N,A,B = map(int, input().strip().split(' '))
ans = 0
for i in range(1,N+1):
if A <= sum(map(int, str(i))) <= B:
ans += i
print(ans)
``` | output | 1 | 74,042 | 5 | 148,085 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,043 | 5 | 148,086 |
"Correct Solution:
```
n, a, b = map(int, input().split())
def f(n): return a<=sum(int(i) for i in str(n))<=b
print(sum(i for i in range(1, n+1) if f(i)))
``` | output | 1 | 74,043 | 5 | 148,087 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,044 | 5 | 148,088 |
"Correct Solution:
```
n, a, b = map(int, input().split())
ans = sum(i for i in range(1, n + 1) if a <= sum(int(c) for c in str(i)) <= b)
print(ans)
``` | output | 1 | 74,044 | 5 | 148,089 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,045 | 5 | 148,090 |
"Correct Solution:
```
n,a,b = map(int,input().split())
c = 0
for i in range(n+1):
if a <= sum(int(j) for j in str(i)) <= b:
c += i
print(c)
``` | output | 1 | 74,045 | 5 | 148,091 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,046 | 5 | 148,092 |
"Correct Solution:
```
N, A, B = map(int, input().split())
S = 0
for n in range(N+1):
if A <= sum(map(int, list(str(n)))) <= B:
S += n
print(S)
``` | output | 1 | 74,046 | 5 | 148,093 |
Provide a correct Python 3 solution for this coding contest problem.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* All input values are integers.
Input
Input is given from... | instruction | 0 | 74,047 | 5 | 148,094 |
"Correct Solution:
```
N,A,B=map(int,input().split())
s=0
for i in range(1,N+1):
j=str(i)
X=sum(map(int,j))
if A<=X<=B:
s=s+i
print(s)
``` | output | 1 | 74,047 | 5 | 148,095 |
Evaluate the correctness of the submitted Python 3 solution to the coding contest problem. Provide a "Yes" or "No" response.
Find the sum of the integers between 1 and N (inclusive), whose sum of digits written in base 10 is between A and B (inclusive).
Constraints
* 1 \leq N \leq 10^4
* 1 \leq A \leq B \leq 36
* Al... | instruction | 0 | 74,048 | 5 | 148,096 |
Yes | output | 1 | 74,048 | 5 | 148,097 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.