Problem:


Score : 100 points

Problem Statement

You are given two integers A and B as the input. Output the value of A + B.

However, if A + B is 10 or greater, output error instead.

Constraints

A and B are integers.

1 ≤ A, B ≤ 9

Input

Input is given from Standard Input in the following format:

A B

Output

If A + B is 10 or greater, print the string error (case-sensitive); otherwise, print the value of A + B.

Sample Input 1

6 3

Sample Output 1

9

Sample Input 2

6 4

Sample Output 2

error



Sample input:
6 3


Sample output:
9

Submission status: Runtime Error

Solution code:
A, B = int(input().split())
if A+B < 10:
    print(A+B)
else:
    print('error')

Submission status: Runtime Error

Solution code:
A,B=map(in,input().split());print(A+B if A+B<10 else "error")

Submission status: Runtime Error

Solution code:
a,b = map(int,input())
print(a+b if a+b < 10 else "error")

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<iomanip>
#include<cmath>
#include<string>
#include<cstring>
#include<vector>
#include<list>
#include<algorithm>
#include<map>
#include<set>
#include<queue>
#include<stack>
using namespace std;
typedef long long ll;
#define fi first
#define se second
#define mp make_pair
#define mt make_tuple
#define pqueue priority_queue
const int inf=1e9+7;
const ll mod=1e9+7;
const ll mod1=998244353;
const ll big=1e18;
const double PI=2*asin(1);

int main() {
  int A, B;
  cin>>A>>B;
  if(A+B>=10) cout<<"error"<<endl;
  else cout<<A+B<<endl;
}

Submission status: Runtime Error

Solution code:
from itertools import combinations
N = int(input())
scores = [int(input())for i in range(N)]
sums= sum(scores)
if sums % 10 != 0:
    print(sums)
    exit()
m = 0
flag = False
for i in range(1,N):
    for j in combinations(scores,i):
        sj = sum(j)
        if (sums - sj) % 10 != 0:
            flag = True
            m = max(m, sums - sj)
    if flag:
        break
print(m)

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
 
if A + B < 10: print(str(C))
else: print('error')

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())

if A + B < 10: print(C)
else: print('error')

Submission status: Runtime Error

Solution code:
a=int (input())
b=int (input())
c=a+b
if c>10 or c==10:
  print("error")
else:
  print(c)

Submission status: Runtime Error

Solution code:
# coding = SJIS

a, b = map(int, input())

if a + b >= 10:
    print("error")
else:
    print(a + b)

Submission status: Runtime Error

Solution code:
A,B=map(int,input())
if A+B>=10:
  print('error')
else:
  print(A+B)

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
if A + b >= 10:
    print("error")
else:
    print(A+B)

Submission status: Runtime Error

Solution code:
A, B = map(int,input(),split())
if A+B >= 10:
  print('error')
else:
  print(A+B)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
if 1<=A and A<=9 and 1<=B and B<=9:
    if (A+B)<=9:
        print(A+B)
    else:
        print("error")

Submission status: Runtime Error

Solution code:
n = int(input())
s = []
for i in range(n):
    s += [int(input())]
a = sum(s)
if a % 10 != 0:
    print(a)
    exit()
else:
    for i in range(n):
        if s[i] % 10 != 0:
            a -= s[i]
        if a % 10 != 0:
            print(a)
            f = 0
            exit()
        else:
            f = 1
if f:
    print(0)

Submission status: Runtime Error

Solution code:
print sum(map(int, raw_input().split())) < 10 else 'error'

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

s = 'error'

if a+ b < 10:
        s = a+b

print(s)

Submission status: Runtime Error

Solution code:
A, B = list(map(str,input().split()))

if (A+B)<10:
    print(A+B)
else:
    print("error")

Submission status: Runtime Error

Solution code:
N = int(input())
score = []


for i in range(N):
    x = int(input())
    score.append(x)

pai = sum(score)
score.sort()

i = 0

while i < len(score) - 1 and pai != 0 and pai % 10 == 0:
    pai -= score[i]
    i += 1

print(pai)

Submission status: Runtime Error

Solution code:
n=int(input())
a = [int(input()) for _ in range(n)]
a.sort()
for i in range(n):
    if sum(a)%10 == 0:
        if a[i]%10 == 0:
            continue
        else:
            a[i]=0
    else:
        print(sum(a))
        exit(0)
print(0)

Submission status: Runtime Error

Solution code:
a,b = map(str, input().split())
print(a+b) if a+b <= 10 else print("error")

Submission status: Runtime Error

Solution code:
print(s if s<10 else 'error' for s in [sum(list(map(int,input.split())))])

Submission status: Runtime Error

Solution code:
A, B =map(int,input.split())
C = A+B
if C >=10:
    print('error')
else:
    print(C)

Submission status: Runtime Error

Solution code:
A = map(int, input().split())
total = A[0] + A[1]
if total >= 10:
	print('error')
else:
	print(total)

Submission status: Runtime Error

Solution code:
a,b = int(input().split())

sum = a+b
if(sum>=10):
  print("error")
else:
  print(sum)

Submission status: Runtime Error

Solution code:
a,b = int(input().split())

sum = a+b
if(sum>=10):
  print("error")
 else:
  print(sum)

Submission status: Runtime Error

Solution code:
a,b = int(input().split())

sum = a+b
if(sum>=10):
  print("error")
 else:
  print(sum)

Submission status: Runtime Error

Solution code:
from math import ceil
def solve():
    N, A, B = map(int, input().split())
    H = [int(input()) for _ in range(N)]
    top = max(H)+1
    total = sum(H)
    bottom = 1
    mid = (top+bottom)//2
    while bottom+1<top:
        cnt = 0
        for i in range(N):
            cnt += max(ceil((H[i]-B*mid)/(A-B)),0)
        if cnt>mid:
            bottom = mid+1
        else:
            top = mid+1
        mid = (top+bottom)//2
    ans = mid
    return ans
print(solve())

Submission status: Runtime Error

Solution code:
A,B = map(int, int().split())
C = A + B
if(C >= 10):
    print("error")
else:
    print(C)

Submission status: Runtime Error

Solution code:
A,B = map(int, int().split())
C = A + B
if (C >= 10):
    print("error")
else:
    print(C)

Submission status: Runtime Error

Solution code:
a,b = map(int, inpur().split())

if a+b < 10:
  print(a+b)
else :
  print("error")

Submission status: Runtime Error

Solution code:
N = int(input())
s = [int(input()) for _ in range(N)]
ans = sum(s)
if ans % 10 != 0:
    print(ans)
else:
    for s_i in s:
        if s_i % 10 != 0:
            ans -= s_i
            print(ans)
            break
    else:
        print(0)

Submission status: Runtime Error

Solution code:
a, b = map(int, intpu().split())
if a+b < 10:
  print(a+b)
else:
  print("error")

Submission status: Runtime Error

Solution code:
A,B = map(int,input().split())

if A+B>=10:
    print('error')
else:
    print(A+b)

Submission status: Runtime Error

Solution code:
import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        int a = inp.nextInt();
        int b = inp.nextInt();
        inp.close();
        System.out.println((a + b) < 10 ? a + b : "error");
    }
}

Submission status: Runtime Error

Solution code:
A,B = list(map()int, input().split())
if(A+B>=10):
  print("error")
else:
  print(A+B)

Submission status: Runtime Error

Solution code:
N = int(input())
S_dict = {}
for i in range(N):
    s = input()
    if s not in S_dict:
        S_dict[s] = 1
    else:
        S_dict[s] += 1
        
max_poll = max(S_dict.values())
ans_list = []
for key, poll in S_dict.items():
    if poll == max_poll:
        ans_list.append(key)

for ans in sorted(ans_list):
    print(ans)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if (a+b)>=10:
  print("error")
else:
  pirnt(a+b)

Submission status: Runtime Error

Solution code:
a,b=map(int,input.split())

if a+b>=10:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
A, B = map(int, input())

if A + B >= 10:
    print("error")
else:
    print(A+B)

Submission status: Runtime Error

Solution code:
import numpy as np

N, A, B = map(int, input().split())

H = []

for i in range(N):
    H.append(int(input()))

H = np.array(H)

def binary_search(x):
    H_tmp = H - B * x
    H_tmp = H_tmp[H_tmp > 0]
    count = ((H_tmp + A - B - 1) // (A - B)).sum()
    return x >= count

left = 0
right = 10**10

while(right - left > 1):
    mid = (left + right) // 2
    ret = binary_search(mid)
    if ret:
        right = mid
    else:
        left = mid

print(mid)

Submission status: Runtime Error

Solution code:
a.b = map(int, input().split())
print(a+b if a+b<10 else "error")

Submission status: Runtime Error

Solution code:
s=eval(input()).replace(" ","+");print(s if s < 10 else"10")

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7

x,y=MI()
if x+y>=10:
    print("error")
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
a,b=[int(i) for i in input().split()]
c=a+b
if c>=10:
  print(''error)
else:
  print(c)

Submission status: Runtime Error

Solution code:
# coding: utf-8
import math
a=input()
b=input()
m=int(a)+int(b)
if m<10:
  print(int(m))
else:
  print("error")

Submission status: Runtime Error

Solution code:
# coding: utf-8
a=input()
b=input()
m=int(a)+int(b)
if int(m)<10:
  print(int(m))
else:
  print("error")

Submission status: Runtime Error

Solution code:
# coding: utf-8
a=input()
b=input()
m=int(a)+int(b)
if m<10:
  print(int(m))
else:
  print("error")

Submission status: Runtime Error

Solution code:
a=input()
b=input()
m=int(a)+int(b)
if int(m)<10:
	print(int(m))
else:
	print("error")

Submission status: Runtime Error

Solution code:
# coding: utf-8
a=input()
b=input()
m=a+b
if int(m)<10:
	print(int(m))
else:
	print("error")

Submission status: Runtime Error

Solution code:
#using
a=input()
b=input()
print(b)
m=int(a)+int(b)
if int(m)<10:
	print(int(m))
else:
	print("error")

Submission status: Runtime Error

Solution code:
a=input()
b=input()
m=int(a)+int(b)
if m<10
	print(m)
elif 
	print("error")

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if a + b <=10:
  rint(a+b)
else:
  print("error")

Submission status: Runtime Error

Solution code:
a,b = map(ont,input().split())
if a+b < 10:
  print(a+b)
else:
  print('error')

Submission status: Runtime Error

Solution code:
import math
N,A,B = map(int,input().split())
H = [int(input()) for _ in range(N)]


def enough(T):
    temp = 0
    ch = H[:]
    for h in ch:
        left = h - B*T
        if left > 0:
            temp += (left + A-B-1)//(A-B)
            #temp += math.ceil(left/(A-B))
            #print(temp)

    if temp > T:
        return False
    else:
        return True

#print(enough(2))
ok = 10**15
ng = 0

while ok - ng > 1:
    mid = (ok + ng)//2
    if enough(mid):
        ok = mid
    else:
        ng = mid
    #print(ok,ng)
print(ok)

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
if (a+b) <= 9:
  print(a+b)
else;
  print("error")

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
if (a+b) <= 9:
  print(a+b)
else;
print("error")

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
if a+b <= 9:
  print(a+b)
else;
print("error")

Submission status: Runtime Error

Solution code:
a, b = map(int,input())
if a + b >= 10:
  print('error')
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a, b = int(input())
if a + b >= 10:
  print('error')
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if a+b >= 10:print('error')
  else:print(a+b)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if a+b>=10:print('error')
  else:print(a+b)

Submission status: Runtime Error

Solution code:
a, b = list(map, int(input().split()))
if a+b >=10:
  print ('error')
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
A,B = map(int,input().split())  
if A + B < 10:
  prin(A+B)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a=input()
b=input()
if a+b < 10:
  print a+b
else:
  print "error"

Submission status: Runtime Error

Solution code:
a,b=map(input().split())
print('error'if a+b>=10 else a+b)

Submission status: Runtime Error

Solution code:
A,B = map(int,iput().split())
if A+B< 10:
  print(A+B)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a,b= map(int,inpit()split())
print(a+b if a+b<10 else "error")

Submission status: Runtime Error

Solution code:
a,b=map(int,input(),split())
x=a+b
if x>=10:
    print('error')
else:
    print(x)

Submission status: Runtime Error

Solution code:
a,b = input().split()

if a+b >= 10:
    print("error")
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

A = a + b
if A < 10:
  print(A):
else:
  print("error")

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
if a + b < 10:
  print(a + b):
else:
  print("error")

Submission status: Runtime Error

Solution code:
a, b = map(int, input(),split())

if a + b < 10:
    print(a + b)
else:
    print('error')

Submission status: Runtime Error

Solution code:
def main():
    from sys import stdin, setrecursionlimit
    #setrecursionlimit(10**9)
    #n = int(stdin.readline()[:-1])   
    r = stdin.readline()[:-1]
    #n = int(stdin.readline()[:-1])   
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    #a = r.split()
    #a = list(map(int, r.split()))
    a, b = map(int, r.split())
    #a = [int(s[i]) for i in range(1, n+1)]
    #a = [list(map(int, r.split())) for i in range(1,n+1)]
    #res = 0

    if a+b >= 10:
        pritn('error')
    else:
        print(a+b)        

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:


import numpy as np
import fractions as fra


h,w=map(int,input().split())
if(h+w>=10):
    print("error"):
else:
    print(h+w)

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline
A, B = [int(x) for x in inpput().split()]
if A + B >= 10:
    print("error")
else:
    print(A + B)

Submission status: Runtime Error

Solution code:
x = input()
y = input()

x = int(x)
y = int(y)

if x + y >= 10 :
  print("error")
else:
  print(x+y)

Submission status: Runtime Error

Solution code:
x = input()
y = input()

if x + y >= 10 :
  print("error")
else:
  print(x+y)

Submission status: Runtime Error

Solution code:
x = input()
y = input()

x = int(x)
y = int(y)
 
if(x + y >= 10):
  print("error")
else:
  print(x+y)

Submission status: Runtime Error

Solution code:
x = input()
y = input()

if(x + y >= 10):
  print("error")
else:
  print(x+y)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
sum = a + b
if sum >= 10:
  print('error')
else:
  print(ans)

Submission status: Runtime Error

Solution code:
fn read() -> (i32, i32) {
    let mut s = String::new();
    std::io::stdin().read_line(&mut s).unwrap();
    let vec: Vec<i32> = s
        .trim()
        .split_whitespace()
        .map(|x| x.parse().unwrap())
        .collect();
    (vec[0], vec[1])
}

fn main() {
    let (a, b) = read();
    if a + b < 10 {
        println!("{}", a + b);
    } else {
        println!("error");
    }
}

Submission status: Runtime Error

Solution code:
A,B = map(int, input().split())

A_B = (A+B)

if A_B < 10:
    print(A_B)
elif A_B > 10:
    print("error")
elif A_B = 10:
    print("error")

Submission status: Runtime Error

Solution code:
a,b = map(int, input().Split())
print(a+b if a+b<10 else "error")

Submission status: Runtime Error

Solution code:
a,b = input()

if (a + b) >= 10:
  print("error)
else:
  print(a + b)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if a+b>=10:
  print('error')
else:
  print(a+b

Submission status: Runtime Error

Solution code:
from math import ceil
from bisect import bisect

n, a, b = map(int, input().split())
raw_hs = [int(input()) for _ in range(n)]
hs = sorted(raw_hs, reverse=True)
diff = a - b

c_min = 0
c_max = int(10e9)

while c_max - c_min > 1:
	c = (c_min + c_max) // 2
	tmp_hs = [h - c * b for h in hs]
	rem = sum([ceil(h / diff) for h in tmp_hs if h > 0])
	if rem > c:
		c_min = c
	else:
		c_max = c

print(c_max)

Submission status: Runtime Error

Solution code:
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))

a = int(input())
b = int(input())

if a+b >= 10:
    print("error")
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
s = input().split()

if　(int(s[0]) + int(s[1])>=10):
    print('error')
    
else :
    print(int(s[0]) + int(s[1]))

Submission status: Runtime Error

Solution code:
a=input()

b=input()

if(a+b>=10):
    print("error")
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
A,B=input().spliy()
a=int(A)
b=int(B)
x=a+b
if x>10:
  print('error')
else:
  print(x)

Submission status: Runtime Error

Solution code:
a,b=int(input().split())
print("error" if a+b > 10 else a+b)

Submission status: Runtime Error

Solution code:
n = int(input())
s = [int(input()) for _ in range(n)]

score = sum(s)
s.sort()
i = 0
while score % 10 == 0:
    score -= s[i]
    i += 1
    if score == 0:
        break
print(score)

Submission status: Runtime Error

Solution code:
A<B=map(int,input().split())

if A+B>9:
  print('error')
else:
  print(A+B)

Submission status: Runtime Error

Solution code:
a, b = int(input().split())
if a + b >= 10:
  print("error")
else:
  print(a + b)

Submission status: Runtime Error

Solution code:
a, b = int(input().split())
if a + b >= 10:
  print("error")
else:
  print(a + B)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split()))

if a+b<10:
    print(a+b)
else:
    print('error')

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

if a+b >= 10:
    print('error')
elif:
    print(a+b)

Submission status: Runtime Error

Solution code:
print(sum(map(int,input().split())) if sum(map(int,input().split()))<10 else "error")

Submission status: Runtime Error

Solution code:
import sys
import copy
import  math
from _bisect import *
from collections import *
from operator import itemgetter
from math import factorial
"""
from fractions import gcd
def lcm(x, y):
    return (x * y) // gcd(x, y)
"""
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a, b = na()
print(a + b if a + b  10 else 'error')

Submission status: Runtime Error

Solution code:
a,b = map(int, input())
if a +b >= 10:
  print "error"
else:
  print a+b

Submission status: Runtime Error

Solution code:
n=int(input())
li = []
for i in range(n):
  li += [int(input())]
x = li[0]
ans = -1
count=0
for i in range(n):
  x = li[x-1]
  count +=1
  if x == 2:
    print(count+1)
    exit()
print(-1)

Submission status: Runtime Error

Solution code:
A,B=map(int,input())
if A+B>=10:
  print("error")
else :
  print(A+B)

Submission status: Runtime Error

Solution code:
a=sum[int(x) for x in input().split()]
if a>=10:
  a='error'
print(a)

Submission status: Runtime Error

Solution code:
import sys

n = int(input())
s = [int(input()) for i in range(n)]
s.sort()

ans = sum(s)

for i in s:
	if(ans%10==0):
		if(i%10!=0):
			print(ans-i)
			sys.exit()
	else:
		print(ans)
		sys.exit()

print(0)

Submission status: Runtime Error

Solution code:
import sys

n = int(input())
s = [int(input()) for i in range(n)]
s.sort()

ans = sum(s)

for i in s:
	if(ans%10==0):
		ans -= i
	else:
		print(ans)
		sys.exit()

print(ans)

Submission status: Runtime Error

Solution code:
A,B = map(input().split())

if A + B >= 10:
    print('error')
else:
    print(A + B)

Submission status: Runtime Error

Solution code:
A,B=int(input().split())

if A+B < 10:
  print(A+B)
else:
  print("error")

Submission status: Runtime Error

Solution code:
a,b=int(x) for x in input().split(' ')
print("error" if a+b>=10 else a+b)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
if a + b >= 10: print("error")
else: print(x+y)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
if x + y >= 10: print("error")
else: print(x+y)

Submission status: Runtime Error

Solution code:
a,b = map(input().split())
x = a+b
print('error' if x >= 10 else x)

Submission status: Runtime Error

Solution code:
a =  int(input())
b = int(input())


ans = a + b
if ans >= 10:
        print("error")
else :
        print(ans)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

print('error' if a+b >= 10 else a+b

Submission status: Runtime Error

Solution code:
import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = Integer.parseInt(sc.next());
		int b = Integer.parseInt(sc.next());
		if (a+b >= 10){
			System.out.println("error");
	    }
	    else {
			System.out.println(a+b);
		}
	}
}

Submission status: Runtime Error

Solution code:
a,b = input().split(" ")
print("error" if a+b>=10 else a+b)

Submission status: Runtime Error

Solution code:
a,b = input().split()
print("error" if a+b>=10 else a+b)

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())

print(["error", A + B] A + B < 10)

Submission status: Runtime Error

Solution code:
a, b = (int(i) for i in input().split())

if sum(a,b) > 9:
  print("error")
else:
  print(sum(a,b))

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split())
if a+b>=10:
  print(error)
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
g

Submission status: Runtime Error

Solution code:
a,b=int(input().split())
if a+b>=10:
  print('error')
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split()))
if a+b >= 10:
            print("error")
else:
            print(str(a+b))

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split()))
if a+b >= 10:
            print("error")
else:
            print(a+b)

Submission status: Runtime Error

Solution code:
a,b=wap(int,input().split())
if a+b>9:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split()) 
if a + b >= 10:
  print("error") 
else:
  print(sum(a + b)

Submission status: Runtime Error

Solution code:
print("error") if sum(input().split()) >= 10 else print(sum(input().split()))

Submission status: Runtime Error

Solution code:
a, b = int(input())
if a + b < 10:
  print(a + b)
else:
  print('error')

Submission status: Runtime Error

Solution code:
n = int(input())
l = [int(input()) for i in range(n)]
total = sum(l)
i = 0
while total % 10 == 0:
    if i = n:
        break
    total = total - l[i]
    i += 1
print(total)

Submission status: Runtime Error

Solution code:
n = int(input())
l = [int(input()) for i in range(n)]
total = sum(l)
i = 0
while total % 10 == 0:
    total = total - l[i]
    i + 1
print(total)

Submission status: Runtime Error

Solution code:
a, b = int(input().split())
print(a + b) if a + b  < 10 else print("error")

Submission status: Runtime Error

Solution code:
a,b=map(int,input().spkit())
if(a+b>=10):
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
print(["error",A+B],[sum(list(map(int,input().split())))<10])

Submission status: Runtime Error

Solution code:
print(["error",A+B],[eval(input().split().replace(" ","+"))<10])

Submission status: Runtime Error

Solution code:
print(["error",eval(input().replace(" ","+"))],[eval(input().replace(" ","+"))<10])

Submission status: Runtime Error

Solution code:
print(["error",A+B],[eval(input().replace(" ","+"))<10])

Submission status: Runtime Error

Solution code:
A,B=map(int,input().split())
if A+B<10:
    print(A+B)
else:A+B>=10:
    print("erorr")

Submission status: Runtime Error

Solution code:
a,b=map[int,input().split()]

if a+b<10:
  print(a+b)
else:
  print("error")

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=a+b

if c<10:
  print(c)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a=int(input())

b=int(input())

if a+b<10:
  print('%d',a+b)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a=input()

b=input()

if a+b<10:
  print('%d',a+b)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a=input()

b=input()

if int(a)+int(b)<10:
  print(a+b)
else:
  print('error')

Submission status: Runtime Error

Solution code:
a=input()
b=input()

if c>=10:
  print('error')
  
  else:
    print(a+b)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=a+b

if c>=10:
  print('error')
  
  else:
    print('c')

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=a+b
if c>=10:
  print('error')
  
  else:
    print(c)

Submission status: Runtime Error

Solution code:
import math
n, a, b = map(int, input().split())
d = []
for i in range(n):
    d.append(input())
# [d1, d2, d3, ..., dN]
h = [int(m) for m in d]#int型に直す
#print(x)

low = 0
high = math.ceil(max(h)/b)
# t は中央番目の数
t = (low + high) // 2

# 探索の下限のlowが上限のhighになるまで探索
# lowがhighに達すると数は見つからなかっTrueたということ
X = 0
Y = 0
s = 0
while high - low >= 0:
    for j in range(n):
        X += max(0, math.ceil((h[j] - t * b) / (a - b)))
        #Y += max(0, math.ceil((h[j] - (t - 1) * b) / (a - b)))
    if X == t:
        print(t)
        exit()
    elif X < t:
        high = t - 1
        """for j in range(n):
            Y += max(0, math.ceil((h[j] - (t - 1) * b) / (a - b)))"""
    elif X > t:
        low = t + 1
    s = t
    t = (low + high) // 2
    X = 0
    Y = 0
for j in range(n):
  if math.ceil((h[j] - s * b) / (a - b)) > 0:
            Y += math.ceil((h[j] - s * b) / (a - b))
if Y <= s:
  print(s)
else:
  print(s + 1)

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
A,B=map(int,input(),split())
if A + B <10:
  print("{}".format(A+B))
else:
  print("error")

Submission status: Runtime Error

Solution code:
a=input()strip().split(" ")

b=[int(i) for i in a]

c=b[0]+b[1]

if(c>=10):
    print("error")
else:
    print(c)

Submission status: Runtime Error

Solution code:
a=input()strip().split(" ")

b=[int(i) for i in a]

c=b[0]+c[1]

if(c>=10):
    print("error")
else:
    print(c)

Submission status: Runtime Error

Solution code:
s=input();a=s[0]+s[-1];print('error' if a>9 else a)

Submission status: Runtime Error

Solution code:
S,A,B = map(int, input().split())
S=A+B
if S>=10:
	print('error')
else:
	print(S)

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split())
x+y = a
if a >= 10:
        print('error')
else:
        print(a)

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split())

if x+y >= 10:
        print('error')
else:
        print(a+b)

Submission status: Runtime Error

Solution code:
s = input()
a = [i for i in s]
s = sorted(a)
b = 1
for i in range(len(s)-1):
  if s[i] == s[i+1]:
    b = 0
print("yes") if b = 1 else print("no")

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split())
print "error" if a+b >=10 else print(a+b)

Submission status: Runtime Error

Solution code:
a,b = map(int(input().split()))
if a+b >= 10:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a, b = map  (int, input().split())
c = a + b

if c < 10:
    print(c)
else:
    print(error)

Submission status: Runtime Error

Solution code:
import numpy as np
N, A, B = [int(n) for n in input().split()]
h = []
for n in range(N):
	h.append(int(input()))
h = np.array(h)

count = 0
while True:
	if np.max(h) <= 0:
		break
	idx = np.argmax(h)
	h = h - B
	h[idx] = h[idx] - A + B
	count += 1
print(count)

Submission status: Runtime Error

Solution code:
A, B = map( int, input().split)
if A+B >= 10:
    print('error')
else:
    print(A+B)

Submission status: Runtime Error

Solution code:
x=input();z=eval(x[0]+"+"x[2]);print(z//10*"error"or z)

Submission status: Runtime Error

Solution code:
N=int(input())
data=[]
no10=[]
for i in range (N):
    a=int(input())
    data.append(a)
    if a%10!=0:
        no10.append(a)
        
ans=sum(data)
if ans%10!=0:
    print (ans)
elif len(no10)!=0:
    print(ans-no10[0])
else:
    print (0)

Submission status: Runtime Error

Solution code:
A,B = int(i) for i in input().split()
if A+B >= 10:
    print("error")
else:
    print(A+B)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().splt())
if a + b >= 10:
  print("error")
else:
  print(a + b)

Submission status: Runtime Error

Solution code:
a,b = input().split()
if a+b < 10:
  print(a+b)
else:
  print("error")

Submission status: Runtime Error

Solution code:
a, b = (int(x) for x in raw_input().split)
print "error" if a + b > 9 else str(a+b)

Submission status: Runtime Error

Solution code:
a,b = map(int, input())
if a + b >= 10:
    print("error")
else:
    print(a+b)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

if a + b >= 10:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a,b = int(input()),int(input())

if a + b >= 10:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
a,b = int(input())

if a + b >= 10:
  print("error")
else:
  print(a+b)

Submission status: Runtime Error

Solution code:
N, A, B = list(map(int, input().split()))
H = [int(input()) for _ in range(N)]

from math import ceil

def can_korosu(t):
    count = 0
    for h in H:
        count += ceil(max(0, h - t*B)/(A-B))
        if count > t:
            return False
    return True

lo = 0
hi = 10**9

p = (lo, hi)
for _ in range(50):
    mid = (hi + lo) // 2
    if can_korosu(mid):
        hi = mid
    else:
        lo = mid
    if p == (lo, hi):
        break
    p = (lo, hi)
print(hi)

Submission status: Runtime Error

Solution code:
A, B = map(int, input())
print('error' if A + B >= 10 else A + B)

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
result = a+b if a+b < 10 else ‘Error’ 
print(result)

Submission status: Runtime Error

Solution code:
n=int(input())
s=[]
for i in range(n):
    s.append(int(input()))
total=sum(s)
s.sort()
if total%10!=0:
    print(total)
else:
    for i in s:
        if i%10!=0:
            total-=i
            if total%10!=0:
                break
if total%10==0:
    print(0)
else:
    print(total)

Submission status: Runtime Error

Solution code:
s = list(map(lambda x: int(x), input().split(" "))).sum()
if s>=10:
  print("error")
else:
  print(s)

Submission status: Runtime Error

Solution code:
def solve():
    a, b = map(int, input().split(""))
    if a + b >= 10:
        print("error")
    else:
        print(a + b)


solve()