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
s149889224
p02411
u671553883
1470114292
Python
Python3
py
Runtime Error
0
0
344
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') elif m + f == 60 < 80: print('B') elif m + f == 50 < 65: print('C') if m + f == 30 < 50: print('D') elif r <= 50: print('C') ...
s834798084
p02411
u671553883
1470114318
Python
Python3
py
Runtime Error
0
0
338
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') if m + f == 60 < 80: print('B') if m + f == 50 < 65: print('C') if m + f == 30 < 50: print('D') if r <= 50: print('C') else: ...
s624348976
p02411
u644636020
1470114371
Python
Python3
py
Runtime Error
0
0
399
while True: m, f, r = [int(i) for i in input().solit()] if m == f == r == -1: break if m == -1 or f == -1: print("F") if m + f >= 80: print("A") if 65 <= m + f < 80: print("B") if 50 <= m + f < 65: print("C") if 30 <= m + f < 50: print("D...
s822395683
p02411
u644636020
1470114443
Python
Python3
py
Runtime Error
0
0
420
while True: m, f, r = [int(i) for i in input().solit()] if m == f == r == -1: break if m == -1 or f == -1: print("F") if m + f >= 80: print("A") if 65 <= m + f < 80: print("B") if 50 <= m + f < 65: print("C") if 30 <= m + f < 50: print("D...
s628810249
p02411
u671553883
1470114510
Python
Python3
py
Runtime Error
0
0
344
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') elif m + f == 60 < 80: print('B') elif m + f == 50 < 65: print('C') if m + f == 30 < 50: print('D') elif r <= 50: print('C') ...
s139664790
p02411
u671553883
1470114590
Python
Python3
py
Runtime Error
0
0
368
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') elif m + f == 60 < m + f ==80: print('B') elif m + f == 50 < m + f ==65: print('C') if m + f == 30 < m + f ==50: print('D') elif r <= 50: ...
s514207317
p02411
u644636020
1470114595
Python
Python3
py
Runtime Error
0
0
423
while True: m, f, r = [int(i) for i in input().solit()] if m == f == r == -1: break if m == -1 or f == -1: print("F") if m + f >= 80: print("A") if 65 <= m + f < 80: print("B") if 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >...
s353808100
p02411
u671553883
1470114612
Python
Python3
py
Runtime Error
0
0
362
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') if m + f == 60 < m + f ==80: print('B') if m + f == 50 < m + f ==65: print('C') if m + f == 30 < m + f ==50: print('D') if r <= 50: ...
s839712168
p02411
u644636020
1470114645
Python
Python3
py
Runtime Error
0
0
433
while True: m, f, r = [int(i) for i in input().solit()] if m == f == r == -1: break elif m == -1 or f == -1: print("F") elif m + f >= 80: print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: ...
s400548851
p02411
u644636020
1470114676
Python
Python3
py
Runtime Error
0
0
421
while True: m, f, r = [int(i) for i in input().solit()] if m == f == r == -1: break elif m == -1 or f == -1: print("F") elif m + f >= 80: print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: ...
s169654168
p02411
u671553883
1470114705
Python
Python3
py
Runtime Error
0
0
368
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: print('A') if m + f <= 60 and m + f > 80: print('B') if m + f <= 50 and m + f > 65: print('C') if m + f <= 30 and m + f >50: print('D') if r <= 50: ...
s646068105
p02411
u498041957
1470114727
Python
Python3
py
Runtime Error
0
0
251
while True: if m == -1 or f == -1 or m + f < 30: print('F') elif m + f >= 80: print('A') elif m + f >= 65: print('B') elif m + f >= 50: print('C') elif m + f >= 30: print('C' if r >= 50 else 'D')
s610160867
p02411
u435917115
1470114744
Python
Python3
py
Runtime Error
0
0
424
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break elif m or f == -1: print('F') elif m + f >= 80: print('A') elif m + f >= 65 < 79: print('B') elif m + f >= 50 < 64: print('C') elif m + f >= 30 < 49: prin...
s376014471
p02411
u498041957
1470114785
Python
Python3
py
Runtime Error
0
0
251
while True: if m == -1 or f == -1 or m + f < 30: print('F') elif m + f >= 80: print('A') elif m + f >= 65: print('B') elif m + f >= 50: print('C') elif m + f >= 30: print('C' if r >= 50 else 'D')
s789656706
p02411
u644636020
1470114800
Python
Python3
py
Runtime Error
0
0
421
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break elif m == -1 or f == -1: print("F") elif m + f >= 80: print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: ...
s789974633
p02411
u435917115
1470114816
Python
Python3
py
Runtime Error
0
0
435
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break elif m or f == -1: print('F') elif m + f >= 80: print('A') elif m + f >= 65 < 79: print('B') elif m + f >= 50 < 64: print('C') elif m + f >= 30 < 49: prin...
s668632645
p02411
u671553883
1470114900
Python
Python3
py
Runtime Error
0
0
368
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: return 'A' if m + f <= 60 and m + f > 80: return 'B' if m + f <= 50 and m + f > 65: return 'C' if m + f <= 30 and m + f >50: return 'D' if r <= 50: ...
s029780199
p02411
u671553883
1470115002
Python
Python3
py
Runtime Error
0
0
368
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break if m + f <= 80: return 'A' if m + f <= 60 and m + f > 80: return 'B' if m + f <= 50 and m + f > 65: return 'C' if m + f <= 30 and m + f > 50: return 'D' if r <= 50: ...
s339405901
p02411
u204883389
1470115217
Python
Python3
py
Runtime Error
0
0
428
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break if (m == -1 or f == -1) or (m + f < 30): print("F") if m + f >= 80: print("A") if 65 <= m + f < 80: print("B") if 50 <= m + f < 65: print("C") if 30 <= m + f < 50...
s937562042
p02411
u600195957
1470115314
Python
Python3
py
Runtime Error
0
0
376
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break elif m or f == -1: return F elif m + f >= 80: print("A") elif 65 <= m+f < 80: print("B") elif 50 <= m+f < 65: print("C") elif 30 <= m+f < 50: if r >= 50: print("C") ...
s410374641
p02411
u600195957
1470115338
Python
Python3
py
Runtime Error
0
0
385
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break elif m or f == -1: return F elif m + f >= 80: print("A") elif 65 <= m+f < 80: print("B") elif 50 <= m+f < 65: print("C") elif 30 <= m+f < 50: if r >= 50: print("C") ...
s895162253
p02411
u671553883
1470116486
Python
Python3
py
Runtime Error
0
0
315
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') else: print('A')
s120467080
p02411
u085472528
1470116502
Python
Python3
py
Runtime Error
0
0
346
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') ...
s207668827
p02411
u671553883
1470116534
Python
Python3
py
Runtime Error
0
0
355
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') ...
s477281987
p02411
u382316013
1470116563
Python
Python3
py
Runtime Error
0
0
305
while True: m, f, r = [int(i) for i in input().split] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') else: print('A')
s286996862
p02411
u671553883
1470116602
Python
Python3
py
Runtime Error
0
0
366
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65 or r > 50: print('C') elif total < 80: pri...
s583721514
p02411
u757827098
1470116610
Python
Python3
py
Runtime Error
0
0
336
while True: m,f,r =[int(i) for i in input().split()] if m == f == r ==-1: break total =m+f if m ==-1 or f == -1 or total <30: print("F") elif total < 50 and r < 50: print("D") elif total <65 print("C") elif total <80: pirnt("B") else: ...
s359174066
p02411
u671553883
1470116622
Python
Python3
py
Runtime Error
0
0
367
while True: m, f, r = [int(i) for i in input().split()] if m == f ==r -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65 or r >= 50: print('C') elif total < 80: pr...
s511455566
p02411
u382316013
1470116723
Python
Python3
py
Runtime Error
0
0
337
while True: m, f, r = [int(i) for i in input().split] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') else: ...
s885843149
p02411
u661284763
1470116754
Python
Python3
py
Runtime Error
0
0
359
while True: m, f, r = [int(i) for i in input().split()] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total< 30: print('F') elif total < 50 anfd r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B'...
s679194187
p02411
u382316013
1470116835
Python
Python3
py
Runtime Error
0
0
341
while True: m, f, r = [int(i) for i in input().split] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') els...
s546109669
p02411
u382316013
1470116870
Python
Python3
py
Runtime Error
0
0
342
while True: m, f, r = [int(i) for i in input().split] if m == f == r == -1: break total = m + f if m == -1 or f == -1 or total < 30: print('F') elif total < 50 and r < 50: print('D') elif total < 65: print('C') elif total < 80: print('B') el...
s793195230
p02411
u587193722
1470151031
Python
Python3
py
Runtime Error
20
7668
841
date=[[],[],[]] a,b,c=0,0,0 while True: if a < 0 and b < 0 and c < 0: break else: a,b,c =[int(i) for i in input().split()] date[0].append(a) date[1].append(b) date[2].append(c) for h in range(0,len(date[0])-1): if date[0][h] == -1 or date[1][h] == -1: print("F") elif date...
s884619650
p02411
u831244171
1477544714
Python
Python
py
Runtime Error
0
0
306
n,m = map(int,raw_input().split()) A = [[0 for i in range(m)] for i in range(n)] B = [ 0 for i in range(m)] for i in range(n): A[i] = map(int,raw_input().split()) for i in range(m): B[i] = input() for i in range(n): sum = 0 for j in range(m): sum += A[i][j] * B[j] print sum
s044051396
p02411
u660912567
1478700414
Python
Python3
py
Runtime Error
20
7692
311
while True: points = list(map(int,input().split())) if points==[-1,-1,-1]: break sum_pt = sum(points[0:2]) if points[0]==-1 or points[1]==-1 or sum_pt<30: print('F') elif sum_pt<50 and point[2]<50: print('D') elif sum_pt<65: print('C') elif sum_pt<80: print('B') else: print('A')
s914356298
p02411
u546285759
1479974583
Python
Python3
py
Runtime Error
0
0
381
while True: m, f, r = map(int, input().split()) if (m, f, r) = (-1, -1, -1): break if m+f >= 80: print("A") elif m+f >= 65 and m+f < 80: print("B") elif m+f >= 50 and m+f < 65: print("C") elif m+f >= 30 and m+f < 50: if r >= 50: print("C") ...
s521990304
p02411
u494314211
1481440459
Python
Python3
py
Runtime Error
0
0
288
while(True) m,f,r=list(map(int,input().split())) if m==-1 and f==-1 and r==-1: break if m==-1 or f==-1: print("F") elif m+f>=80: print("A") elif m+f>=65: print("B") elif m+f>=50: print("C") elif m+f>=30: if r>=50: print("C") else: print("D") else: print("F")
s281354530
p02411
u144068724
1486232805
Python
Python3
py
Runtime Error
0
0
401
while(1): m,f,r = map(int,input().split()) if (m == -1 or f == -1) or m + f < 30: print("F") elif 80 <= m + f : print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >= 50: print("C") els...
s136711935
p02411
u144068724
1486232826
Python
Python3
py
Runtime Error
0
0
400
while 1: m,f,r = map(int,input().split()) if (m == -1 or f == -1) or m + f < 30: print("F") elif 80 <= m + f : print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >= 50: print("C") else...
s758345191
p02411
u144068724
1486233248
Python
Python3
py
Runtime Error
0
0
406
while 1: m,f,r = map(int,input().split()) if m == -1 or f == -1 or m + f < 30: print("F") elif 80 <= m + f : print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >= 50: print("C") el...
s116591714
p02411
u144068724
1486233355
Python
Python3
py
Runtime Error
0
0
402
while 1: m,f,r = map(int,input().split()) if m == -1 or f == -1 or m + f < 30: print("F") elif 80 <= m + f : print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >= 50: print("C") el...
s640912811
p02411
u144068724
1486233497
Python
Python3
py
Runtime Error
0
0
402
while 1: m,f,r = map(int,input().split()) if m == -1 or f == -1 or m + f < 30: print("F") elif 80 <= m + f : print("A") elif 65 <= m + f < 80: print("B") elif 50 <= m + f < 65: print("C") elif 30 <= m + f < 50: if r >= 50: print("C") el...
s035197160
p02411
u307520683
1486381679
Python
Python
py
Runtime Error
0
0
580
while 1: m,f,r=map(int,raw_input().split()) #m:Midterm exam f:final exam r:Retest score=m+f if m == -1 or f == -1 : print 'F' if r == -1 : break else : if score >= 80: print 'A' else: if score >= 65: print 'B' ...
s716097714
p02411
u307520683
1486381743
Python
Python
py
Runtime Error
0
0
580
while 1: m,f,r=map(int,raw_input().split()) #m:Midterm exam f:final exam r:Retest score=m+f if m == -1 or f == -1 : print 'F' if r == -1 : break else : if score >= 80: print 'A' else: if score >= 65: print 'B' ...
s175751234
p02411
u307520683
1486381825
Python
Python
py
Runtime Error
0
0
579
while 1: m,f,r=map(int,raw_input().split()) #m:Midterm exam f:final exam r:Retest score=m+f if m == -1 or f == -1 if r == -1 : break else: print 'F' else : if score >= 80: print 'A' else: if score >= 65: print 'B' ...
s840969211
p02411
u104171359
1486535407
Python
Python3
py
Runtime Error
0
0
660
#!usr/bin/env python3 import sys def main(): while True: # m, f, r = [int(score) for score in sys.stdin.readline().split()] m, f, r = [int(score) for score in lines.split()] if m == f == r == -1: break if m == -1 or f == -1: print('F') elif m+f >= 8...
s009587067
p02411
u130834228
1489044051
Python
Python3
py
Runtime Error
0
0
314
while(1): m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break if m == -1 or f = -1: print("f") elif m + f >= 80: print("A") elif m + f >= 65: print("B") elif m + f >= 50: print("C") elif m + f >= 30: if r >= 50: print("C") else: print("D") else: print("F")
s687827326
p02411
u130834228
1489044069
Python
Python3
py
Runtime Error
0
0
314
while(1): m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break if m == -1 or f = -1: print("f") elif m + f >= 80: print("A") elif m + f >= 65: print("B") elif m + f >= 50: print("C") elif m + f >= 30: if r >= 50: print("C") else: print("D") else: print("F")
s438766373
p02411
u130834228
1489044153
Python
Python3
py
Runtime Error
0
0
314
while(1): m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break if m == -1 or f = -1: print("F") elif m + f >= 80: print("A") elif m + f >= 65: print("B") elif m + f >= 50: print("C") elif m + f >= 30: if r >= 50: print("C") else: print("D") else: print("F")
s877534559
p02411
u130834228
1489044296
Python
Python3
py
Runtime Error
0
0
314
while(1): m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break if m == -1 or f = -1: print('F') elif m + f >= 80: print('A') elif m + f >= 65: print('B') elif m + f >= 50: print('C') elif m + f >= 30: if r >= 50: print('C') else: print('D') else: print('F')
s097009705
p02411
u208157605
1491604693
Python
Python3
py
Runtime Error
30
7532
434
pupils = [] while True: l = list(map(int, input().split())) if sum(l) == -3: break pupils.append(l) for pupil in pupils: score = pupil[0] + pupil[1] if pupil[0] == -1 or pupil[1] == -1: rank = 'F' elif score >= 80: rank = 'A' elif score >= 65: rank = 'B' ...
s335128156
p02411
u045778101
1496152053
Python
Python
py
Runtime Error
0
0
397
while True: m, f, r = map(int, raw_input().split()) if m == -1 and f == -1 and r == -1: break elif m == -1 or f == -1: print "F" elif m + f >= 80: print "A"a elif m + f >= 65: print "B" elif m + f >= 50: print "C" elif m + f >= 30 and f >= 50: ...
s627122789
p02411
u580737984
1498544690
Python
Python3
py
Runtime Error
0
0
477
while True: numlist = list(int(i) for i in input().split()) mid = numlist[0] final = numlist[1] retest = numlist[2] sum = mid + final if mid == -1 or final == -1: print("F") elif mid == -1 and final == -1 and retest == -1: break elif sum >= 80: print("A") elif 80 > sum >= 65: print("B") elif 65 ...
s379206805
p02411
u580737984
1498544776
Python
Python3
py
Runtime Error
0
0
473
while True: numlist = list(int(i) for i in input().split()) mid = numlist[0] final = numlist[1] retest = numlist[2] sum = mid + final if mid == -1 or final == -1: print("F") elif mid == -1 and final == -1 and retest == -1: break elif sum >= 80: print("A") elif 80 > sum >= 65: print("B") elif 65 > su...
s419013720
p02411
u853619096
1502850274
Python
Python3
py
Runtime Error
0
0
382
while True: m,f,r=map(int,input().split()) if m==-1 and f==-1 and r==-1: break elif m==-1 or f==-1: print('F') elif m+f>=80: print("A") elif m+f>=65: print("B") elif m+f>=50 or (r>=50 and m+f>=30: print('C') elif m+f>=30: print("D") ...
s323530006
p02411
u283452598
1503192522
Python
Python3
py
Runtime Error
0
0
396
while True: if input()=="-1 -1 -1": break points = list(map(int,input().split())) gou = points[0] + points[1] if gou >= 80: print("A") elif 65 <= gou < 80: print("B") elif 50 <= gou < 65: print("C") elif 30 <= gou < 50: if points[2] >= 50: ...
s006611322
p02411
u283452598
1503192836
Python
Python3
py
Runtime Error
0
0
463
while True: points = list(map(int,input().split())) if points == [-1,-1,-1]: break gou = points[0] + points[1] if -1 in points[0] or -1 in points[1]: print("F") elif gou >= 80: print("A") elif 65 <= gou < 80: print("B") elif 50 <= gou < 65: print("C"...
s523279310
p02411
u597198969
1503665859
Python
Python3
py
Runtime Error
20
7608
417
while(True): m,f,r = [int(i) for i in input().split()] if(m == -1 and f == -1 and r == -1): break if(m == -1 or f == -1): print('F') elif(m + f >= 80): print('A') elif(65 <= m + f <= 80): prin('B') elif(50 <= m + f <= 65): print('C') elif(30 <= m + f <...
s610609838
p02411
u933096856
1505661332
Python
Python
py
Runtime Error
0
0
301
while True: m,f,r=map(raw_int, input().split()) s=m+f if m==-1 and f==-1 and r==-1: break elif m==-1 or f==-1 or s <30: print 'F' elif s <50 and r <50: print 'D' elif s <65: print 'C' elif s <80: print 'B' else: print 'A'
s058625551
p02411
u362494298
1505969149
Python
Python3
py
Runtime Error
0
0
249
While 1: m,f,r=map(int,input().split()) if m==f==r==-1:break if m+f >= 80:print('A') elif m+f >= 65:print('B') elif m+f >= 50:print('C') elif m+f >= 30: if r > 50:print('C') else:print('D') else:print('F')
s919533725
p02411
u362494298
1505969444
Python
Python3
py
Runtime Error
0
0
251
While 1: m,f,r=map(int,input().split()) if m==f==r==-1:break a=m+f if a >= 80:print('A') elif a >= 65:print('B') elif a >= 50:print('C') elif a >= 30: if r > 50:print('C') else:print('D') else:print('F')
s500964111
p02411
u362494298
1505969662
Python
Python3
py
Runtime Error
0
0
254
While True: m,f,r=map(int,input().split()) if m==f==r==-1:break a=m+f if a >= 80:print('A') elif a >= 65:print('B') elif a >= 50:print('C') elif a >= 30: if r > 50:print('C') else:print('D') else:print('F')
s997415770
p02411
u362494298
1505969778
Python
Python3
py
Runtime Error
0
0
255
While True: m,f,r=map(int,input().split()) if m==f==r==-1:break a=m+f if a >= 80:print('A') elif a >= 65:print('B') elif a >= 50:print('C') elif a >= 30: if r >= 50:print('C') else:print('D') else:print('F')
s995402502
p02411
u362494298
1505969892
Python
Python3
py
Runtime Error
0
0
287
While 1: m,f,r=map(int,input().split()) if m==f==r==-1:break a=m+f if m==-1 or f==-1:print('F') elif a >= 80:print('A') elif a >= 65:print('B') elif a >= 50:print('C') elif a >= 30: if r >= 50:print('C') else:print('D') else:print('F')
s015902396
p02411
u362494298
1505969927
Python
Python3
py
Runtime Error
0
0
290
While True: m,f,r=map(int,input().split()) if m==f==r==-1:break a=m+f if m==-1 or f==-1:print('F') elif a >= 80:print('A') elif a >= 65:print('B') elif a >= 50:print('C') elif a >= 30: if r >= 50:print('C') else:print('D') else:print('F')
s894100421
p02411
u973998699
1507716345
Python
Python3
py
Runtime Error
0
0
406
#! /usr/bin/env python # -*- coding : utf-8 -*- while True: m, f, r = map(int,input().split()) if m + f >= 80: print("A") elif m + f >= 65 and m + f < 80: print("B") elif m + f >= 50 and m + f < 65: print("C") elif m + f >= 30 and m + f < 50: if r >= 50: p...
s272598817
p02411
u518939641
1510232453
Python
Python3
py
Runtime Error
0
0
203
while True: m,f,r=list(map(int,input())) if m==f==r==-1: break s=m+r print('F' if m*f<0 or s<30 else 'D' if 30<=s<50 and r<50 else 'C' if 50<=s<65 or m>=50 else 'B' if 65<=s<80 else 'A')
s231123667
p02411
u298999032
1511155513
Python
Python3
py
Runtime Error
0
0
225
m,f,r=map(int,input().split()) if m==-1 or f==-1 or m+f<30: print('F') elif m==f==r==-1: break elif m+f>=80: print('A') elif 65<=m+f<80: print('B') elif 50<=m+f<65 or r>=50: print('C') else: print('D')
s161307608
p02411
u661529494
1512523139
Python
Python3
py
Runtime Error
0
0
222
if m==f==r==-1: break else: if m==-1 or f==-1 or m+f<30: print('F') elif m+f>=80: print('A') elif 80>m+f>=65: print('B') elif (65>m+f>=50) or (50>m+f>=35 and r>=50): print('C') else: print('D')
s621376978
p02411
u150984829
1513462960
Python
Python3
py
Runtime Error
0
0
192
while 1: m,f,r=map(int,input().split());s=m+f if m*f<-1:break if m==-1 or f==-1 or s<30:print('F') elif s>79:print('A') elif s>64:print('B') elif s>49 or r>49:print('C') else:print('D')
s682964859
p02411
u613534067
1520306513
Python
Python3
py
Runtime Error
0
0
439
while True: m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break elif m == -1 or f == -1: grade = "F" elif (m + f) => 80: grade = "A" elif (m + f) => 65: grade = "B" elif (m + f) => 50: grade = "C" elif (m + f) => 30: i...
s288056389
p02411
u613534067
1520306548
Python
Python3
py
Runtime Error
0
0
439
while True: m, f, r = map(int, input().split()) if m == -1 and f == -1 and r == -1: break elif m == -1 or f == -1: grade = "F" elif (m + f) >= 80: grade = "A" elif (m + f) => 65: grade = "B" elif (m + f) => 50: grade = "C" elif (m + f) => 30: i...
s946746570
p02411
u641357568
1521258772
Python
Python3
py
Runtime Error
0
0
672
import sys while True: n = sys.stdin.readline()[:-1] if n = '-1 -1 -1': break marks = [ int(m) for m in n.split() ] mt_points,retest = marks[0] + marks[1],marks[2] if -1 in marks[:-1]: print('F') continue elif mt_points >= 80: print('A') continue ...
s522561655
p02411
u886729200
1522810037
Python
Python3
py
Runtime Error
0
0
545
m = [] f = [] r = [] while(True): M,F,R=map(int,input().split()) if M == -1 and F == -1 and R == -1: break else: m.append(M) f.append(F) r.append(R) for i in range(len(m)): if (m == -1 or f ==-1) or m+f<30: print("F") elif m+f>=80: print("A") elif ...
s420763741
p02411
u886729200
1522810640
Python
Python3
py
Runtime Error
20
5592
520
m = [] f = [] r = [] while(True): M,F,R=map(int,input().split()) if M == -1 and F == -1 and R == -1: break else: m.append(M) f.append(F) r.append(R) for i in range(len(m)): score = m[i]+f[i] if (m[i] == -1 or f[i] ==-1) or score<30: print("F") elif score>=...
s132543195
p02411
u589139267
1524652266
Python
Python3
py
Runtime Error
0
0
415
while True: m, f, r = map(int, input().split()) if m+f+r = -3: break S = m + f if S >= 80: print("A") elif S >= 65 and S < 80: print("B") elif S >= 50 and S < 65: print("C") elif S >= 30 and S < 50: if m == -1 or f == -1: print("F") else: if r >...
s169600896
p02411
u589139267
1524652908
Python
Python3
py
Runtime Error
0
0
383
while True: m, f, r = map(int, input().split()) if m+f+r = -3: break if m == -1 or f == -1: print("F") S = m + f if S >= 80: print("A") elif S >= 65 and S < 80: print("B") elif S >= 50 and S < 65: print("C") elif S >= 30 and S < 50: if r >= 50: print(...
s021001904
p02411
u592529978
1525747886
Python
Python
py
Runtime Error
0
0
284
while True: m,f,r = map(int, raw_input().split()) m+f = s if m==-1 and f==-1 and r ==-1 : break elif m==-1 or f==-1 or r<30 : g=4 elif 30 <= s and s <50 : if r <= 50: g=2 else g=3 elif 50 <=s and s <65 : g=2 elif 65 <=s and s<70 : g=1 else: g=0 print 'ABCDF'[g]
s540284034
p02411
u592529978
1525747970
Python
Python
py
Runtime Error
0
0
285
while True: m,f,r = map(int, raw_input().split()) m+f = s if m==-1 and f==-1 and r ==-1 : break elif m==-1 or f==-1 or r<30 : g=4 elif 30 <= s and s <50 : if r <= 50: g=2 else : g=3 elif 50 <=s and s <65 : g=2 elif 65 <=s and s<70 : g=1 else: g=0 print 'ABCDF'[g]
s832226166
p02411
u592529978
1525752380
Python
Python
py
Runtime Error
0
0
342
while True: m,f,r = map(int, raw_input().split()) m+f = s if m==-1 and f==-1 and r ==-1 : break elif m==-1 or f==-1 or r<30 : g=4 elif 30 <= s and s <50 : if r <= 50: g=2 else : g=3 elif 50 <=s and s <65 : g=2 elif 65 <=s and s<70 : g=1 else: g=0 ...
s924344828
p02411
u007066325
1527474010
Python
Python3
py
Runtime Error
0
0
355
while True: m,f,r = map(int, input().split()) if m==f==r==-1: break if m ==-1 or f == -1: print(F) elif (m+f) <=80: print(A) elif (m+f) <=65: print(B) elif (m+f) <=50: print(C) elif( m+f)<=30 and r <=50: print(C) elif ( m+f)<=30: pr...
s633605329
p02411
u092736322
1528860272
Python
Python3
py
Runtime Error
20
5588
400
while 1: k=input().split() a=int(k[0]) b=int(k[1]) c=int(k[2]) if a==-1 and (b==-1 and c==-1): break if a<0 or b<0: ptint("F") elif a+b<30: print("F") elif a+b<50: if c>=50: print("C") else: print("D") elif a+b<65: ...
s912833652
p02411
u500257793
1528968904
Python
Python3
py
Runtime Error
0
0
267
while True: m,f,r=map(int,input().split()) g=m+f if m==-1 and f==-1 and r==-1: break elif m==-1 or g==-1 or g>30: print("F") elif g>=80: print("A") elif 65<=g<80: print("B") elif 50<=g<65 or 30<=g<50 and r>=50: print("C") elif 30<=g<50 print("D")
s926042970
p02411
u904989881
1391775394
Python
Python
py
Runtime Error
0
0
297
while 1: m, f, r = raw_input().split() sum = m + f if sum == -2: break elif min(m, f) == -1: print 'F' elif sum > 80: print 'A' elif sum > 65: print 'B' elif sum > 50: print 'C' elif sum > 30: if r > 50: print 'C' else: print 'D' else: print 'F'
s802552088
p02411
u633068244
1393326108
Python
Python
py
Runtime Error
0
0
374
while True: m, f, r = map(int, raw_input().split()) if m+f+r == -3: break if m == -1 or f == -1: print "F" elif m+f >= 80: print "A" elif m+f >= 65: print "B" elif m+f >= 50: print "C" elif m+f >= 30 if r >= 50: print "C" e...
s527797297
p02412
u539753516
1531241223
Python
Python3
py
Runtime Error
0
0
148
while True: n,x=map(int, input().split()) if n==x==0:break c=0 for i in range(math.ceil(n/3),n+1): c+=(n-i)//2 print(c)
s500023158
p02412
u539753516
1531241378
Python
Python3
py
Runtime Error
0
0
148
while True: n,x=map(int, input().split()) if n==x==0:break c=0 for i in range(math.ceil(n/3),n+1): c+=(n-i)//2 print(c)
s958885600
p02412
u962560616
1540456311
Python
Python3
py
Runtime Error
0
0
272
while True: cou = 0 n,x = map(int,intput().split()) if n==0 and x==0: break for i in range(1,x): for j in range(j,x): k = x - i - j if i<=n and j<=n and k<=n: cou += 1 print(cou)
s682183495
p02412
u962560616
1540456326
Python
Python3
py
Runtime Error
0
0
271
while True: cou = 0 n,x = map(int,input().split()) if n==0 and x==0: break for i in range(1,x): for j in range(j,x): k = x - i - j if i<=n and j<=n and k<=n: cou += 1 print(cou)
s509512921
p02412
u277375424
1541078586
Python
Python3
py
Runtime Error
0
0
278
while True: n,x = map(int,input().split()) if n == x == 0: break d = o for i in range(1,n+1): for j in range(i+1,n+1): k = x-(i+j) if k >= 1 and k<= n and k > j: d += 1 print(d)
s546850812
p02412
u498462680
1546407386
Python
Python3
py
Runtime Error
0
0
1176
while True: combNum = 0 calcResult = 0 numList1 = list(range(1,n+1,1)) numList2 = list(range(1,n+1,1)) numList3 = list(range(1,n+1,1)) n,x = map(int, input().split()) if n is x is 0: break else: for index1 in range(n): for index2 in range(n): f...
s891446201
p02412
u498462680
1546407406
Python
Python3
py
Runtime Error
0
0
1180
while True: combNum = 0 calcResult = 0 numList1 = list(range(1,n+1,1)) numList2 = list(range(1,n+1,1)) numList3 = list(range(1,n+1,1)) n,x = map(int, input().split()) if n is x is 0: break else: for index1 in range(n): for index2 in range(n): f...
s052534457
p02412
u498462680
1546407626
Python
Python3
py
Runtime Error
0
0
1286
combNum = [0]*100 resultNum = 0 while True: calcResult = 0 numList1 = list(range(1,n+1,1)) numList2 = list(range(1,n+1,1)) numList3 = list(range(1,n+1,1)) n,x = map(int, input().split()) if n is x is 0: break else: for index1 in range(n): for index2 in range(n): ...
s550783624
p02412
u498462680
1546407656
Python
Python3
py
Runtime Error
0
0
1287
combNum = [0]*100 resultNum = 0 while True: calcResult = 0 numList1 = list(range(1,n+1,1)) numList2 = list(range(1,n+1,1)) numList3 = list(range(1,n+1,1)) n,x = map(int, input().split()) if n is x is 0: break else: for index1 in range(n): for index2 in range(n): ...
s337210908
p02412
u498462680
1546407879
Python
Python3
py
Runtime Error
0
0
1306
combNum = [0]*100 inNum = 0 while True: calcResult = 0 numList1 = list(range(1,n+1,1)) numList2 = list(range(1,n+1,1)) numList3 = list(range(1,n+1,1)) n,x = map(int, input().split()) if n is x is 0: break else: for index1 in range(n): for index2 in range(...
s148134613
p02412
u902639104
1551389686
Python
Python3
py
Runtime Error
0
0
247
while True: n,x=map(int,input().split()) if n=0 and x=0:break ans =0 for a in range(1,n+1): for b in range(1,n+1): if b<=a:continue c=x-(a+b) if c>b and c<=n:ans+1 print("%d"%(ans))
s734455421
p02412
u902639104
1551389799
Python
Python3
py
Runtime Error
0
0
248
while True: n,x=map(int,input().split()) if n=0 and x=0:break ans =0 for a in range(1,n+1): for b in range(1,n+1): if b<=a:continue c=x-(a+b) if c>b and c<=n:ans+=1 print("%d"%(ans))
s300680900
p02412
u902639104
1551390779
Python
Python3
py
Runtime Error
0
0
207
while True: n,x=map(int,input().split()) if n==0 and x==0:break for i in range(1,n+1): for j in range(1,i): for k in range(1,j): if i+j+k==x:a+=1 print(a)
s601776671
p02412
u902639104
1551390883
Python
Python3
py
Runtime Error
0
0
207
while True: n,x=map(int,input().split()) if n==0 and x==0:break for i in range(1,n+1): for j in range(1,i): for k in range(1,j): if i+j+k==x:a+=1 print(a)
s679211988
p02412
u902639104
1551391044
Python
Python3
py
Runtime Error
0
0
208
while True: n,x=map(int,input().split()) if n==0 and x==0:break for i in range(1,n+1): for j in range(1,i): for k in range(1,j): if i+j+k==x:a+=1 print(a)