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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s057133644 | p03844 | u635182517 | 1553039859 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | A, op,B = list(input())
A = int(A)
B = int(B)
if op == '+':
ans = A + B
else:
ans = A - B
print(ans) |
s800482721 | p03844 | u518042385 | 1553006987 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 89 | a,s,d=map(input().split())
if s=="+":
print(int(a)+int(d))
else:
print(int(a)-int(d)) |
s450997145 | p03844 | u865413330 | 1552770627 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 81 | a, op, b = input().split()
if op == "+":
print(a + b)
else:
print(a - b) |
s235636825 | p03844 | u020176853 | 1552391423 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 286 | #07:40
ans = 0
s = input().replace(" ","")
listS = [*s]
#fore = int(a)
#back = int(c)
if s[1] == '+':
ans = int(s[0])+int(s[2])
elif s[1] == '-':
ans = int(s[0])-int(s[2])
elif s[1] == '*':
ans = int(s[0])*int(s[2])
elif s[1] == '/':
ans = int(s[0])/int(s[2])
print(ans) |
s162146820 | p03844 | u325264482 | 1552269883 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 99 | a, b, c = list(map(float, input().split()))
if (b == '+'):
print(a + c)
else:
print(a - c)
|
s835924341 | p03844 | u381602071 | 1552269005 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 145 | import sys
argv=sys.argv
if argv[2] == "+":
print(int(argv[1]) + int(argv[3]))
elif argv[2] =="-":
print(int(argv[1]) - int(argv[3])) |
s004017926 | p03844 | u325264482 | 1552267466 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a, b, c = input().split()
if (b == '+'):
print(a + c)
else:
print(a - c)
|
s778068306 | p03844 | u667754311 | 1552266429 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | str = input().split()
if str[1] == "+":
print str[0]+str[2]
else:
print str[0]-str[2]
|
s537495814 | p03844 | u102960641 | 1552187704 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a = int(input())
op = input()
b = int(input())
if op == "+":
print(a+b)
else:
print(a-b) |
s477440397 | p03844 | u282228874 | 1552105308 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 140 | input()
t = list(map(int,input().split()))
m = int(input())
for i in range(m):
p,x = map(int,input().split())
print(sum(t)-t[p-1]+x) |
s295372575 | p03844 | u865413330 | 1551650842 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | a , op, b = input().split()
if op == "+":
print(a + b)
elif op == "-":
print(a - b) |
s778119250 | p03844 | u278260569 | 1551494718 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | A , op , B = input().split()
if op == "+":
print(int(A) + int(B))
else:
print(int(A) - int(B) |
s178930699 | p03844 | u278260569 | 1551494653 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 105 | A , op , B = map(int,input().split())
if op == "+":
print(int(A) + int(B))
else:
print(int(A) - int(B)) |
s709534872 | p03844 | u864667985 | 1551487918 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 18 | print(eval(input)) |
s862224282 | p03844 | u809153881 | 1551159070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | import sys
s = sys.stdin.readline()
print eval(s) |
s439555801 | p03844 | u449555432 | 1550988318 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 226 | n=int(input())
t = list(map(int,input().split()))
m = int(input())
l = [list(map(int,input().split())) for i in range(m)]
print(sum(t)-t[l[0][0]-1]+l[0][1])
print(sum(t)-t[l[1][0]-1]+l[1][1])
print(sum(t)-t[l[2][0]-1]+l[2][1]) |
s289260927 | p03844 | u449555432 | 1550941310 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 38 | a,b,c=input().split()
print(eval(abc)) |
s301804774 | p03844 | u449555432 | 1550941216 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 21 | print(eval(*input())) |
s503066898 | p03844 | u543954314 | 1550677729 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 100 | a, op, b =[i for i in input()]
if op == "+":
print(int(a) + int(b))
else:
print(int(a) - int(b)) |
s547008228 | p03844 | u543954314 | 1550643984 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 205 | n = int(input())
a = list(map(int, input().split()))
t = [a.count(i) for i in range(n)]
for i in range(n//2):
if t[i*2+n%2] != 0 or t[i*2+1+n%2] != 2 or t[0] > 1:
print(0)
exit()
print(2**(n//2)) |
s526015021 | p03844 | u518064858 | 1550267752 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a,b,c=input().split()
if b=="+":
print(int(a)+int(c))
else:
print(int(a)-int(c))
|
s502094807 | p03844 | u518064858 | 1550267563 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 44 | a,b,c=input().split()
print(int(a)+b+int(c)) |
s272229055 | p03844 | u439392790 | 1550204336 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 95 | a,op,b=map(input().split())
A=int(a)
B=int(b)
if op == '+':
print(A+B)
else:
print(A-B) |
s979734062 | p03844 | u439392790 | 1550204216 | Python | Python (3.4.3) | py | Runtime Error | 25 | 2940 | 90 | A=int(input())
op=input()
B=int(input())
if op == '+':
print(A+B)
else:
print(A-B) |
s280435204 | p03844 | u439392790 | 1550203582 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | A=int,input()
op=input()
B=int,input()
if op == '+':
print(A+B)
else:
print(A-B) |
s239968937 | p03844 | u186838327 | 1549788374 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 82 | a, op, b = map(int, input().split())
if op == '+':
print(a+b)
else:
print(a-b) |
s550186558 | p03844 | u239981649 | 1549001357 | Python | PyPy3 (2.4.0) | py | Runtime Error | 205 | 40048 | 228 | a = input().split()
a[0], a[2] = map(int, a[::2])
if a[0] == "+":
print(a[0]+a[2])
else:
print(a[0]-a[2])
a = input().split()
a[0], a[2] = map(int, a[::2])
if a[1] == "+":
print(a[0]+a[2])
else:
print(a[0]-a[2])
|
s650456208 | p03844 | u597374218 | 1546474790 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 20 | input(eval(input())) |
s674341452 | p03844 | u785578220 | 1546211130 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a ,b,c= map(str, input().split())
if b =="+":
print(int(a)+int(b))
elif b =="-":
print(int(a)-int(b)) |
s465934073 | p03844 | u272377260 | 1544881107 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 108 | a op b = input().split()
if op == "+":
print(int(a) + int(b))
elif op == '-':
print(int(a) - int(b)) |
s761760339 | p03844 | u557437077 | 1544858020 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 119 | a, op, b = [int(i) for i in input().split()]
if op == "+":
print(int(a) + int(b))
else:
print(int(a) - int(b))
|
s002819126 | p03844 | u371467115 | 1544832405 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 69 | a,b,c=map(str,input().split())
s="{}{}{}".format(a,b,c)
print(int(s)) |
s894717986 | p03844 | u111365959 | 1542941681 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | n = int(input())
a = [int(x) for x in input().split()]
m = int(input())
for _ in range(m):
t = a
b,c = [int(x) for x in input().split()]
t[b-1] = c
print(sum(a))
|
s320242777 | p03844 | u111365959 | 1542941324 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 159 | n = int(input())
a = [int(input()) for _ in range(n)]
m = int(input())
for _ in range(m):
b,c = [int(x) for x in input.split()]
a[b-1] = c
print(sum(a))
|
s691553043 | p03844 | u111365959 | 1542933291 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 43 | a,o,b = input().split()
print(a + int(o+b)) |
s633859371 | p03844 | u733321071 | 1542044796 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 101 | # -*- coding: utf-8
a, op, b = input().split()
if op == '+':
print(a + b)
else:
print(a - b) |
s459477968 | p03844 | u825842302 | 1541905954 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | a,op,b = map(str, input().split())
a = int(a)
b = int(b)
if op == '+':
result = a + b
else op == '-':
result = a - b
print("{}".format(result))
|
s576052533 | p03844 | u825842302 | 1541905909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | a,op,b = map(str, input().split())
if op == '+':
result = a + b
else op == '-':
result = a - b
print("{}".format(result))
|
s834480420 | p03844 | u397531548 | 1541712224 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3192 | 119 | S=input().split(“ “)
A=int(S[0])
B=int(S[2])
C=S[1]
if S[1]==“+”
print(A+B)
if S[1]==“-”
print(A-B) |
s882642124 | p03844 | u397531548 | 1541643722 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | S=input().split(“ “)
A=int(S[0])
B=int(S[2])
C=S[1]
if S[1]=“+”
print(A+B)
if S[1]=“-”
print(A-B) |
s991017673 | p03844 | u869728296 | 1541627385 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a=input().strip().split(" ")
if(a[1]=="+"):
print(a[0]+a[2])
else:
print(a[0]-a[2])
|
s041893437 | p03844 | u201234972 | 1540795763 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3068 | 331 | #include <iostream>
#include <vector>
#include <cstdio>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
int a, b;
char op;
cin >> a >> op >> b;
if (op == '+') {
// printf("%d\n", a+b);
cout << a+b << "\n";
}else {
cout << a-b << "\n";
//printf("%d\n", a-b);
}
return 0;
}
|
s789116770 | p03844 | u131405882 | 1540430789 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | data = input().split()
A = int(data[0])
B = int(data[2])
if op == '+':
S = A + B
else:
S = A - B
print(S)
|
s975377971 | p03844 | u426108351 | 1539726522 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | A, op, B = map(int,input().split())
if op == '+':
print(A+B)
else:
print(A-B)
|
s289016511 | p03844 | u863370423 | 1539261841 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | input = input().split(" ")
output = 0;
if input[1] == "+":
output = input[0] + input[2]
else:
output = input[0] - input[2]
print(output)
|
s379083449 | p03844 | u667764139 | 1539261645 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 186 | user_input = input("n a")
input_sep = user_input.split()
n = int(input_sep[0])
a = int(input_sep[1])
sum_out = 0
for num in range(0, n+1):
sum_out += num*pow(a, num)
print(str(sum_out)) |
s459104457 | p03844 | u018679195 | 1539261631 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | input = raw_input().split(" ")
output = 0;
if input[1] == "+":
output = input[0] + input[2]
else:
output = input[0] - input[2]
print(output) |
s939857733 | p03844 | u863370423 | 1539261570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | input = raw_input().split(" ")
output = 0;
if input[1] == "+":
output = input[0] + input[2]
else
output = input[0] - input[2]
print(output) |
s503800046 | p03844 | u863370423 | 1539260453 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 265 | # Python
user_input = input("Input in format A op B")
input_sep = user_input.split()
input_a = input_sep[0]
operator = input_sep[1]
input_b = input_sep[2]
if operator is '+':
print(int(input_a + input_b))
elif operator is '-':
print(int(input_a - input_b)) |
s119162195 | p03844 | u702759722 | 1539161500 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | # -*- coding: utf-8 -*-
# 入力
A, op, B = input().split()
if op == '+':
print(A + B)
else:
print(A - B) |
s828496344 | p03844 | u267325300 | 1536530664 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 273 | #include <bits/stdc++.h>
typedef long long ll;
int main(int argc, char const *argv[]) {
ll a, b;
char op;
std::cin >> a >> op >> b;
if (op == '+') {
std::cout << a + b << '\n';
} else {
std::cout << a - b << '\n';
}
return 0;
}
|
s095052025 | p03844 | u038027079 | 1536176324 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | a,op,b = list(map(str, input().split()))
if op == "+":
ans = int(a) + int(b)
else:
ans == int(a) - int(b)
print(ans) |
s849900486 | p03844 | u787562674 | 1535132513 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | A. op, B = input().split()
print(A + B if op == "+" else A - B) |
s526650009 | p03844 | u826263061 | 1535075744 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | a, op, b = input().split()
if op = '+':
print(int(a)+int(b))
else:
print(int(a)-int(b)) |
s846193810 | p03844 | u275934251 | 1534554393 | Python | Python (3.4.3) | py | Runtime Error | 48 | 3188 | 226 | N = int(input())
t = [input() for i in range(N)]
M = int(input())
a = []
for i in range(M):
a.append(map(int, raw_input().split()))
cal = sum(t)
for j in range(M):
print(cal - t[a[j][0] - 1] + a[j][1]) |
s986009904 | p03844 | u275934251 | 1534540259 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | A, B = map(int, input().split())
op = input()
if op == "+":
print(A + B)
else :
print(A - B) |
s940652151 | p03844 | u275934251 | 1534539840 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | a = input().split()
if a[1] == "+":
print(int(a[0]) + int(a[2]))
else a[1] == "-":
print(int(a[0]) - int(a[2])) |
s517226320 | p03844 | u275934251 | 1534539676 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | a = input().split()
if a[1] = "+":
print(int(a[0]) + int(a[2]))
if a[1] = "-":
print(int(a[0]) - int(a[2])) |
s737962794 | p03844 | u761989513 | 1534390117 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | n = int(input())
t = list(map(int, input().split()))
m = int(input())
s = sum(t)
for i in range(m):
p, x = map(int, input().split())
print(s - t[p - 1] + x) |
s888191342 | p03844 | u095969144 | 1532458426 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | a,op,b = map(string, input().split())
if op == "-":
print(int(a) - int(b))
else:
print(int(a) + int(b))
|
s599591880 | p03844 | u095969144 | 1532458328 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 113 | a,op,b = map(string, input(),split())
if op == "-":
print(int(a) - int(b))
else:
print(int(a) + int(b))
|
s523887624 | p03844 | u095969144 | 1532458257 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 109 | a,op,b = map(str, input(),split())
if op == "-":
print(int(a) - int(b))
else:
print(int(a) + int(b)) |
s365848135 | p03844 | u391475811 | 1531797017 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | a,b,c=map(str,input().split())
if b==“+”:
print(int(a)+int(c))
else:
print(int(a)-int(c)) |
s627133349 | p03844 | u333945892 | 1531780567 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a,b,c = input().split()
If b == '+':
print(int(a)+int(c))
else:
print(int(a)-int(c)) |
s116282636 | p03844 | u932370518 | 1531159996 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 171 | def main():
A = input()
op = input()
B = input()
x = A + op + B
# print(A + op + B)
y = eval(x)
print(y)
if __name__ == '__main__':
main()
|
s446983022 | p03844 | u095969144 | 1530765952 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a,op,b = map(input().split())
if op == "+":
print(int(a) + int(b))
else:
print(int(a) -int (b)) |
s478044234 | p03844 | u552706598 | 1530737748 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 196 | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
char c;
cin >> a >> c >> b;
if(c == '+')
cout << a+b << endl;
else
cout << a-b << endl;
} |
s174627727 | p03844 | u552706598 | 1530737701 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 196 | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
char c;
cin >> a >> b >> c;
if(c == '+')
cout << a+b << endl;
else
cout << a-b << endl;
} |
s319098340 | p03844 | u336325457 | 1530398797 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | s=input().split()
A=s[0]
op=s[1]
B=s[2]
if(op=="+"):
print(A+B)
else:
print(A-B) |
s720424327 | p03844 | u736228006 | 1529514843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 284 | MOD = int(1e9) + 7
N = int(input())
dp = [1,0,0]
for i in range(64,-1,-1):
ndp = [0,0,0]
for d in range(3):
nd = d*2 + (N>>>i&1)
ndp[min(2,nd)] += dp[d]
if nd >= 1: ndp[min(2,nd-1)] += dp[d]
if nd >= 2: ndp[min(2,nd-2)] += dp[d]
dp = ndp
print(sum(dp) % MOD) |
s018732177 | p03844 | u330792464 | 1528923887 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 603 | N = int(input())
number = input().split(" ")
if N%2 == 0:
count = 0
for i in range(int(N/2)):
if number.count(str(2*i +1)) == 2:
count += 0
else:
count += 1
if count != 0:
print(0)
else:
print(2**(int(N/2)))
else:
count = 0
if "0" not in number:
print(0)
else:
for i in range(int((N-1)/2)):
if number.count(str(2*i+2)) == 2:
count += 0
else:
count += 1
if count != 0:
print(0)
else:
print(2**(int((N-1)/2))) |
s655979478 | p03844 | u217828577 | 1528302970 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | A = input()
B = input()
op = input()
if(op=='+'):
print(A+B)
if(op=='-')
print(A-B) |
s149480341 | p03844 | u217828577 | 1528047800 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | op = input()
a = input()
b = input()
if op=='+'
print(a + b)
if op== '-'
print(a-b) |
s273562139 | p03844 | u561443723 | 1527097790 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 108 | a,s,b = input(str, input().split())
if s == "+":
print(int(a) + int(b))
else:
print(int(a) - int(b)) |
s217732085 | p03844 | u561443723 | 1527097718 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a,s,b = input(str, input.split())
if s ="+":
print(int(a) +int(b))
else:
print(int(a) - int(b)) |
s635207989 | p03844 | u561443723 | 1527097629 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | a,s,b = input(str, input.split())
if s == "+":
print(a + b)
else:
print(a - b) |
s868065714 | p03844 | u561443723 | 1527097499 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | a,s,b = input(str, input.split())
if s ="+":
print(a + b)
else:
print(a - b) |
s333269690 | p03844 | u863370423 | 1524412571 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | line = input()
b=line.split()
if b[1]=='+':
print(int(b[0])+int(b[2]))
else:
print(int(b[0])-int(b[2]))
|
s484947836 | p03844 | u766407523 | 1523386462 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a = input().split()
if s[1] == '+':
print(int(a[0])+int(a[2]))
else:
print(int(a[0])-int(a[2])) |
s194854079 | p03844 | u766407523 | 1523386430 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | a = input().split()
if s[1] = '+':
print(int(a[0])+int(a[2]))
else:
print(int(a[0])-int(a[2])) |
s298995569 | p03844 | u127856129 | 1521469142 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | a,b,c=input().split
if b=="-":
print(int(a)-int(c))
else:
print(int(a)+int(c))
|
s531902244 | p03844 | u127856129 | 1521469107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b,c=input().split
if b=="-":
print(int(a)-int(b))
else:
print(int(a)+int(b)) |
s626742595 | p03844 | u127856129 | 1521468906 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | a,op,b=input().split()
print(int(a)+input(op)+int(b)) |
s631366389 | p03844 | u127856129 | 1521468868 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,op,b=input().split()
print(int(a)+op+int(b)) |
s986754112 | p03844 | u562016607 | 1521148105 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | st=input().split()
A=int(st[0])
B=int(st[1])
op=st[2]
if op=="+":
print(A+B)
else:
print(A-B)
|
s645261406 | p03844 | u941884460 | 1520873013 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 92 | tmp = input().split()
if tmp[1] == '+':
print(tmp[0]+tmp[2])
else:
print(tmp[0]-tmp[2]) |
s934991054 | p03844 | u925364229 | 1519692562 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | s,op,s2 = map(str,input().split(" "))
if op == '+':
print(s+s2)
else:
print(s-s2) |
s428079011 | p03844 | u925364229 | 1519257717 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | s,op,s2 = map(int,input().split(" "))
if op == '+':
print(s+s2)
else:
print(s-s2) |
s589608945 | p03844 | u319612498 | 1519003601 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,o,b=map(int,input().split())
if str(o)=="+":
print(a+b)
else:
print(a-b) |
s623703915 | p03844 | u030726788 | 1518902390 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | a,op,b=map(str,input().split())
if(op=="+"):
print(a+b)
else:
print(a-b)
|
s008974604 | p03844 | u030726788 | 1518902359 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | a,op,b=map(str,input().split())
if(op="+"):
print(a+b)
else:
print(a-b) |
s570019364 | p03844 | u019584841 | 1518842618 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a,b,c=input().split()
a,c=int(a),int(c)
print(abc) |
s422426259 | p03844 | u284102701 | 1517413909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | a=input().split()
if a[1]=='+':
print(a[0]+a[2])
else:
print(a[0]-a[2]) |
s107023789 | p03844 | u499259667 | 1513799684 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | A,op,B=input.split()
if op=="+":
print(int(A)+int(B))
else:
print(int(A)-int(B)) |
s031777805 | p03844 | u136090046 | 1513706346 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 117 | val = input().split()
if val[1] == "+":
print(int(val[0]+int(val[2])))
else:
print(int(val[0] - int(val[2]))) |
s433525855 | p03844 | u667024514 | 1510775686 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | a = input()
A = int(a[0])
o = a[1]
B = int(a[2])
if o == "+":
print(A+B)
else:
print(A-B) |
s905910109 | p03844 | u559651225 | 1506579910 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 116 | a, b, c = map(str, raw_input().split(","))
a = int(a)
c = int(c)
if b == "+":
print a + c
else:
print a - c
|
s529264860 | p03844 | u013734211 | 1505717373 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2696 | 20 | print(eval(input())) |
s002073389 | p03844 | u050708958 | 1499473353 | Python | Python (3.4.3) | py | Runtime Error | 25 | 3572 | 290 | import copy
N = int(input())
t = [int(x) for x in input().split()]
p = []
for _ in range(int(input())):
p.append([int(x) for x in input().split()])
result = []
ori_t = copy.deepcopy(t)
for i,j in zip(t,p):
t = copy.deepcopy(ori_t)
t[j[0]-1] = j[1]
result.append(sum(t))
print(result)
|
s016136244 | p03844 | u976162616 | 1496096302 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 148 | if __name__ == "__main__":
a,b,c = input().split()
if (b == '+'):
print (int(a) + int(b))
else:
print (int(a) - int(b))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.