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
s131056792
p03635
u347600233
1591155388
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
n, m = map(int, input()) print((n - 1) * (m - 1))
s244040868
p03635
u347600233
1591155356
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
n, ma = map(int, input()) print((n - 1) * (m - 1))
s086331113
p03635
u088751997
1590982331
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a,b=map(int,input.split()) print((a-1)*(b-1))
s416039994
p03635
u088751997
1590982289
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
a,b=map(int,input()) print((a-1)*(b-1))
s441766287
p03635
u611090896
1590141426
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
n,m = map(int,input().split()) pritn(n+m-1)
s646182049
p03635
u611090896
1590141314
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
n = int(input()) m = int(input()) print(n+m-1)
s001407904
p03635
u611090896
1590141268
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n = int(input()) m = int(input()) print(n*m - 1)
s134124629
p03635
u247211039
1589677509
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
n = int(input()) m = int(input()) print((n-1)*(m-1))
s708825400
p03635
u247211039
1589677434
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
n = int(input()) m = int(input()) print((n -1 )*(m - 1))
s073215430
p03635
u039192119
1589399604
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n=int(input()) m=int(input()) print((m-1)*(n-1))
s556785129
p03635
u887147934
1589355756
Python
Python (3.4.3)
py
Runtime Error
18
2940
55
m,n=[int(input()) for i in range(2)] print((m-1)*(n-1))
s421580747
p03635
u675073679
1588945230
Python
Python (3.4.3)
py
Runtime Error
17
2940
263
#def main(): #文字列を受け取る s = input() #replaceで文字列を置き換え print(s.replace('2017', '2018', 1)) #置き換え回数も指定できる。今回は必要なさそうだけど '''if __name__ == '__main__': main()
s467561275
p03635
u675073679
1588944825
Python
Python (3.4.3)
py
Runtime Error
18
2940
99
def main(): s = input() print(s[0] + str(len(s)-2) + s[-1]) if __name__ == '__main__': main()
s544678435
p03635
u821775079
1588450181
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
n,m=int(input().split()) print((n-1)*(m-1))
s886407394
p03635
u600261652
1588384194
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
n, m = input().split() print((n-1)*(m-1))
s517122089
p03635
u531599639
1587658369
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
s=input() print(s[0]+str(len(s)-2)+s[len(s-2)])
s044378970
p03635
u166849422
1587582496
Python
Python (3.4.3)
py
Runtime Error
18
2940
37
n,m = int(input()) print((n-1)*(m-1))
s500582724
p03635
u252964975
1587265964
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b=map(int, input().split()) print((a-1)*(B-1))
s292159200
p03635
u550535134
1587225766
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a, b = int(input().split()) print((a-1)*(b-1))
s447522574
p03635
u670180528
1587172780
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
n,m=map(int,input().split()) prnt((n-1)*(m-1))
s604408618
p03635
u645250356
1587171665
Python
Python (3.4.3)
py
Runtime Error
39
5248
344
from collections import Counter,defaultdict,deque from heapq import heappop,heappush,heapify import sys,bisect,math,itertools,fractions,pprint sys.setrecursionlimit(10**8) mod = 10**9+7 INF = float('inf') def inp(): return int(sys.stdin.readline()) def inpl(): return list(map(int, sys.stdin.readline().split())) n,m = ...
s118751290
p03635
u787449825
1587100338
Python
Python (3.4.3)
py
Runtime Error
17
3064
51
n. m = map(int, input().split()) print((n-1)*(m-1))
s515677642
p03635
u457957084
1586915695
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
n, m = int(input().split()) print(int((n - 1) * (m - 1)))
s154636613
p03635
u964007550
1586717819
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
n, m = map(int(input().split())) print((n - 1) * (m - 1))
s356392545
p03635
u852790844
1586660957
Python
Python (3.4.3)
py
Runtime Error
18
2940
62
n, m = map(int, input().split()) ans = (n-1)*(m-1) print(ans))
s918073280
p03635
u852790844
1586660933
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
n, m = map(int, iput().split()) ans = (n-1)*(m-1) print(ans))
s213236793
p03635
u996665352
1586476414
Python
Python (3.4.3)
py
Runtime Error
17
2940
21
print(int(input())*2)
s397131163
p03635
u745562158
1586275495
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
n = int(input()) m = int(input()) print((n - 1) * (m - 1))
s470736261
p03635
u535659144
1586045429
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
a,b=map(int,input().split) print((a-1)*(b-1))
s574039424
p03635
u443972048
1585188001
Python
Python (3.4.3)
py
Runtime Error
18
2940
78
s=input() n=s.split(" ")[0] m=s.split(" ")[1] n=n-1 m=m-1 r=n*m print(m)
s531527384
p03635
u443972048
1585187916
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
s=input() n=s.split(" ")[0] m=s.split(" ")[1] n=n-1 m=m-1 r=n*m print(m)
s632993130
p03635
u443972048
1585187777
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
s=input() n=s.split(" ")[0] m=s.split(" ")[1] n=n-1 m=m-1 r=n*m print(m)
s900656785
p03635
u024782094
1584826902
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
a,b=map(int,input().sprit()) print((a-1)*(b-1))
s007473527
p03635
u332253305
1584331266
Python
Python (3.4.3)
py
Runtime Error
19
2940
43
n,m=int(input().split()) print((n-1)*(m-1))
s039342452
p03635
u291628833
1584249119
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38460
42
a,b = map(int,input()) print((a-1)*(b-1))
s364784846
p03635
u699944218
1583704968
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
s = input() a = len(s)-2 print(s[0]+a+s[len(s)-1])
s251296992
p03635
u346677493
1583683145
Python
Python (2.7.6)
py
Runtime Error
10
2568
33
n=input() m=input() print (n*m)/2
s859262805
p03635
u743614777
1583549650
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
print((int(input())-1)*(int(input())-1))
s955494735
p03635
u107269063
1583377212
Python
Python (3.4.3)
py
Runtime Error
19
3188
298
N = int(input()) l = list(map(int,input().split())) num_odd = 0 num_even = 0 num_four = 0 for i in l: if i % 4 == 0: num_four += 1 elif i % 2 == 0: num_even += 1 else: num_odd += 1 if num_four <= num_odd + 2: ans = "No" else: ans = "Yes" print(ans)
s722558440
p03635
u723721005
1583025550
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a=input() b=input() print (a-1)*(b-1)
s473975785
p03635
u256833330
1583010588
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
n = int(input()) m = int(input()) print((n-1)*(m-1))
s830705415
p03635
u139112865
1582958785
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
#069_A n,m=map(input().split()) print((n-1)*(m-1))
s891900896
p03635
u281610856
1582755484
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
n, m = map(int,input().split()) if n <= 1 or m <= 1: print(0) else: print((n-1) * (m-1)
s920711980
p03635
u476418095
1582420694
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a,b=map(int,input()) print((a-1)*(b-1))
s487141574
p03635
u247366051
1582420625
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a=int(input().split()) print((a[0]-1)*(a[1]-1))
s045947716
p03635
u537962130
1582229201
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38256
47
n,m=map(int(input().split()) print((n-1)*(m-1))
s849544489
p03635
u186838327
1582112171
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38640
263
h, w = map(int, input().split()) n = int(input()) l = list(map(int, input().split())) ans = [] for i in range(n): ans += [i+1]*l[i] for i in range(h): temp = ans[i*w:(i+1)*w] if i%2 == 0: print(*temp) else: temp = reversed(temp) print(*temp)
s170991387
p03635
u757030836
1581809229
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
s = input() a = s[0] b =len(s)-2 c = s[-1] print(a+b+c)
s913999174
p03635
u757030836
1581809124
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
s = input() a = s[0] b =len(s[1:len(s)-1]) c = s[-1] print(a+b+c)
s635344594
p03635
u133936772
1581602195
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
print((int(input())-1)*(int(input())-1))
s721679726
p03635
u287880059
1580622693
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
n,m=int(input().split()) print((n-1)*(m-1))
s048111630
p03635
u686036872
1578989254
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
A, B =map(int, input().split()) print(max((A-1)*(B-1)))
s079197253
p03635
u796877631
1578963153
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n=int(input()) m=int(input()) print((n-1)*(m-1))
s384935935
p03635
u450983668
1578539046
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
n, m = int(input()) print((n-1)*(m-1))
s628385767
p03635
u823044869
1578430984
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
n, m = map(int,input()) print((n-1)*(m-1))
s772588511
p03635
u056599756
1578005217
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
m=int(input()) n=int(input()) print((m-1)*(n-1))
s869014944
p03635
u800507623
1577672474
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
m,n=int(input().split()) print((m-1)*n)
s230556747
p03635
u800507623
1577672428
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
m,n=int(input().slide()) print((m-1)*n)
s140159281
p03635
u800507623
1577672377
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
m,n=input().slide() x=(m-1)n print(x)
s912339511
p03635
u800507623
1577672276
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
n,m=int(input()).slide() print((m-1)n)
s022852404
p03635
u185037583
1577626567
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
print((int(input())-1)*(int(input())-1))
s979649660
p03635
u972892985
1577128541
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
s = str(input()) print(s[0]+len(s)+s[-1])
s647466267
p03635
u972892985
1577128519
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
s = input() print(s[0]+len(s)+s[-1])
s506399775
p03635
u140480594
1576786750
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
print((int(input()) - 1) * (int(input()) - 1))
s328216231
p03635
u140480594
1576786707
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
print(int(input() - 1) * int(input() - 1))
s974763773
p03635
u417014669
1576590519
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b=str(int,input().split()) print((a-1)*(b-1))
s923741026
p03635
u477343425
1576174847
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
a, b = int(input().split()) print((a-1) * (b - 1))
s938335818
p03635
u972892985
1575864335
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
n,m = (int, input().split()) print((n-1)*(m-1))
s833437919
p03635
u972892985
1575864245
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
n,m = (int(input()).split()) print((n-1)*(m-2))
s234326497
p03635
u972892985
1575863903
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
n = int(input()) m = int(input()) print((n-1)*(m-1))
s943122179
p03635
u012662940
1574957169
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
n = int(input()) m = int(input()) print((n-1)*(m-1))
s740397197
p03635
u393253137
1574304498
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n=int(input()) m=int(input()) print((n-1)*(m-1))
s125604766
p03635
u225388820
1573364558
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
m,n=(int,input().split()) print((n-1)*(m-1))
s264351496
p03635
u626468554
1573076979
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
n,m = map(int,input().spliy()) print((n-1)*(m-1))
s481830194
p03635
u280552586
1571285131
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n, m = map(int, input().split()) print(~-a*~-b)
s484823962
p03635
u298297089
1570396213
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
a,b= map(input().split()) print((a-1)*(b-1))
s114832009
p03635
u046313635
1570376623
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
n, m = int(input()) print((n-1)*(m-1))
s944186991
p03635
u046313635
1570376551
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
n, m = int(input()) a = n - 1 b = m - 1 print(a * b)
s784288906
p03635
u614875193
1570066096
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
n,m=map(int,open(0));print((n-1)*(m-1))
s248995558
p03635
u970197315
1569605752
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
print((int(input())-1)*(int(input())-1))
s939701580
p03635
u740047492
1569353471
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
n, m = input().split() print((n-1)*(m-1))
s717138842
p03635
u536177854
1568987885
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
n,m=map(int,input()) print((n-1)*(m-1))
s322217196
p03635
u536177854
1568987852
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
n,m=map(int,input()) print((n-a)*(m-1))
s184295925
p03635
u992759582
1567658631
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
n,m = map(int,input().split()) print((n-1)*(m-1) if (n-1) > a and (m-1) > 1 else 0)
s728248268
p03635
u275861030
1567285844
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
n,m = map(int, input().split()) pirnt((n-1)*(m-1))
s404178650
p03635
u555356625
1567099601
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
n, m = map(int, input()) print((n-1)*(m-1))
s374750102
p03635
u813371068
1566750387
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
n,m=map(int, inaput().split()) print((n-1)*(m-1))
s925852117
p03635
u143903328
1566672498
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
n, m = map(int,inpout().split()) print((n - 1) + (m * 1))
s706256897
p03635
u587213169
1566576278
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
s=input() N=len(s)-2 print(s[0]+N+s[-1:])
s332371898
p03635
u521866787
1566441997
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
print((int(input())-1)*(int(input()-1))
s613807180
p03635
u608108825
1566089622
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
n,m = int(input().split()) print((n-1)*(m-1))
s694535725
p03635
u923561222
1566088857
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
n,m=int(input().split()) print((n-1)*(m-1))
s981442692
p03635
u842388336
1565650292
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
n,m = map(int,input().split()) print(int((n-1)*(m-1))
s083909168
p03635
u045408189
1565483143
Python
Python (3.4.3)
py
Runtime Error
17
3060
52
a=int(input()) b=int(input()) c=a-1 d=b-1 print(c*d)
s932540354
p03635
u045408189
1565483092
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a=int(input()) b=int(input()) c=(a-1) d=(b-1) print(c*d)
s028238213
p03635
u896741788
1564441773
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
a,s=int(input().split()) print((s-1)*(a-1))
s307941429
p03635
u516242950
1564154998
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
n, m = map(intm input().split()) print((n - 1) * (m - 1))
s901777225
p03635
u333190709
1563348633
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
n, m = map(int, input().split()) print((n-1)(m-1))
s753470975
p03635
u538473330
1563312177
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38384
57
n,m = input().split() int(n) int(m) print((m-1)*(n-1))
s500775926
p03635
u538473330
1563312100
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38512
49
n,m = input().split() int(n) int(m) print(m*n)