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
s865137473
p03737
u623687794
1559582812
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a,b,c=map(str,input().split()) print(a[0].upper+b[0].upper+c[0].upper)
s665272574
p03737
u662614053
1557856361
Python
Python (3.4.3)
py
Runtime Error
17
2940
601
#include <iostream> #include <algorithm> #include <vector> #include <string> #include <map> #include <climits> #include <math.h> #include <utility> using namespace std; typedef long long ll; typedef vector<bool> vb; typedef vector<char> vc; typedef vector<long long> vll; typedef vector<int> vi; typedef vector<string> vs; typedef vector<vector<bool>> vvb; typedef vector<vector<int>> vvi; #define rep(i,n) for(int (i)=0;(i)<(n);(i)++) #define all(a) a.begin(),a.end() int main() { vs s(3); rep(i, 3)cin >> s.at(i); rep(i, 3) { cout << char(s.at(i).at(0) - 32); } cout << endl; return 0; }
s094590913
p03737
u220345792
1557797509
Python
Python (3.4.3)
py
Runtime Error
18
3064
334
A = input() B = input() flag = False if len(A) > len(B): print("GREATER") elif len(A) < len(B): print("LESS") elif len(A) == len(B): for i in range(len(A)): if int(A[i]) > int(B[i]): print("GREATER") break elif int(A[i]) < int(B[i]): print("LESS") break flag = True if flag: print("EQUAL")
s920226577
p03737
u239301277
1557715659
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a,b,c=map(input().split()) A=a.upper() B=b.upper() C=c.upper() print(A[0]+B[0]+C[0])
s948409185
p03737
u374531474
1556767195
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
s1, s2, s3 = map(int, input().split()) print(s1[0].upper() + s2[0].upper() + s3[0].upper())
s127113035
p03737
u975676823
1556455821
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a, b, c = input().split() print(a[0].upper + b[0].upper, c[0].upper)
s103762372
p03737
u575279726
1556392241
Python
Python (3.4.3)
py
Runtime Error
17
2940
131
B = input().split() A = int(B[1]) B = int(B[0]) if A==B: print("EQUAL") elif A>B: print("GREATER") elif A<B: print("LESS")
s661423196
p03737
u059436995
1556365570
Python
Python (3.4.3)
py
Runtime Error
17
3064
460
n = int(input()) A = list(map(int, input().split())) def adj(n, a ,flag): na = 0 cnt = 0 for i in range(n): na += a[i] if flag == 1: if na <= 0: cnt += 1 - na na = 1 flag = -1 elif flag == -1: if na >= 0: cnt += na + 1 na = -1 flag = 1 return cnt print(min(adj(n, A, 1),adj(n, A, -1)))
s212166405
p03737
u013408661
1556165278
Python
Python (3.4.3)
py
Runtime Error
17
2940
196
#include"bits/stdc++.h" using namespace std; int main(){ string a,b,c; char x,y,z; cin >> a >> b >> c; x=a.front()-32; y=b.front()-32; z=c.front()-32; cout << x << y << z << endl; }
s497325210
p03737
u511401499
1555721615
Python
Python (3.4.3)
py
Runtime Error
17
2940
1024
// スタックァむズ: 100MB #define _USE_MATH_DEFINES #include <iostream> #include <fstream> #include <vector> #include <map> #include <unordered_map> #include <string> #include <cmath> #include <cstdio> #include <algorithm> #include <functional> #include <numeric> #include <iomanip> #include <queue> #include <list> #include <set> using namespace std; typedef int64_t ll; typedef vector<ll> vll; typedef pair<ll, ll> pll; const ll INF = 1e18; const double EPS = 1e-10; const ll mod = 1e9 + 7; #define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL) #define fori(i, a, b) for (ll i = (a); i < (b); ++i) #define ford(i, a, b) for (ll i = (b - 1); (a) <= i; --i) #define rep(i, n) fori(i, 0, n) #define all(v) (v).begin(), (v).end() #define fst first #define snd second ll pw(ll x, ll y) { ll r = 1; rep(i, y) { r *= x; }; return r; } int main() { fastio; string a, b, c; cin >> a >> b >> c; cout << char(a[0] + 'A' - 'a') << char(b[0] + 'A' - 'a') << char(c[0] + 'A' - 'a') << endl; }
s543053842
p03737
u331464808
1555435111
Python
Python (3.4.3)
py
Runtime Error
18
2940
64
a,b,c = map(str,input().split()) print((a[0],b[0],c[0]).upper())
s528312141
p03737
u607741489
1555265038
Python
Python (3.4.3)
py
Runtime Error
18
2940
100
a,b,c = input().split() d = str(int(a[0])-32) d += str(int(b[0])-32) d += str(int(c[0])-32) print(d)
s593485815
p03737
u414877092
1555107381
Python
Python (3.4.3)
py
Runtime Error
17
3060
284
a=input() b=input() if len(a)>len(b): print("GREATER") elif len(a)<len(b): print("LESS") else: for i in range(len(a)): if a[i]>b[i]: print("GRATER") exit() elif a[i]<b[i]: print("LESS") exit() print("EQUAL")
s574229264
p03737
u969190727
1554830990
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
List=list(input().upper().split()) for s in List: print(n[0],end="")
s583414083
p03737
u969190727
1554830801
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
List=list(input().split()) for n in List: print(n[0].Upper(),end="")
s745989769
p03737
u411544692
1554788802
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
s1, s2, s3 = input().split() ans = s1[0].upper()+s1[1].upper()+s1[2].upper() print(ans)
s039075760
p03737
u894694822
1554705758
Python
Python (3.4.3)
py
Runtime Error
18
2940
92
l = input().split() a = l[0].upper() b = l[1].upper() c = l[2].upper() print(a[0]+b[0]+c[2])
s898427524
p03737
u299730702
1554670448
Python
Python (3.4.3)
py
Runtime Error
18
2940
172
import math A = int(input()) B = int(input()) #A = math.log10(A) #B = math.log10(B) if A > B: print('GREATER') elif A < B: print('LESS') else: print('EQUAL')
s668702427
p03737
u121732701
1554516638
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
s1, s2, s3 = input().split()) print(str.upper(s1[0]+" "+s2[0]+" "+s3[0]))
s245610793
p03737
u121732701
1554516584
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
s1, s2, s3 = map(int, input().split()) print(str.upper(s1[0]+" "+s2[0]+" "+s3[0]))
s197092365
p03737
u121732701
1554516443
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
s1, s2, s3 = map(int, input().split()) str.upper(s1[0]+" "+s2[1]+" "+s3[2])
s547456549
p03737
u292810930
1554266716
Python
Python (3.4.3)
py
Runtime Error
18
3064
716
n = int(input()) a = list(map(int, input().split())) #ε…·δ½“ηš„γͺζ“δ½œγ‚’θ€ƒγˆγ‚‹εΏ…θ¦γ―γͺγγ¦οΌŒγŸγ ιƒ¨εˆ†ε’Œγ‚’γ²γŸγ™γ‚‰θ€ƒγˆγ¦γ„γ‘γ°γ„γ„ answer1 = 0 answer2 = 0 sum1 = a[0] sum2 = a[0] # pmpm... for i in range(1,n): sum1 += a[i] if i % 2 == 1: if sum1 >= 0: answer1 += sum1 - (-1) sum1 = -1 if i % 2 == 0: if sum1 <= 0: answer1 += 1 - sum1 sum1 = 1 # mpmp... for i in range(1,n): sum2 += a[i] if i % 2 == 0: if sum2 >= 0: answer2 += sum2 - (-1) sum2 = -1 if i % 2 == 1: if sum2 <= 0: answer2 += 1 - sum2 sum2 = 1 print(min(answer1, answer2))
s924090104
p03737
u633355062
1553832389
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a,b,c=input().split() ans=a.upper[0]+b.upper[0]+c.upper[0] print(ans)
s472704892
p03737
u633355062
1553832354
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a,b,c=input().split ans=a.upper[0]+b.upper[0]+c.upper[0] print(ans)
s872849774
p03737
u518064858
1550269610
Python
Python (3.4.3)
py
Runtime Error
18
2940
67
a,b,c=input().split() print(a[0].apper()+b[0].upper()+c[0].upper())
s830291083
p03737
u864081685
1550100713
Python
Python (3.4.3)
py
Runtime Error
17
2940
156
data = input() capitalized = data.upper() list = capitalized.split(" ") for word in list: br = str(word) result = br[0:1] final += result print(final)
s696247262
p03737
u960513073
1548708266
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,c = input().split() print(upper(a[0]+b[0]+c[0]))
s962452048
p03737
u089032001
1546307989
Python
Python (3.4.3)
py
Runtime Error
20
2940
82
a, b, c = map(int, input().split()) print(a[0].upper()+b[0].upper()+c[0].upper())
s672976304
p03737
u371467115
1544891987
Python
Python (3.4.3)
py
Runtime Error
18
2940
71
A,B,C=map(str,input().split()) print(A[0].upper+B[0].upper+C[0].upper)
s064811420
p03737
u371467115
1544891844
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
A,B,C=input().split() print(A[0].upper+B[0].upper+C[0].upper)
s757338487
p03737
u523986442
1544804257
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
A = input() B = input() AA = "%-101s", A BB = "%-101s", B if AA == BB: print("EQUAL") elif AA>BB: print("GREATER") else: print("LESS")
s925988164
p03737
u523986442
1544803991
Python
Python (3.4.3)
py
Runtime Error
18
2940
144
A = input() B = input() AA = "%101s", A BB = "%101s", B if AA == BB: print("EQUAL") elif AA>BB: print("GREATER") else: print("LESS")
s552626000
p03737
u928784113
1544545299
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
# -*- coding: utf-8 -*- s,t,u = map(str,input().split()) S = s[0] T = t[0] U = u[0] print("{}".format(S+T+U.upper())
s764831075
p03737
u928784113
1544423849
Python
Python (3.4.3)
py
Runtime Error
18
2940
113
# -*- coding: utf-8 -*- s,t,u=map(str,input().split) A = s[0] B = t[0] C = u[0] print("{}".format(A+B+C.upper()))
s037836000
p03737
u129978636
1544030329
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
for a in input().upper().split(): print(a[0] end="")
s136314138
p03737
u136869985
1543639043
Python
Python (3.4.3)
py
Runtime Error
18
2940
74
a=int(input())-int(input()) print(['LESS','EQUAL','GREATER'][a>=0 + a==0])
s697562868
p03737
u111365959
1543237549
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
print([x[0].upper() for x in input().split()].join())
s144549438
p03737
u828847847
1542997105
Python
Python (2.7.6)
py
Runtime Error
11
2568
2130
#include "bits/stdc++.h" using namespace std; /* macro */ #define rep(i,a,b) for(int i=a;i<b;i++) #define revrep(i,a,b) for(int i = a; i > b; i--) #define int long long #define exist(s,e) ((s).find(e)!=(s).end()) #define all(v) (v).begin(), (v).end() #define each(s,itr) for(auto (itr) = s.begin(); (itr) != s.end(); (itr)++) #define sum(v) accumulate(all(v), (0LL)) #define sec second #define fir first #define pb push_back /* alias */ template<class T> using vec = vector<T>; typedef vector<int> vi; typedef pair<int, int> pi; /* constant */ //const int inf = pow(2, 62); //const int mod = 1e9 + 7; const int mod = 100000; int dx[8]={1,0,-1,0,-1,1,-1,1}; int dy[8]={0,1,0,-1,-1,-1,1,1}; /* io_method */ int input(){int tmp;cin >> tmp;return tmp;} string raw_input(){string tmp;cin >> tmp;return tmp;} string readline(){string s;getline(cin, s);return s;} template<class T> void printx(T n){cout << n;} template<class T, class U> void printx(pair<T, U> p){cout << "(" << p.first << "," << p.second << ")";} template<class T> void printx(vector<T> v){cout << "{";rep(i,0,v.size()){printx(v[i]);if(i != v.size()-1)printx(",");}cout << "}";} template<class T> void print(T n){printx(n);cout << endl;} template<class T> void print(set<T> s){cout << "{";each(s, e){if(e != s.begin()) printx(",");printx(*e);}cout << "}" << endl;} template<class T, class U> void print(map<T, U> mp){cout << "{";each(mp, e){cout << "(" << e -> first << "," << e -> second << ")";}cout << "}" << endl;} /* general_method */ template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; } /* main */ int ceil(int a, int b){ if(a % b == 0) return a /b; else return a /b + 1; } signed main(){ cin.tie(0); ios::sync_with_stdio(false); string ans = ""; rep(i,0,3) ans += toupper(raw_input()[0]); print(ans); }
s701303744
p03737
u917138620
1541996508
Python
Python (3.4.3)
py
Runtime Error
18
3064
347
l = int(input()) n = [int(i) for i in input().split()] count = 0 nsum = n[0] for i in range(1, l): while(True): if (n[i-1] * n[i] >= 0) or (nsum * (nsum + n[i]) >= 0): if n[i-1] < 0: count += 1 n[i] += 1 else: count += 1 n[i] -= 1 else: nsum += n[i] break print(count)
s258561361
p03737
u432805419
1541381941
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a,b,c = input().split() print(a[0].upper()+b[0].upeer() +c[0].upper())
s237489555
p03737
u853900545
1539351911
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
s = list(map(int,input().split())) print(s[0][0].upper()+s[1][0].upper()+s[2][0].upper())
s876603358
p03737
u853900545
1539348797
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
s = list(map(int,input().split()) print(s[0][0].upper()+s[1][0].upper()+s[2][0].upper())
s747354173
p03737
u790877102
1539155900
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
a = int(input()) b = int(input()) if a<b: print("LESS") elif a==b: print("EQUAL") else: print("GREATER")
s740162856
p03737
u484856305
1538850587
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
a,b,c=map(int,input().split()) print(a[0].upper()+b[0].upper()+c[0].upper())
s898001137
p03737
u731368968
1538168782
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
print(''.join(i[0] for i in input().split()).upper())
s109225500
p03737
u729133443
1537581549
Python
Python (3.4.3)
py
Runtime Error
18
3188
60
a,b,c=input().upper().split();print(''.join(a[0],b[0],c[0]))
s264367952
p03737
u971256474
1537561258
Python
Python (2.7.6)
py
Runtime Error
10
2568
165
#include<bits/stdc++.h> using namespace std; int main(){ string a,b,c; cin>>a>>b>>c; cout<<(char)toupper(a[0])<<(char)toupper(b[0])<<(char)toupper(c[0])<<endl; }
s896764778
p03737
u518556834
1537398977
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
a = list(map(str,input().split())) c = str() for i in range(3): c += a[i]a[0].upper() print(c)
s477994115
p03737
u102126195
1536594739
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a, b, c = input().split() print(chr(ord(a) + 26) + chr(ord(b) + 26) + chr(ord(c) + 26))
s306374780
p03737
u601082779
1536024167
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
print(a[0],end=""for a in input().upper().split())
s244917271
p03737
u407535999
1535572968
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
a=input() b=input() a=int(a) b=int(b) if a>b: print("GREATER") elif a=b: print("EQUAL") else: print("LESS")
s194002428
p03737
u407535999
1535572895
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
a=input() b=input() if a>b: print("GREATER") elif a=b: print("EQUAL") else: print("LESS")
s140871751
p03737
u407535999
1535572865
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
a=input() b=input() if a>b: print("GREATER") elif a=b: print("EQUAL") else: print("LESS")
s774739474
p03737
u362560965
1531979608
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
A, B, C = (str(i).upper for i in input().split()) ans = A[0]+B[0]+C[0] # ANS = ans.upper() print(ans)
s125849971
p03737
u362560965
1531979577
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
A, B, C = (i.upper for i in input().split()) ans = A[0]+B[0]+C[0] # ANS = ans.upper() print(ans)
s426371004
p03737
u598009172
1531979386
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
atcoder beginner contest
s272730439
p03737
u415905784
1530842637
Python
Python (3.4.3)
py
Runtime Error
19
3060
78
a,b,c = map(input().split()) print(a[0].upper() + b[0].upper() + c[0].upper())
s942066421
p03737
u415905784
1530842566
Python
Python (3.4.3)
py
Runtime Error
18
3060
74
a = map(input().split()) print(a[0].upper() + b[0].upper() + c[0].upper())
s963386095
p03737
u409064224
1529777138
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
s1,s2,s3 = list(map(str,input().split())) res = "" res.append(s1[0].upper()) res.append(s2[0].upper()) res.append(s3[0].upper()) print(res)
s335898707
p03737
u409064224
1529777114
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
s1,s2,s3 = list(map(int,input().split())) res = "" res.append(s1[0].upper()) res.append(s2[0].upper()) res.append(s3[0].upper()) print(res)
s324880288
p03737
u522398430
1529552988
Python
Python (3.4.3)
py
Runtime Error
148
12508
393
import numpy as np x,y = map(int, input().split()) z = np.array([x,y]) i = 1 if z[z.argmax()] == 0 or z[z.argmax()] == 1: i = 1 else: while True: amax, amin = z.argmax(), z.argmin() z[amin] += z[amax]//2 z[amax] = 1 if z[amax]%2 else 0 i+=1 if (z[z.argmax()] == 0 or z[z.argmax()] == 1): break print("Brown" if i%2 else "Alice")
s575257075
p03737
u522398430
1529545401
Python
Python (3.4.3)
py
Runtime Error
17
3064
596
import math n = int(input()) a = list(map(int, input().split())) cnt = 0 x = [] x.append(a[0]) if a[0] == 0: cnt += 1 if a[1] > 0: x[0] = -1 else: x[0] = 1 for i in range(n-1): if x[i] > 0: if x[i]+a[i+1] > -1: tmp = int(math.fabs(x[i] + a[i+1]) + 1) a[i+1] = a[i+1] - tmp cnt += tmp x += [x[i] + a[i+1]] else: if x[i]+a[i+1] < +1: tmp = int(math.fabs(x[i] + a[i+1]) + 1) a[i+1] = a[i+1] + tmp cnt += tmp x += [x[i] + a[i+1]] print(cnt)
s448521526
p03737
u522398430
1529544310
Python
Python (3.4.3)
py
Runtime Error
17
3064
462
import math n = int(input()) a = list(map(int, input().split())) cnt = 0 x = [] x.append(a[0]) for i in range(n-1): if x[i] > 0: if x[i]+a[i+1] > -1: cnt += math.fabs(x[i] + a[i+1]) + 1 x += [-1] else: x += [x[i] + a[i+1]] else: if x[i]+a[i+1] < +1: cnt += math.fabs(x[i] + a[i+1]) + 1 x += [1] else: x += [x[i] + a[i+1]] print(int(cnt))
s253936896
p03737
u506302470
1528504919
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
174
#include<bits/stdc++.h> using namespace std; int main(){ string a,b,c; cin>>a>>b>>c; cout<<(char)(a[0]-'a'+'A'); cout<<(char)(b[0]-'a'+'A'); cout<<(char)(c[0]-'a'+'A'); }
s525930914
p03737
u506302470
1528504912
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38288
175
#include<bits/stdc++.h> using namespace std; int main(){ string a,b,c; cin>>a>>b>>c; cout<<(char)(a[0]-'a'+'A'); cout<<(char)(b[0]-'a'+'A')'; cout<<(char)(c[0]-'a'+'A'); }
s768328947
p03737
u977370660
1525208762
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
s = input().split() s = s.upper() s1 = s[0][0] s2 = s[1][0] s3 = c[2][0] print(s1+s2+s3)
s493496413
p03737
u729707098
1521696811
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
a = int(input()) b = int(input()) if a>b: print("GREATER") elif a<b: print("LESS") else: print("EQUAL")
s875206077
p03737
u127856129
1521426149
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a,b,c=input().split() print(a[0].upper()+b[0].upper()+c[0].upper)
s737726068
p03737
u127856129
1521425999
Python
Python (3.4.3)
py
Runtime Error
20
2940
67
a,b,c=input().split() print(a.upper[0]+b.upper[0]+c.upper[0])
s061765240
p03737
u854627522
1514306737
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
nums = input().split() print(nums[0][0].upper()+nums[1][0].upper()+nums[2][0].upper
s777039132
p03737
u498401785
1510248228
Python
Python (3.4.3)
py
Runtime Error
20
2940
120
a = input() b = input() if(a > b): print("GREATER") elif(a < b): print("LESS") elif(a == b): print("EQUAL")
s864086800
p03737
u126747509
1507070527
Python
Python (3.4.3)
py
Runtime Error
26
3444
573
from collections import defaultdict def solve(pre_is_positive, a_list): total = 0 ans = 0 for a in a_list: total += a if pre_is_positive and total >= 0: ans += abs(total) + 1 total = -1 elif not pre_is_positive and total <= 0: ans += abs(total) + 1 total = 1 pre_is_positive = total > 0 return ans def main(): n = int(input()) a_list = list(map(int, input().split())) print(min(solve(True, a_list), solve(False, a_list))) if __name__ == "__main__": main()
s190866953
p03737
u098968285
1503958363
Python
PyPy3 (2.4.0)
py
Runtime Error
173
39764
77
a, b, c = map(int, input().split()) ans = (a[0]+b[0]+c[0]).upper() print(ans)
s174736958
p03737
u343437894
1499488135
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
s1, s2, s3 = input().split(" ") print(s1[0].upper()+s2[0].upper()+s3[0].upper())
s994305639
p03737
u343437894
1499488031
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
s1, s2, s3 = input().split(" ") print(s1[0].upper()+s2[0].upper()s3[0].upper())
s693253885
p03737
u343437894
1499487901
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
s1, s2, s3 = input().split(" ") print(s1[0].upper+s1[1:]+s2[0].upper+s2[1:]+s3[0].upper+s3[1:])
s477413052
p03737
u078200872
1498510654
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
l = raw_input().split() w1 = l[0].upper() w2 = l[1].upper() w3 = l[2].upper() print w1[:1] + w2[:1] + w3[:1]
s472300645
p03737
u078200872
1498510620
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
l = raw_input().split() w1 = l[0].upper() w2 = l[1].upper() w3 = l[2].upper() print w1[:1] + w2[:1] + w3[:1]
s985717764
p03737
u120026978
1498160502
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a,b,c = input().split() print(upper(a[0])+upper(b[0])+upper(c[0]))
s632550882
p03737
u139561065
1496122670
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
l=raw_input().split() print l[0][0].upper()+l[1][0].upper()+l[2][0].upper()
s764287841
p03737
u093492951
1496072318
Python
Python (3.4.3)
py
Runtime Error
17
3064
572
n = [int(i) for i in input().split()] a = [int(i) for i in input().split()] total = 0 fugo = 0 count = 0 for i in a: total += i if(fugo == 0): total = i if(total > 0): fugo = 1 else: fugo = -1 continue elif(fugo > 0): fugo = -1 if(total >= 0): while(total>=0): count += 1 total -= 1 elif(fugo < 0): fugo = 1 if(total <= 0): while(total<=0): count += 1 total += 1 print(count)
s157537083
p03737
u883688134
1495600593
Python
Python (2.7.6)
py
Runtime Error
10
2692
1018
if __name__ == '__main__': N = input() array = raw_input().split() ans = 0 total = int(array[0]) totalZero = False if total == 0: totalZero = True flag = False if total >= 0: flag = True for a in array[1:]: if totalZero == True: ans += 1 if a > 0: total = -1 flag = False else: total = 1 flag = True totalZero = False total += int(a) if total > 0 and flag == True: ans += total + 1 total = -1 elif total < 0 and flag ==False: ans += -1 * total + 1 total = 1 elif total == 0: totalZero = True if total > 0: flag = True elif total < 0: flag = False if totalZero == True: ans += 1 print ans
s300814069
p03737
u616040357
1495350025
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
s1 = input() s2 = input() s3 = input() print (s1[0].upper() + s2[0].upper() + s3[0].upper())
s827253858
p03737
u616040357
1495349944
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
s1 = input() s2 = input() s3 = input() print (s1[0].upper() + s2[0].upper() + s3[0].upper())
s077030742
p03737
u859491652
1494988905
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
a=int(input()) b=int(input()) if a>b: print("GREATER") elif a==b: print("EQUAL") else: print("LESS")
s712923437
p03737
u426713196
1494513816
Python
Python (2.7.6)
py
Runtime Error
10
2568
130
s1 = int(raw_input()) s2 = int(raw_input()) if s1>s2: print "GREATER" elif s1 == s2: print "EQUAL" else: print "LESS"
s527433118
p03737
u426713196
1494513401
Python
Python (2.7.6)
py
Runtime Error
10
2568
80
a,b,c = input().split() re = a[0].upper() + b[0].upper() + c[0].upper() print re
s224576586
p03737
u426713196
1494513215
Python
Python (2.7.6)
py
Runtime Error
10
2568
101
strs = input() strs = strs.split() print strs[0][0].upper() + strs[1][0].upper() + strs[2][0].upper()
s512805777
p03737
u426713196
1494513041
Python
Python (2.7.6)
py
Runtime Error
11
2568
131
input = input() input = input.strip() input = input.split(" ") result = "" for i in input: result += i[0].upper() return result
s294064507
p03737
u426713196
1494512919
Python
Python (2.7.6)
py
Runtime Error
11
2568
210
import sys if __name__ == "__main__": input = sys.stdin.readline() input = input.strip() input = input.split(" ") result = "" for i in input: result += i[0].upper() return result
s102865045
p03737
u426713196
1494512651
Python
Python (2.7.6)
py
Runtime Error
10
2568
155
import sys input = sys.stdin.readline() input = input.strip() input = input.split(" ") result = "" for i in input: result += i[0].upper() return result
s002890418
p03737
u426713196
1494512550
Python
Python (2.7.6)
py
Runtime Error
11
2568
155
import sys input = sys.stdin.readline() input = input.strip() input = input.split(" ") result = "" for i in input: result += i[0].upper() return result
s095205743
p03737
u426713196
1494512203
Python
Python (2.7.6)
py
Runtime Error
10
2568
152
import sys input = sys.stdin.readline() input = input.srip() input = input.split(" ") result = "" for i in input: result += i[0].upper return result
s374397315
p03737
u878994868
1494500063
Python
Python (3.4.3)
py
Runtime Error
25
3064
114
line = raw_input("Enter text:") words = line.split() letters = [word[0] for word in words] print("".join(letters))
s329895030
p03737
u878994868
1494500020
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
# -*- coding: utf-8 -*- """ """ line= raw_input(" ") words=line.split() letters=[word[0]for word in words] print ("".join(letters))
s993254069
p03737
u878994868
1494499994
Python
Python (3.4.3)
py
Runtime Error
17
2940
184
# -*- coding: utf-8 -*- """ Created on Thu May 11 06:23:42 2017 @author: fujis """ line= raw_input(" ") words=line.split() letters=[word[0]for word in words] print ("".join(letters))
s245485683
p03737
u878994868
1494499888
Python
Python (3.4.3)
py
Runtime Error
18
2940
97
line=raw_input("") words=line.split() letters=[word[0]for word in words] print ("".join(letters))
s806060825
p03737
u878994868
1494499852
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
line= raw_input(" ") words=line.split() letters=[word[0]for word in words] print ("".join(letters))
s483088309
p03737
u878994868
1494499675
Python
PyPy2 (5.6.0)
py
Runtime Error
35
27884
93
line=input("") words=line.split() letters=[word[0]for word in words] print ("".join(letters))
s619546988
p03737
u878994868
1494499638
Python
Python (2.7.6)
py
Runtime Error
10
2568
93
line=input("") words=line.split() letters=[word[0]for word in words] print ("".join(letters))