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
s833328065
p03813
u624613992
1584629297
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38384
92
x = int(input()) if x >= 1200: print("ARC") else: print("ABC")
s460695259
p03813
u000123984
1584141345
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
rate = int(input()) if n < 1200: print("ABC") else: print("ARC")
s698410736
p03813
u933129390
1582520712
Python
Python (3.4.3)
py
Runtime Error
17
2940
204
#include <iostream> using namespace std; int main(int argc, char const* argv[]) { int x; cin >> x; if (x<1200) { cout << "ABC" << endl; } else { cout << "ARC" << endl; } return 0; }
s872553903
p03813
u385825353
1582140903
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
x = int(input()) if x >= 1200: pirnt('ARC') else: print('ABC')
s581562535
p03813
u312078744
1581993705
Python
Python (3.4.3)
py
Runtime Error
18
2940
70
score = input() if (score < 1200): print("ABC") else: print("ARC")
s508739972
p03813
u476418095
1581956940
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
a=int(input()) if a < 1200: print "ABC" else: print "ARC"
s177459679
p03813
u405256066
1581224672
Python
Python (3.4.3)
py
Runtime Error
18
2940
69
x = int(input()) if X < 1200: print("ABC") else: print("ARC")
s393176957
p03813
u686036872
1579600677
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
x = input(int()) print("ABC" if x < 1200 else "ARC")
s847619864
p03813
u686036872
1579600605
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
x = input(int()) print("ABC" if x < 1200 else "ARC")
s047773027
p03813
u993435350
1578879871
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
X = int(input()) if x >= 1200: print("ARC") else: print("ABC")
s764759038
p03813
u823044869
1578353371
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
x = int(input()) if x< 1200 print("ABC") else: print("ARC")
s696430688
p03813
u823044869
1578353318
Python
Python (3.4.3)
py
Runtime Error
18
2940
66
x = int(input()) if x< 1200; print("ABC") else: print("ARC")
s607560810
p03813
u696444274
1578098187
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
#x,t=list(map(int,input().split())) x = int(input()) if x <= 1200: print("ABC") else: prit("ARC")
s123206940
p03813
u153419200
1577393377
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a=int,input() if a<1200: print('ABC') else: print('ARC')
s608239233
p03813
u181215519
1576638712
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
rate = input() if rate < 1200 : print( "ABC" ) else : print( "ARC" )
s639554615
p03813
u328090531
1575844015
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
x = input() if x < 1200: print('ABC') else: print('ARC')
s654716081
p03813
u638282348
1575510455
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
print("ARC" if int(input) > 1200 else "ABC")
s824515869
p03813
u699780320
1575231188
Python
Python (3.4.3)
py
Runtime Error
17
2940
209
s = input() for i , v in enumerate(s): if v == 'A': apos = i + 1 break for i , v in enumerate(s[::-1]): if v == 'Z': zpos = len(s) - i break print( zpos - apos + 1)
s547800573
p03813
u923659712
1572566831
Python
Python (3.4.3)
py
Runtime Error
17
2940
236
# -*- coding: utf-8 -*- # input s = input() # solve for i in range(len(s)): if s[i] == 'A': a = i break for i in reversed(range(len(s))): if s[i] == 'Z': z = i break # output print(z - a + 1)
s546011647
p03813
u923659712
1572566741
Python
Python (3.4.3)
py
Runtime Error
17
2940
200
s = str(input()) for i in range(len(s)): if s[i] == 'A': a = i break for i in reversed(range(len(s))): if s[i] == 'Z': z = i break print(z - a + 1)
s097658188
p03813
u958210291
1571704186
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
x = input() if int(x) >= 1200: print(ARC) else: print(ABC)
s534907474
p03813
u958210291
1571704148
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
x = input() if x >= 1200: print(ARC) else: print(ABC)
s028677660
p03813
u617203831
1570391994
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
x=int(input()) print("ABC" x<1200 else "ARC")
s224149469
p03813
u287431190
1570049500
Python
Python (3.4.3)
py
Runtime Error
18
2940
79
x = map(int, input().split()) if x < 1200: print('ABC') else: print('ARC')
s874351807
p03813
u911575040
1570032390
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
N = int(input()) A = list(map(int, input().split())) q = len(set(A)) if q % 2 == 0: print(q - 1) else: print(q)
s590893427
p03813
u134712256
1567644079
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
print(“ABC” if int(input())<1200 else(“ARC”))
s714373169
p03813
u134712256
1567643932
Python
Python (3.4.3)
py
Runtime Error
19
3064
53
print(“ABC” if int(input())<1200 else(“ARC”))
s476709843
p03813
u134712256
1567643875
Python
Python (3.4.3)
py
Runtime Error
18
3064
55
print(“ABC” if int(input()) <=1200 else(“ARC”))
s071753719
p03813
u152638361
1567607189
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
if int(input())>=1200: print("ARC") else print("ABC")
s497252390
p03813
u152638361
1567607178
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
if int(input())>=1200: print("ARC") else print("ABC")
s197932107
p03813
u798316285
1565928465
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
print("ABC" if int(input)<1200 else "ARC")
s955417531
p03813
u936985471
1565670058
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
print(("ARC","ABC")[int(input()<1200])
s301763051
p03813
u716314620
1565655148
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
if input() > 1200: print("ABC") else: print("ARC")
s539086180
p03813
u282657760
1565628497
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a = input() if a >= 1200: print('ARC') else: print('ABC')
s666794919
p03813
u045408189
1565563385
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
x=input() print('ABC' if x<1200 else 'ARC')
s661965705
p03813
u033907515
1565550556
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
x=int(input(" :") if x<1200: print("ABC") else: print("ARC")
s344090695
p03813
u670180528
1564943377
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
print("ABC"*(int(input()<1200))or"ARC")
s628107405
p03813
u374974389
1564239732
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
z = int(input()) if s < 1200: print('ABC') else: print('ARC')
s764902006
p03813
u656572785
1563649891
Python
Python (3.4.3)
py
Runtime Error
17
2940
351
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<int>; using vll = vector<ll>; using vvi = vector<vector<int>>; using vvl = vector<vector<ll>>; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int x; cin >> x; if (x < 1200)cout << "ABC" << endl; else cout << "ARC" << endl; return 0; }
s574829637
p03813
u355137116
1563589920
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
print("ABC" if int input() < 1200 else "ARC")
s807491085
p03813
u855819610
1562787440
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
first = s.find("A") las = s.rfind("Z") print(las - first+1)
s924916566
p03813
u292735000
1562278684
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
s = input() print(s.rindex('Z') - s.index('A') + 1)
s546658550
p03813
u093500767
1562194658
Python
Python (3.4.3)
py
Runtime Error
18
2940
63
x = input() if x<1200: print("ABC") else: print("ARC")
s906631603
p03813
u093500767
1562194617
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
x = input().int() if x<1200: print("ABC") else: print("ARC")
s091933039
p03813
u395202850
1561950220
Python
Python (3.4.3)
py
Runtime Error
17
3060
275
def start(l): for i in range(1, l-1): if S_list[i] == "A": return i + 1 def finish(l): for i in range(1, l-1): if S_list[l - i] == "Z": return l - i + 1 S_list = list(input()) l = len(S_list) print(finish(l) - start(l) + 1)
s499745735
p03813
u314050667
1561493249
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a = int(input()) print("ABC") if x < 1200 else print("ARC")
s464923968
p03813
u074402558
1559348240
Python
Python (3.4.3)
py
Runtime Error
17
3064
489
N = int(input()) A = list(map(int, input().split())) dict1 = {} for i in range(N): if A[i] not in dict1.keys(): dict1[A[i]] = 0 else: dict1[A[i]] += 1 value1 = [] for value in dict1.values(): value1.append(value) value2 = sorted(value1, reverse = True) if value2[0] - value2[1] >= sum(value2[1:]): print(N - (value2[0] * 2)) else: if(sum(value2[0:]) % 2 == 0): print(len(value2)) else: if len(value2) != 0: print(len(value2) - 1) else: print(1)
s260320077
p03813
u300637346
1558904836
Python
Python (3.4.3)
py
Runtime Error
18
2940
147
s=list(input()) a=[] z=[] for num in range(len(s)): if s[num]=='A': a.append(num) if s[num]=='Z': z.append(num) print(max(z)-min(a)+1)
s337128046
p03813
u584646264
1558556297
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
x=int(input()) if x<1200: print(ABC) else: print(ARC)
s728079381
p03813
u584646264
1558556103
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
x=int(input(()) if x<1200: print(ABC) else: print(ARC)
s666603034
p03813
u367130284
1556848436
Python
Python (3.4.3)
py
Runtime Error
17
2940
33
print("A"+"RB"[input()<1200]+"C")
s929988870
p03813
u387456967
1555476979
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
x = input() for ans in x: if ans < 1200: print("ABC") else: print("ARC")
s637415653
p03813
u387456967
1555476941
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
x = (input()) for ans in x: if ans < 1200: print("ABC") else: print("ARC")
s378024262
p03813
u041075929
1555444731
Python
Python (3.4.3)
py
Runtime Error
17
2940
225
import sys, os f = lambda:list(map(int,input().split())) if 'local' in os.environ : sys.stdin = open('./input.txt', 'r') def solve(): x = f()[0] if x >= 1200: print("ARC") else print("ABC") solve()
s938947914
p03813
u748311048
1554300227
Python
Python (3.4.3)
py
Runtime Error
18
3188
53
if input()<=1200: print('ABC') else: print('ARC')
s707260318
p03813
u127535085
1554064114
Python
Python (3.4.3)
py
Runtime Error
18
2940
67
x = input() if x < 1200: print("ABC\n") else: print("ARC\n")
s648626314
p03813
u280512618
1553949733
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
print('ARC' if x >= 1200 else 'ABC')
s570867907
p03813
u082861480
1553799619
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a = int(input()) print('ABC' if 1200
s132312884
p03813
u794173881
1551539379
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
x = int(input()) print("ABC" if x<=1199 else "ARC )
s298971195
p03813
u083960235
1550885145
Python
Python (3.4.3)
py
Runtime Error
17
3064
358
s=str(input()) atoz=[] for i in range(len(s)): if(s[i]=="A"): a=i break #print(a) for i in range(a,len(s)): atoz.append(s[i]) s_l=list(atoz) #print(s_l) r_s=[] s_l_kep=s_l for i in (reversed(s_l)): #print(i) if(i!="Z"): s_l.pop() # print(s_l) else: break # r_s.append(i) #print(s_l) str_s_l=''.join(s_l) #print(str_s_l) print(len(str_s_l))
s458100515
p03813
u231647664
1548185084
Python
Python (3.4.3)
py
Runtime Error
18
3060
191
A, B = map(int, input().split()) if A < B: if A == 1: print('Alice') else: print('Bob') elif B > A: if B == 1: print('Bob') else: print('Alice') else: print('Draw')
s779884671
p03813
u972398652
1546585578
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
x = int(input) print("ABC") if x < 1200 else print("ARC")
s594083648
p03813
u933214067
1544882389
Python
Python (3.4.3)
py
Runtime Error
49
5276
216
from statistics import mean, median,variance,stdev import sys import math x = input().split() #y = input().split() a = [] #for i in range(len(x)): # a.append(int(x[i])) if a[0] <1200:print("ABC") else:print("ARC")
s806353771
p03813
u920299620
1543208853
Python
Python (3.4.3)
py
Runtime Error
17
2940
806
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for(int i = 0;i < n;i++) #define REPR(i, n) for(int i = n;i >= 0;i--) #define FOR(i, m, n) for(int i = m;i < n;i++) #define itrfor(itr,A) for(auto itr = A.begin(); itr !=A.end();itr++) typedef long long llong; char moji[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; char moji2[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; char moji3[10]={'0','1','2','3','4','5','6','7','8','9'}; #define Sort(a) sort(a.begin(),a.end()); #define Reverse(a) reverse(a.begin(),a.end()); #define print(a) cout << a << endl; int main(){ int x; cin >> x; if(x<1200) cout << "ABC" << endl; if(1200<=x) cout << "ARC" << endl;
s366725964
p03813
u111365959
1542947910
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
a = input() print(len(a[a.index('A'):a.rindex('Z')+1]))
s359497577
p03813
u869728296
1541801189
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a=int(input()) if(a<1200): print("ABC") else: print("ARC)
s051327015
p03813
u397531548
1541790673
Python
Python (3.4.3)
py
Runtime Error
19
2940
61
x=int(input()) if x<1200: print(ABC) else: print(ARC)
s370348880
p03813
u791664126
1541472649
Python
Python (3.4.3)
py
Runtime Error
17
2940
26
print('AARBCC'[x<1200::2])
s824192806
p03813
u822622292
1541001901
Python
Python (3.4.3)
py
Runtime Error
17
2940
207
text = input() a_list = [] z_list = [] for i, x in enumerate(text): if x == "A": a_list.append(i) if x == "Z": z_list.append(i) a_z_len = max(z_list) - min(a_list) + 1 print(a_z_len)
s186981528
p03813
u240793404
1540910640
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
print("ABC" if int(input() < 1200 else "ARC")
s045082230
p03813
u328755070
1540140199
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
x = int(input()) ans = 'ABC' if x < 1200 else 'ARC' prit(ans)
s201260974
p03813
u371763408
1539375767
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
print('ABC' if int(input() < 1200 else 'ARC'))
s066399046
p03813
u599547273
1539231295
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
print(f"A{RB[input()<"1200"]}C")
s733703116
p03813
u589087860
1537828981
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
x = input() if x < 1200: print("ABC") else: print("ARC")
s785956437
p03813
u729133443
1537579851
Python
Python (3.4.3)
py
Runtime Error
17
3188
38
print('ABC'(int(input())<1200)or'ARC')
s808406511
p03813
u304561065
1536753626
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
if x<1200: print('ABC') else: print('ARC')
s861419103
p03813
u474270503
1536439237
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
print('ABC' if x<1200 else 'ARC')
s884937159
p03813
u872328196
1532648460
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
n = input() if n<1200: print("ABC") else: print("SRC")
s079741032
p03813
u333945892
1532355824
Python
Python (3.4.3)
py
Runtime Error
17
2940
621
#include <iostream> #include <stdio.h> #include <string> #include <vector> #include <set> #include <cmath> #include <algorithm> #include <cstdio> #include <queue> #include <map> #include <limits> using namespace std; typedef long long ll; float inf = std::numeric_limits<float>::infinity(); ll mod = 1e9+7; /* 二次元配列の宣言 vector<vector<int>> tb; tb.resize(H); for (size_t i = 0; i < H; i++) { tb[i].resize(W); } */ /* A.resize(N); for (int i = 0; i < N; i++) {scanf("%d",&A[i]);} */ int main(void) { int x; cin >> x; if (x<1200){ printf("ABC"); }else{ printf("ARC"); } }
s322749368
p03813
u506302470
1527954106
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38384
203
#include <bits/stdc++.h> using namespace std; int a,b; int main(){ char c; for(int i=1;cin>>c;i++){ if(c=='A'&&!a)a=i; if(c=='Z')b=i; } cout<<b-a+1<<endl; return 0; }
s708984963
p03813
u730606460
1516922199
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
a = int(raw_input()) if a < 1200: print('ABC') else: print('ARC)
s169122197
p03813
u559651225
1506579685
Python
Python (2.7.6)
py
Runtime Error
11
2568
64
n = input() if n > = 1200: print "ARC" else: print "ABC"
s989053693
p03813
u367393577
1505112308
Python
Python (3.4.3)
py
Runtime Error
16
2940
73
a = int(input()) if a >= 1200: print("ARC"); else: print("ABC");
s165691185
p03813
u367393577
1505112241
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a = int(input()) if a >= 1200: print("ARC"); else: print("ABC");
s484910599
p03813
u495267515
1498360003
Python
Python (3.4.3)
py
Runtime Error
16
2940
137
-*- coding: utf-8 -*- import sys import subprocess import json import time import math import re import sqlite3 s = input() print(1)
s093163976
p03813
u495267515
1498359665
Python
Python (3.4.3)
py
Runtime Error
18
2940
75
-*- coding: utf-8 -*- s = input() print(s.rfind('Z') - s.find('A') + 1)
s553322992
p03813
u495267515
1498359039
Python
Python (3.4.3)
py
Runtime Error
17
3064
168
-*- coding: utf-8 -*- import sys import subprocess import json import time import math import re import sqlite3 s = input() print(s.rfind('Z') - s.find('A') + 1)
s444963692
p03813
u039623862
1494563960
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
x = int(input() print('ARC' if x >= 1200 else 'ABC')
s306627443
p03813
u039623862
1494563933
Python
Python (3.4.3)
py
Runtime Error
18
3188
67
x = map(int, input().split()) print('ARC' if x >= 1200 else 'ABC')
s692447425
p03813
u238130426
1490827920
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
x = int(input()) if x < 1200: a = ABC else: a = ARC print(a)
s601298382
p03813
u596276291
1489167762
Python
Python (3.4.3)
py
Runtime Error
20
3316
424
from collections import defaultdict def main(): n = int(input()) card_list = list(map(int, input().split())) ans = len(set(card_list)) d = defaultdict(int) for card in card_list: d[card] += 1 one, two = 0, 0 for card, num in d.items(): if num % 2 == 1: one += 1 else: two += 1 print(ans - two % 2) if __name__ == '__main__': main()
s669639413
p03813
u210440747
1487110935
Python
Python (3.4.3)
py
Runtime Error
22
3064
108
if __name__=="__main__": s = int(input()) if(s < 1200): print("ABC") else: print("ARC")
s675234731
p03813
u210440747
1487109368
Python
Python (3.4.3)
py
Runtime Error
22
3064
122
if __name__=="__main__": [s] = map(int,input().split()) if(s < 1200): print("ABC") else: print("ARC")
s645940860
p03813
u210440747
1487108828
Python
Python (3.4.3)
py
Runtime Error
23
3064
119
if __name__=="__main__": [s] = map(int,input().split()) if(a < 1200): print("ABC") else: print("ARC")
s432584919
p03813
u252805217
1486958486
Python
Python (3.4.3)
py
Runtime Error
24
3064
139
n = int(input()) a = list(map(int, input().split())) s = set(a) l = len(s) l2 = 0 if len([a.count(x) for x in s]) % 2 else 1 print(l - l2)
s424917859
p03813
u791838908
1486922729
Python
Python (3.4.3)
py
Runtime Error
23
3064
39
N = input() A = input() print(int(N)-2)
s964469364
p03813
u791838908
1486922271
Python
Python (3.4.3)
py
Runtime Error
23
3064
50
N = input() A = input() print(len(set(A.split())))
s462360605
p03813
u791838908
1486918175
Python
Python (3.4.3)
py
Runtime Error
23
3064
48
if x < 1200: print("ABC") else: print("ARC")
s417830605
p03813
u615817983
1486817178
Python
Python (2.7.6)
py
Runtime Error
16
2568
73
l = int(raw_input()) print (len(set(map(int, raw_input().split())))//2)*2
s039818618
p03813
u105039872
1486672907
Python
Python (3.4.3)
py
Runtime Error
24
3064
58
x=input() if x < 1200: print(ABC) else: print(ARC)