s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s511323452
p02553
u777499281
1600024420
Python
Python (3.8.2)
py
Runtime Error
28
9096
157
if b > 0 and d > 0: print(max(b*d, a*c)) elif b > 0 and d < 0: print(a*d) elif b < 0 and d > 0: print(b*c) elif b <= 0 and d <= 0: print(a*c)
Traceback (most recent call last): File "/tmp/tmps4jwvdjp/tmpgga4jjl0.py", line 1, in <module> if b > 0 and d > 0: ^ NameError: name 'b' is not defined
s405160358
p02553
u697690147
1600024400
Python
Python (3.8.2)
py
Runtime Error
26
9084
227
f = open("input.txt", "r") a, b, c, d = list(map(int, f.readline().split())) if b <= 0 and d <= 0: print(a*c) elif b < 0 and d >= 0: print(max(c, 1)*b) elif b >= 0 and d < 0: print(max(a, 1)*d) else: print(b*d)
Traceback (most recent call last): File "/tmp/tmptqcf3e90/tmpep2eutsl.py", line 1, in <module> f = open("input.txt", "r") ^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'input.txt'
s051701875
p02553
u799068099
1600024390
Python
Python (3.8.2)
py
Runtime Error
28
9196
135
a=int(input()) b=int(input()) c=int(input()) d=int(input()) e=[] e.append(a*c) e.append(a*d) e.append(b*c) e.append(b*d) print(max(e))
Traceback (most recent call last): File "/tmp/tmps7g28bd8/tmpwk4hz7wv.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s694620718
p02553
u835090251
1600024380
Python
Python (3.8.2)
py
Runtime Error
29
9108
122
a,b,c,d=map(int(),input().split()) maxa=a*c e=a*d f=b*c g=b*d h=max(maxa,e) j=max(f,g) if h>j: print(h) else: print(j)
Traceback (most recent call last): File "/tmp/tmpwe5su1h7/tmpanpz7ap0.py", line 1, in <module> a,b,c,d=map(int(),input().split()) ^^^^^^^ EOFError: EOF when reading a line
s348619675
p02553
u476802209
1600024328
Python
Python (3.8.2)
py
Runtime Error
28
9004
112
a,b,c,d=map(int,(input().split()) x,y=0,0 if a>b: x=a else: x=b if c>d: y=c else: y=d print(x*y)
File "/tmp/tmpaybj6eh7/tmpkli_0hcw.py", line 1 a,b,c,d=map(int,(input().split()) ^ SyntaxError: '(' was never closed
s992999812
p02553
u245383302
1600024325
Python
Python (3.8.2)
py
Runtime Error
2223
535156
143
a,b,c,d=map(int,input().split()) List=[] for i in range(a,b+1): for j in range(c,d+1): if i>=0 and j>=0: List.append(i*j) max(List)
Traceback (most recent call last): File "/tmp/tmphc2b5762/tmpabk3cwav.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s785939602
p02553
u391589398
1600024320
Python
Python (3.8.2)
py
Runtime Error
28
9180
255
a, b, c, d = list(map(int, input().split())) # minus minus if b <= 0 and d <= 0: ans = a*c # minus plus if b <= 0 and c >= 0: ans = b*c # plus minus elif 0 <= a and d <= 0: ans = a*d # plus plus if a >= 0 and c >= 0: ans = b*d print(ans)
Traceback (most recent call last): File "/tmp/tmp7lhepjet/tmphcu7f2df.py", line 1, in <module> a, b, c, d = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s953226244
p02553
u314042989
1600024315
Python
Python (3.8.2)
py
Runtime Error
31
9160
120
a, b, c, d = map(int, input().split()) for i in range(a, b + 1): for j in range(c, d + 1): print(max(i * j))
Traceback (most recent call last): File "/tmp/tmpyzcrplo6/tmppspsca70.py", line 1, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s522789236
p02553
u438720156
1600024302
Python
Python (3.8.2)
py
Runtime Error
26
9092
76
a,b,c,d=map(int,input().spit()) p=a*c q=a*d r=b*c s=b*d print(max(p,q,r,s))
Traceback (most recent call last): File "/tmp/tmp40p90gkj/tmptcxzjm0s.py", line 1, in <module> a,b,c,d=map(int,input().spit()) ^^^^^^^ EOFError: EOF when reading a line
s431099424
p02553
u263173473
1600024295
Python
Python (3.8.2)
py
Runtime Error
34
9120
174
a,b,c,d=int(input().split()) a=int(a) b=int(b) c=int(c) d=int(d) list1=[] list1.append(a*c) list1.append(a*d) list1.append(b*c) list1.append(b*c) list1.sort() print(list1[3])
Traceback (most recent call last): File "/tmp/tmpbr9edjmn/tmpe_gyob_t.py", line 1, in <module> a,b,c,d=int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s119141957
p02553
u203482013
1600024266
Python
Python (3.8.2)
py
Runtime Error
28
9108
59
a,b,c,d=input().split(' ') x=max(a,b) y=max(c,d) print(x*y)
Traceback (most recent call last): File "/tmp/tmpa2eyxyua/tmptq6u43ed.py", line 1, in <module> a,b,c,d=input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s127433584
p02553
u752395175
1600024255
Python
PyPy3 (7.3.0)
py
Runtime Error
88
68640
166
def resolve(): a, b, c, d = map(int, input().split() w = a*c x = a*d y = b*c z = b*d ans = max(w, x, y, z) print(ans) resolve()
File "/tmp/tmp6dvz5hjn/tmpi8bbce4n.py", line 2 a, b, c, d = map(int, input().split() ^ SyntaxError: '(' was never closed
s208100389
p02553
u884244819
1600024250
Python
PyPy3 (7.3.0)
py
Runtime Error
2222
796560
241
def main(): l = list(map(int, input().split())) x = [i for i in range(l[0],l[1])] y = [i for i in range(l[2],l[3])] all_pair = [x*y for i in x for j in y] print(sorted(all_pair)[-1]) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmp4otyuoi_/tmp5jgbjj1u.py", line 8, in <module> main() File "/tmp/tmp4otyuoi_/tmp5jgbjj1u.py", line 2, in main l = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s857156379
p02553
u258406742
1600024224
Python
Python (3.8.2)
py
Runtime Error
26
9156
74
a,b,c,d = map(int, input().split()) l = [a*c, a*d, b*c, b*d] print(max[l])
Traceback (most recent call last): File "/tmp/tmpnmltzocr/tmpgwugat41.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s078968030
p02553
u582435914
1600024212
Python
Python (3.8.2)
py
Runtime Error
31
9008
62
a,b,c,d=map(int,input().split()) print (max(a*c,a*d,b*c,b*d)
File "/tmp/tmpx9oe66ab/tmpithvsnxh.py", line 2 print (max(a*c,a*d,b*c,b*d) ^ SyntaxError: '(' was never closed
s114596048
p02553
u738439089
1600024194
Python
Python (3.8.2)
py
Runtime Error
27
9160
93
a,b,c,d=list(map(int, input().split())) ac=a*c ad=a*d bc=b*c cd=b*d print(max([ac,ad,bc,bd]))
Traceback (most recent call last): File "/tmp/tmpucvrh6xf/tmppq6aip56.py", line 1, in <module> a,b,c,d=list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s662301570
p02553
u466916194
1600024190
Python
Python (3.8.2)
py
Runtime Error
27
9168
156
a = int(input()) b = int(input()) c = int(input()) d = int(input()) sum = [] sum.append(a*c) sum.append(a*d) sum.append(b*c) sum.append(b*d) print(max(sum))
Traceback (most recent call last): File "/tmp/tmpp8pa4qw5/tmp5ftds20_.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s686135873
p02553
u087118202
1600024151
Python
PyPy3 (7.3.0)
py
Runtime Error
131
68484
136
a,b,c,d=map(int,input().split()) ans=-999999999999999999 for i in range(a,b+1): for j in range(c,d+1): ans=max(ans,i*j) print(ans
File "/tmp/tmpoix0c6ml/tmpv_4pziwr.py", line 7 print(ans ^ SyntaxError: '(' was never closed
s802005307
p02553
u164776089
1600024144
Python
Python (3.8.2)
py
Runtime Error
28
9020
27
-1000000000 0 -1000000000 0
File "/tmp/tmpubg84fof/tmpln1ekkmj.py", line 1 -1000000000 0 -1000000000 0 ^ SyntaxError: invalid syntax
s543473344
p02553
u989222495
1600024116
Python
Python (3.8.2)
py
Runtime Error
26
8996
527
#include<bits/stdc++.h> #include<vector> #include<string> #include<stack> #include<iostream> #define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); #define ll long long #define MOD 1000000007 #define vec(a) vector<int>a using namespace std; int main() { #ifndef ONLINE_JUDGE freopen("output.txt...
File "/tmp/tmpxb547b9r/tmpgun7hguv.py", line 10 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s443593901
p02553
u879866069
1600024111
Python
Python (3.8.2)
py
Runtime Error
29
9160
79
a, b, c, d = [int(i) for i in input()] print(max([a * d, a * c, b * c, b * d]))
Traceback (most recent call last): File "/tmp/tmpv7vlvte9/tmpbp2r1aa1.py", line 1, in <module> a, b, c, d = [int(i) for i in input()] ^^^^^^^ EOFError: EOF when reading a line
s105659091
p02553
u905029819
1600024091
Python
Python (3.8.2)
py
Runtime Error
26
9000
122
X = list(map(int, input().split())) print(max{X[0]*X[1], X[1]*X[2], X[2]*X[3], X[3]*X[0], X[0]*X[2], X[1]*X[3]})
File "/tmp/tmpslrx1nvu/tmpo93naudy.py", line 3 print(max{X[0]*X[1], X[1]*X[2], X[2]*X[3], X[3]*X[0], X[0]*X[2], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s828114030
p02553
u005517181
1600024079
Python
Python (3.8.2)
py
Runtime Error
30
8960
225
#include<iostream> using namespace std; int main() { long long a,b,c,d,s,ss; cin>>a>>b>>c>>d; if ((a<=0 && 0<=b) || (c<=0 && 0<=d))k=1; s=max(a*c,a*d); ss=max(b*c,b*d); s=max(s,ss); if (k==1)s=max(0,s); cout<<s; }
File "/tmp/tmp88gi_m5z/tmpcw0kgd10.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s465775648
p02553
u263173473
1600024037
Python
Python (3.8.2)
py
Runtime Error
25
9160
130
a,b,c,d=int(input()) list1=[] list1.append(a*c) list1.append(a*d) list1.append(b*c) list1.append(b*c) list1.sort() print(list1[3])
Traceback (most recent call last): File "/tmp/tmpal19nb0d/tmpks49hhxi.py", line 1, in <module> a,b,c,d=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s392047012
p02553
u282376189
1600024031
Python
Python (3.8.2)
py
Runtime Error
29
9016
61
a,b,c,d = map(int,input().split()) print(max(a*c,a*d,b*c,b*d)
File "/tmp/tmpymhh_f03/tmpd3cbw_ti.py", line 2 print(max(a*c,a*d,b*c,b*d) ^ SyntaxError: '(' was never closed
s126014702
p02553
u444766154
1600024017
Python
Python (3.8.2)
py
Runtime Error
30
9092
82
a1 = a * c a2 = a * d a3 = b * c a4 = b * d list = [a1,a2,a3,a4] print(max(list))
Traceback (most recent call last): File "/tmp/tmp4623c1ok/tmppv_j9rdk.py", line 1, in <module> a1 = a * c ^ NameError: name 'a' is not defined
s545212968
p02553
u244836567
1600024014
Python
Python (3.8.2)
py
Runtime Error
27
9016
176
a,b,c,d=input().split() a=int(a) b=int(b) c=int(c) d=int(d) if a>0: if b*d>a*c print(b*d) else: print(a*c) else: if a*c>b*d: print(a*c) else: print(b*d)
File "/tmp/tmp32kwjopl/tmpgvy2j_7k.py", line 7 if b*d>a*c ^ SyntaxError: expected ':'
s408455891
p02553
u066120361
1600024000
Python
Python (3.8.2)
py
Runtime Error
2314
3077408
163
a, b, c, d = map(int, input().split()) x = list(range(a,b+1)) y = list(range(c, d+1)) ans = [] for i in x: for j in y: ans.append(i*j) print(max(ans))
Traceback (most recent call last): File "/tmp/tmpvgmqxo3q/tmpjxmjnnsk.py", line 1, in <module> a, b, c, d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s328586519
p02553
u771680013
1600023946
Python
PyPy3 (7.3.0)
py
Runtime Error
87
68516
49
_,b,_,d = map(int,input().split()) print(int(b*d)
File "/tmp/tmpw3247654/tmpke1o8v93.py", line 2 print(int(b*d) ^ SyntaxError: '(' was never closed
s218181268
p02553
u488884575
1600023933
Python
Python (3.8.2)
py
Runtime Error
22
9144
130
a,b,c,d=map(int,input().split()) ans = -10**9 for i in range([a,b]): for j in range([c,d]): ans = max(ans, i*j) print(ans)
Traceback (most recent call last): File "/tmp/tmpir548zkl/tmpx2pzlkzt.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s626510086
p02553
u493520238
1600023933
Python
PyPy3 (7.3.0)
py
Runtime Error
84
68616
288
a,b,c,d = map(int, input().split()) if b>=0 and d>= 0: ans = b*d elif b < 0 and d >= 0: if c <= 0: ans = max(ans,0) else: ans = b*c elif b >= 0 and d < 0: if a <= 0: ans = 0 else: ans = a*d else: ans = a*c if a <= 0 and c <= 0: ans = max(ans,a*c) print(ans)
Traceback (most recent call last): File "/tmp/tmpjzf2ljrv/tmp12_8si0d.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s977991055
p02553
u660237354
1600023909
Python
Python (3.8.2)
py
Runtime Error
30
9004
1036
#include <bits/stdc++.h> using namespace std; #define ll long long int #define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); #define scan(a,n) for(long long int index=0;index<n;index++) cin>>a[index]; #define print(a,n) for(long long int index=0;index<n;index++) cout<<a[index]<<" ";cout<<endl; ...
File "/tmp/tmpg1egh9ek/tmpuora2elb.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s871736785
p02553
u757504644
1600023893
Python
Python (3.8.2)
py
Runtime Error
28
9024
68
a = [int(x) for x in input().split()] print(max(a[0]*a[2],a[1]*a[3])
File "/tmp/tmpbkctuqw4/tmplm8yczxu.py", line 2 print(max(a[0]*a[2],a[1]*a[3]) ^ SyntaxError: '(' was never closed
s020714050
p02553
u721901576
1600023892
Python
Python (3.8.2)
py
Runtime Error
33
9176
127
a,b,c,d = map(int,input().split()) if a < b: x = b if a < b: x = a if c < d: y = d if c > d: y = c print(x*y)
Traceback (most recent call last): File "/tmp/tmp9zqkvel7/tmp6dwxcghl.py", line 1, in <module> a,b,c,d = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s849649958
p02553
u282376189
1600023885
Python
Python (3.8.2)
py
Runtime Error
29
9144
55
a,b,c,d = map(int,input()) print(max(a*c,a*d,b*c,b*d))
Traceback (most recent call last): File "/tmp/tmptt9y7sv1/tmpooslofao.py", line 1, in <module> a,b,c,d = map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s433558265
p02553
u955539037
1600023857
Python
Python (3.8.2)
py
Runtime Error
24
9000
3074
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<bool> vb; typedef vector<int> vi; typedef vector<ll> vll; typedef vector<pii> vpii; typedef vector<pll> vpl; typedef vector<vi> vvi; typedef vector<vll> vvll; void __print(int x) {...
File "/tmp/tmptyd9yto4/tmpufxgpjo5.py", line 3 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s547221295
p02553
u075950453
1600023844
Python
Python (3.8.2)
py
Runtime Error
32
9016
148
a,b,c,d = int(input().split()) ans_list= [] ans_list.append(a*c) ans_list.append(a*d) ans_list.append(b*c) ans_list.append(b*d) print max(ans_list)
File "/tmp/tmp14pzlkbw/tmpa42f2y3b.py", line 7 print max(ans_list) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s337927005
p02553
u945761460
1600023836
Python
Python (3.8.2)
py
Runtime Error
27
9176
70
a,b,c,d=map(int,input().split()) print(mac(max(a*c,a*d),max(b*c,b*d)))
Traceback (most recent call last): File "/tmp/tmpx_5i1fmm/tmp9ir_5x3i.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s637787414
p02553
u440608859
1600023825
Python
Python (3.8.2)
py
Runtime Error
25
9156
76
a,b,c,d=map(int,input().split()) ans=max[(b*d),(a*c),(a*d),(b*c)] print(ans)
Traceback (most recent call last): File "/tmp/tmpilwiot0z/tmp2bwnlccz.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s543392218
p02553
u961223096
1600023802
Python
PyPy3 (7.3.0)
py
Runtime Error
89
68712
137
import sys def dump(x): print(x, file=sys.stderr) a,b,c,d = [int(i) for i in input()] ans = max(a*c,a*d,b*c,b*d,) print(ans)
Traceback (most recent call last): File "/tmp/tmp8towaok4/tmppjn95irr.py", line 7, in <module> a,b,c,d = [int(i) for i in input()] ^^^^^^^ EOFError: EOF when reading a line
s787334480
p02553
u427571081
1600023799
Python
Python (3.8.2)
py
Runtime Error
23
9016
62
a,b,c,d=map(int,input().split()) print(max([a*c,a*d,b*c,c*d])
File "/tmp/tmp_jb5y4ge/tmpugwus2uj.py", line 2 print(max([a*c,a*d,b*c,c*d]) ^ SyntaxError: '(' was never closed
s411535422
p02553
u060793972
1600023792
Python
Python (3.8.2)
py
Runtime Error
29
9012
27
-1000000000 0 -1000000000 0
File "/tmp/tmpohhlrgtg/tmpp_8h7ozp.py", line 1 -1000000000 0 -1000000000 0 ^ SyntaxError: invalid syntax
s972833274
p02553
u574610297
1600023790
Python
Python (3.8.2)
py
Runtime Error
26
9020
83
a, b, c, d =[int(s) for s in input().split()] print(max(a * c, a * d, b * c, b * d)
File "/tmp/tmplj2q2evf/tmpa4q05etx.py", line 2 print(max(a * c, a * d, b * c, b * d) ^ SyntaxError: '(' was never closed
s375445570
p02553
u456225659
1600023787
Python
Python (3.8.2)
py
Runtime Error
26
9160
107
a,b,c,d=map(int,input().split()) g=[] g.append(a*c) g.append(a.d) g.append(b.c) g.append(b.d) print(max(g))
Traceback (most recent call last): File "/tmp/tmpr4ru1umz/tmpsgykvpfu.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s064450444
p02553
u693025087
1600023778
Python
PyPy3 (7.3.0)
py
Runtime Error
175
68712
156
lst =map(int, input().split()) max_value = 0 for i in range(len(lst)): for j in range(i): max_value = max(max_value, lst[i]*lst[j]) print(max_value)
Traceback (most recent call last): File "/tmp/tmpnnkzw15q/tmpdfthxatw.py", line 1, in <module> lst =map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s852156071
p02553
u090649502
1600023767
Python
Python (3.8.2)
py
Runtime Error
29
8952
55
a,b,c,d=map(int, input()) print(max(a*c, a*d, b*c, b*d)
File "/tmp/tmp0a79_xta/tmpf9xnttk8.py", line 2 print(max(a*c, a*d, b*c, b*d) ^ SyntaxError: '(' was never closed
s813126899
p02553
u696684809
1600023764
Python
Python (3.8.2)
py
Runtime Error
30
9204
162
a,b,c,d = map(int,input().split()) answer = 0 ac =a*c ad = a*d bc = b*C bd = b*d answer = max(ac,ad) answer = max(answer,bc) answer = max(answer,bd) print(answer)
Traceback (most recent call last): File "/tmp/tmpqir66_zn/tmp8yqrlws_.py", line 1, in <module> a,b,c,d = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s286416815
p02553
u957957759
1600023741
Python
Python (3.8.2)
py
Runtime Error
29
9160
110
a,b,c,d=int(input()) l=[] for i in range(a,b+1): for j in range(c,d+1): l.append(i*j) print(max(l))
Traceback (most recent call last): File "/tmp/tmpymz93jcn/tmpb28fw7sh.py", line 1, in <module> a,b,c,d=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s328044119
p02553
u508972438
1600023733
Python
PyPy2 (7.3.0)
py
Runtime Error
167
65184
936
# Template 1.0 import sys, re from collections import deque, defaultdict, Counter, OrderedDict from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, log,floor from heapq import heappush, heappop, heapify, nlargest, nsmallest def STR(): return list(input()) def INT(): return int(input()) def MAP(): retur...
Traceback (most recent call last): File "/tmp/tmp_htjqhdx/tmpvao6bho3.py", line 24, in <module> a,b,c,d = MAP() ^^^^^ File "/tmp/tmp_htjqhdx/tmpvao6bho3.py", line 8, in MAP def MAP(): return map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s013300845
p02553
u574610297
1600023730
Python
Python (3.8.2)
py
Runtime Error
26
9084
84
a, b, c, d = [int(s) for s in input().split()] return max(a * c, a * d, b *c, b * d)
File "/tmp/tmprwt1536y/tmp1bsbnwvm.py", line 2 return max(a * c, a * d, b *c, b * d) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s097661800
p02553
u086503932
1600023718
Python
Python (3.8.2)
py
Runtime Error
32
9032
75
a, b, c, d = map(int, input().split()) print(max([a*c, a*d, b*c, b*d]))
File "/tmp/tmp0kiy86pt/tmpcvg7j6p3.py", line 2 print(max([a*c, a*d, b*c, b*d])) IndentationError: unexpected indent
s310698135
p02554
u779455925
1600729383
Python
PyPy3 (7.3.0)
py
Runtime Error
129
77396
631
from heapq import * import sys from collections import * from itertools import * from decimal import * import copy from bisect import * import math import numpy as np import random sys.setrecursionlimit(4100000) def gcd(a,b): if(a%b==0):return(b) return (gcd(b,a%b)) input=lambda :sys.stdin.readline().rstrip() ...
Traceback (most recent call last): File "/tmp/tmpaadki_a_/tmp2_ig7ba1.py", line 19, in <module> N=int(input()) ^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s650106250
p02554
u779455925
1600729362
Python
PyPy3 (7.3.0)
py
Runtime Error
106
77508
631
from heapq import * import sys from collections import * from itertools import * from decimal import * import copy from bisect import * import math import numpy as np import random sys.setrecursionlimit(4100000) def gcd(a,b): if(a%b==0):return(b) return (gcd(b,a%b)) input=lambda :sys.stdin.readline().rstrip() ...
Traceback (most recent call last): File "/tmp/tmp5_ey_dp9/tmp1g0q_hrl.py", line 19, in <module> N=int(input()) ^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s231918471
p02554
u955125992
1600710923
Python
Python (3.8.2)
py
Runtime Error
25
9020
150
n = int(input()) MOD = 10**9 + 7 ans = pow(10, n, MOD)-pow(9, n, MOD) - pow(9, n, MOD) + pow(8, n, MOD) #負の処理 ans (ans+MOD)%MOD print(ans)
Traceback (most recent call last): File "/tmp/tmpc9slgbsp/tmpkniiue42.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s501858999
p02554
u583276018
1600685954
Python
Python (3.8.2)
py
Runtime Error
387
11176
49
n=int(input()) print((10**n-9**n*2+8**n)%(1e9+7))
Traceback (most recent call last): File "/tmp/tmpr8md9z1_/tmpt7gocdrt.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s889555499
p02554
u754511616
1600594945
Python
Python (3.8.2)
py
Runtime Error
23
8984
53
N=int(input()) print((10**N-9**N-9**N+8**N)/(10**7+7)
File "/tmp/tmpd_0ac4d2/tmphmyqfnde.py", line 2 print((10**N-9**N-9**N+8**N)/(10**7+7) ^ SyntaxError: '(' was never closed
s118601610
p02554
u918601425
1600519460
Python
Python (3.8.2)
py
Runtime Error
63
16888
416
N=int(input()) MOD=10**9+7 MAX=N+1 powerls=[0 for i in range(MAX)] powerls[0]=1 powerls[1]=base def powermod(ind): if powerls[ind]!=0: return powerls[ind] elif ind%2==0: p=(powermod(base,ind//2)**2)%MOD powerls[ind]=p return p else: p=((powermod(base,ind//2)**2)*base)%MOD ...
Traceback (most recent call last): File "/tmp/tmpc49qi6at/tmpmcw1zy1c.py", line 1, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s146117387
p02554
u622838398
1600498184
Python
Python (3.8.2)
py
Runtime Error
24
8964
37
return N*(N-1)*9**(N-2) % (10**9 + 7)
File "/tmp/tmp5ec2yeeh/tmpl9ubf7l_.py", line 1 return N*(N-1)*9**(N-2) % (10**9 + 7) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s849453035
p02554
u095424182
1600481575
Python
Python (3.8.2)
py
Runtime Error
25
9132
148
from itertools import combinations if __name__=="__main__": N=int(input()) if N<2: print(0) else: print(combinations(N,2)%(10**9+7))
Traceback (most recent call last): File "/tmp/tmpktv4pe4r/tmpupdt983q.py", line 4, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s849970037
p02554
u095424182
1600481516
Python
Python (3.8.2)
py
Runtime Error
26
9168
140
from itertools import combinations if __name__=="__main__": N=int(input()) if N<2: print(0) else: combinations(N,2)%(10**9+7)
Traceback (most recent call last): File "/tmp/tmpefeiwgof/tmp5dzh3edd.py", line 4, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s489184712
p02554
u876106257
1600475111
Python
PyPy3 (7.3.0)
py
Runtime Error
99
74372
111
n = int(input()) p = 10**9+7 print((pow(10, n, p) - 2*pow(9, n, p) + pow(8, n, p)) % p)
File "/tmp/tmpyroazh02/tmp5jows2wy.py", line 1 n = int(input()) IndentationError: unexpected indent
s552876503
p02554
u876106257
1600474996
Python
PyPy3 (7.3.0)
py
Runtime Error
94
74700
98
n = int(input()) p = 10**9+7 print((pow(10, n, p) - 2*pow(9, n, p) + pow(8, n, p) % p)
File "/tmp/tmp59khu0j4/tmplxl4bmui.py", line 1 n = int(input()) IndentationError: unexpected indent
s025909518
p02554
u876106257
1600474720
Python
PyPy3 (7.3.0)
py
Runtime Error
96
74388
86
n = int(input()) p = 10**9+7 print((pow(10, n, p) - 2*pow(9, n, p) + pow(8, n, p)) % p
File "/tmp/tmp3l5yt4el/tmpy33b5uis.py", line 3 print((pow(10, n, p) - 2*pow(9, n, p) + pow(8, n, p)) % p ^ SyntaxError: '(' was never closed
s864237364
p02554
u241190800
1600443360
Python
Python (3.8.2)
py
Runtime Error
386
10944
57
n = int(input()) print((10**n -2*9**n + 8**n)/1000000007)
Traceback (most recent call last): File "/tmp/tmp9q10died/tmp_c02pej5.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s794932383
p02554
u241190800
1600443167
Python
Python (3.8.2)
py
Runtime Error
201
10392
93
n = int(input()) if n >=2: ans = (10**(n-2)*n*(n-1))/(10**9 + 7) else: ans = 0 print(ans)
Traceback (most recent call last): File "/tmp/tmp6jmleqnz/tmp_pbd3mbd.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s278835103
p02554
u231905444
1600427389
Python
Python (3.8.2)
py
Runtime Error
22
8952
236
n = int(input()) ans = 1 ans1 = 1 ans2 = 1 mod = 1000000007 for i in range(n): ans = (ans*10)%mod ans2 = (ans2*8)%mod ans1 = (ans1*9)%mod ans = (ans - ans1 + mod)%mod ans = (ans - ans1 + mod)%mod ans = (ans + ans2)%mod print(ans)
File "/tmp/tmpf6zl6kxp/tmpgh605ne8.py", line 8 ans2 = (ans2*8)%mod ^ IndentationError: unindent does not match any outer indentation level
s741447698
p02554
u231905444
1600427182
Python
Python (3.8.2)
py
Runtime Error
26
8904
153
n = int(input()) ans = 1 ans2 = 1 mod = 1000000007 for i in range(n): ans = (ans*10)%mod ans2 = (ans2*8)%mod ans = (ans - ans2 + mod)%mod print(ans)
File "/tmp/tmpzxijfnzb/tmpxjxcr7_v.py", line 7 ans2 = (ans2*8)%mod ^ IndentationError: unindent does not match any outer indentation level
s996953951
p02554
u404842368
1600367857
Python
Python (3.8.2)
py
Runtime Error
26
8948
94
n = int(input()) ans = pow(10,n,mod) ans -= pow(9,n,mod)*2 ans += pow(8,n,mod) print(ans%mod)
Traceback (most recent call last): File "/tmp/tmp6seewn38/tmpqohn3092.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s149527975
p02554
u627886394
1600293321
Python
Python (3.8.2)
py
Runtime Error
25
8904
48
n=input() print((10**n-(2*9**n-8**n))%(10**9+7))
Traceback (most recent call last): File "/tmp/tmp4g1nb_f2/tmpjp76k6mo.py", line 1, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s714752433
p02554
u536230475
1600254632
Python
PyPy3 (7.3.0)
py
Runtime Error
89
68756
170
n = r() tens=1 nines=1 eights=1 mod = 10**9+7 for i in range(n): tens=(tens*10)%mod nines=(nines*9)%mod eights=(eights*8)%mod print((tens-2*nines+eights)%mod)
Traceback (most recent call last): File "/tmp/tmpe000uyqn/tmpcb8rmqt7.py", line 1, in <module> n = r() ^ NameError: name 'r' is not defined
s694832032
p02554
u964904181
1600248583
Python
Python (3.8.2)
py
Runtime Error
23
9472
361
from functools import reduce N = int(input()) mod = 10**9 + 7 def powmod(val, n, mod): # vals = [val]*n # ret = reduce(lambda x, y: x * y % mod, vals) # return ret for i in range(n): ret = ret * val % mod return ret all = powmod(10, N, mod) b = powmod(9, N, mod) c = powmod(8, N, mod)...
Traceback (most recent call last): File "/tmp/tmpggi5aa6y/tmpddzvqb6y.py", line 3, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s615754527
p02554
u374802266
1600245924
Python
Python (3.8.2)
py
Runtime Error
25
9064
71
n,m=int(input()),10**9+7 print((pow(10,p,m)-2*pow(9,p,m)+pow(8,p,m))%m)
Traceback (most recent call last): File "/tmp/tmpc0wkoqst/tmpq4_djje9.py", line 1, in <module> n,m=int(input()),10**9+7 ^^^^^^^ EOFError: EOF when reading a line
s547692390
p02554
u672156095
1600211760
Python
Python (3.8.2)
py
Runtime Error
2206
11088
53
n = int(input()) print(10**n - 9**n - 9**n ) + 8**n
Traceback (most recent call last): File "/tmp/tmpi2omfxn_/tmpiu1u8th2.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s115300134
p02554
u658600714
1600208609
Python
PyPy3 (7.3.0)
py
Runtime Error
90
74676
44
n = int(input()) print(10**n=9**n-8**n-9**n)
File "/tmp/tmp7jwto44w/tmpxfbzbi_y.py", line 2 print(10**n=9**n-8**n-9**n) ^^^^^^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
s029258016
p02554
u810348111
1600193218
Python
Python (3.8.2)
py
Runtime Error
27
8944
56
n=int(input()) print((10**n-(9**n+9**n-8**n)%(10**9+7))
File "/tmp/tmp48earn4v/tmps98r410w.py", line 3 print((10**n-(9**n+9**n-8**n)%(10**9+7)) ^ SyntaxError: '(' was never closed
s768630020
p02554
u325149030
1600178751
Python
Python (3.8.2)
py
Runtime Error
24
9160
130
mod = 10**9+7 N = int(input()) ans = (pow(a,N,mod) - 2*pow(b, N, mod) + pow(c, N, mod))%mod if ans < 0: ans += mod print(ans)
Traceback (most recent call last): File "/tmp/tmp83xm3z0e/tmpu9l6sgrc.py", line 2, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s257335876
p02554
u734197299
1600178716
Python
Python (3.8.2)
py
Runtime Error
2206
14748
153
import math N=int(input()) ku=math.factorial(N) if N==1: kekka=0 elif N==2: kekka=ku else: kekka=(ku/2*10^(N-2))%1000000007 print(kekka)
Traceback (most recent call last): File "/tmp/tmp8smxbu4c/tmpb_odcf04.py", line 3, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s947101893
p02554
u734197299
1600178513
Python
Python (3.8.2)
py
Runtime Error
25
9068
153
import math N=int(input()) ku=math.factorial(5) if N==1: kekka=0 elif N==2: kekka=ku else: kekka=(ku/2*10^(N-2))%1000000007 print(kekka)
Traceback (most recent call last): File "/tmp/tmpzpz883ps/tmpihsiwz0x.py", line 3, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s406131174
p02554
u734197299
1600178459
Python
Python (3.8.2)
py
Runtime Error
23
9180
172
import math N=int(input()) print(N) ku=math.factorial(5) print(ku) if N==1: kekka=0 elif N==2: kekka=ku else: kekka=(ku/2*10^(N-2))%1000000007 print(kekka)
Traceback (most recent call last): File "/tmp/tmpu84nc3vm/tmp_0i6jv0r.py", line 3, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s525850080
p02554
u347502437
1600163725
Python
Python (3.8.2)
py
Runtime Error
29
9012
95
def main(): N = input() print((10 ** N - 9 ** N - 9 ** N + 8 ** N)%(10**9 + 7)) main()
Traceback (most recent call last): File "/tmp/tmpnzuce0sj/tmpjbfxskmv.py", line 5, in <module> main() File "/tmp/tmpnzuce0sj/tmpjbfxskmv.py", line 2, in main N = input() ^^^^^^^ EOFError: EOF when reading a line
s288376283
p02554
u714852797
1600121460
Python
Python (3.8.2)
py
Runtime Error
29
9112
105
N = int(input()) mod = 10 ** 9 + 7 print((pow(10, n, mod) - 2 * pow(9, n, mod) + pow(8, n, mod)) % mod)
Traceback (most recent call last): File "/tmp/tmpz0u1k5hu/tmpx8v12ec7.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s536315354
p02554
u366558796
1600120835
Python
Python (3.8.2)
py
Runtime Error
26
9120
115
n = int(input()) n = int(input()) mod = int(1e9)+7 print((pow(10, n, mod) - 2*pow(9, n, mod) + pow(8, n, mod))%mod)
Traceback (most recent call last): File "/tmp/tmplzkta7ep/tmpc6xm0krl.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s998478694
p02554
u714852797
1600119584
Python
Python (3.8.2)
py
Runtime Error
200
10348
69
print(10 ** int(input()) - 2 * 9 ** int(input()) + 8 ** int(input()))
Traceback (most recent call last): File "/tmp/tmpvahriupd/tmptt8mb39y.py", line 1, in <module> print(10 ** int(input()) - 2 * 9 ** int(input()) + 8 ** int(input())) ^^^^^^^ EOFError: EOF when reading a line
s793992007
p02554
u674588203
1600116408
Python
Python (3.8.2)
py
Runtime Error
26
8928
140
# AtCoder Beginner Contest 178 # C - Ubiquity import math N=int(input()) mod=10**9+7 print((10**N)%mod-(9**N)%mod)-(9**N)%mod+(8**N)%mod)
File "/tmp/tmp7c3rf22f/tmpo8kc7rk7.py", line 9 print((10**N)%mod-(9**N)%mod)-(9**N)%mod+(8**N)%mod) ^ SyntaxError: unmatched ')'
s282524946
p02554
u445624660
1600106785
Python
PyPy3 (7.3.0)
py
Runtime Error
1783
392684
1236
import sys sys.setrecursionlimit(10**9) n = int(input()) mod = 10**9 + 7 # 再帰だとなんか通らん # dp = {} # def rec(i, zero, nine): # if (i, zero, nine) in dp: # return dp[(i, zero, nine)] # if i == n: # return 1 if (zero and nine) else 0 # ret = 0 # for j in range(10): # if j == 0: # ...
Traceback (most recent call last): File "/tmp/tmpuhpwopzq/tmpwy7d2ndr.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s558723199
p02554
u445624660
1600104534
Python
PyPy3 (7.3.0)
py
Runtime Error
2231
736568
577
import sys sys.setrecursionlimit(10**9) n = int(input()) mod = 10**9 + 7 dp = {} def rec(i, zero, nine): if (i, zero, nine) in dp: return dp[(i, zero, nine)] if i == n: return 1 if (zero and nine) else 0 ret = 0 for j in range(10): if j == 0: ret += rec(i + 1, Tru...
Traceback (most recent call last): File "/tmp/tmpsphx8loi/tmpqekgtzxz.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s571042668
p02554
u064505481
1600102797
Python
PyPy3 (7.3.0)
py
Runtime Error
90
68696
1730
// #pragma GCC optimize ("O3") // #pragma GCC target ("sse4") #include <bits/stdc++.h> using namespace std; const int INF = 1 << 29; const int NINF = -1*INF; const long long LLINF = 1ll << 60; const long long LLNINF = -1*LLINF; template <class Ch, class Tr, class Container> basic_ostream <Ch, Tr> & operator << (basic...
File "/tmp/tmprnhcy4yc/tmpj94rqlfr.py", line 8 const long long LLINF = 1ll << 60; ^ SyntaxError: invalid decimal literal
s924450706
p02554
u395313349
1600101992
Python
Python (3.8.2)
py
Runtime Error
29
9100
168
def main(): MOD = int(1e9 + 7) n = int(input()) print((pow(10,n,MOD) - 2*pow(9 , n , MOD)%MOD + pow(8 , n , MOD) + MOD)%MOD) if __namme__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpg17b6sw2/tmp44j1war9.py", line 6, in <module> if __namme__ == "__main__": ^^^^^^^^^ NameError: name '__namme__' is not defined. Did you mean: '__name__'?
s387982166
p02554
u679750439
1600099109
Python
Python (3.8.2)
py
Runtime Error
25
9004
72
import math n=int(input) m=(10**n)-(2*(9**n))+(8**n) print(m%1000000007)
Traceback (most recent call last): File "/tmp/tmp5c8lo10a/tmpxvai2gbs.py", line 2, in <module> n=int(input) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s537252512
p02554
u066494348
1600098289
Python
Python (3.8.2)
py
Runtime Error
25
8848
43
n=input() print(mod(pow(2,n)-2,1000000007))
Traceback (most recent call last): File "/tmp/tmpn6_zwyfc/tmpy97t_px5.py", line 1, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s675018312
p02554
u064505481
1600096099
Python
PyPy3 (7.3.0)
py
Runtime Error
2231
802592
736
from sys import stdin, stdout, setrecursionlimit from collections import deque, defaultdict, Counter from heapq import heappush, heappop from functools import lru_cache import math setrecursionlimit(10**7) rl = lambda: stdin.readline() rll = lambda: stdin.readline().split() rli = lambda: map(int, stdin.readline().spli...
Traceback (most recent call last): File "/tmp/tmpogxytrup/tmppiqug5ld.py", line 33, in <module> main() File "/tmp/tmpogxytrup/tmppiqug5ld.py", line 17, in main n = int(rl()) ^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s279711171
p02554
u064505481
1600096053
Python
PyPy3 (7.3.0)
py
Runtime Error
853
348948
736
from sys import stdin, stdout, setrecursionlimit from collections import deque, defaultdict, Counter from heapq import heappush, heappop from functools import lru_cache import math setrecursionlimit(10**5) rl = lambda: stdin.readline() rll = lambda: stdin.readline().split() rli = lambda: map(int, stdin.readline().spli...
Traceback (most recent call last): File "/tmp/tmpaoxqezgk/tmptsi3f7wf.py", line 33, in <module> main() File "/tmp/tmpaoxqezgk/tmptsi3f7wf.py", line 17, in main n = int(rl()) ^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s051221851
p02554
u976887940
1600093819
Python
Python (3.8.2)
py
Runtime Error
198
10296
95
N=int(input()) if N==1: ans=0 else: x=N*(N-1)/2*10**(N-2) ans=x%(7+10**9) print(int(ans))
Traceback (most recent call last): File "/tmp/tmpupzwz7cj/tmpku1rf4ui.py", line 1, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s227265750
p02554
u976887940
1600093732
Python
Python (3.8.2)
py
Runtime Error
199
10444
90
N=int(input()) if N==1: ans=0 else: x=N*(N-1)/2*10**(N-2) ans=x/(7+10**9) print(ans)
Traceback (most recent call last): File "/tmp/tmpxql6qx29/tmpre_otd_f.py", line 1, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s812887441
p02554
u706659319
1600093617
Python
PyPy3 (7.3.0)
py
Runtime Error
131
74380
202
tmp = 10 ** 9 + 7 def div(n,T): _ = 1 for t in range(T): _ *= n _ %= tmp return _ N = int(input()) a = div(10,N) b = div(9,N) c = div(8,N) print((a + c - 2 * b) % tmp
File "/tmp/tmp7d4chilo/tmptmz3m_yx.py", line 1 tmp = 10 ** 9 + 7 IndentationError: unexpected indent
s305040778
p02554
u636582303
1600093176
Python
Python (3.8.2)
py
Runtime Error
25
9080
172
mod = 10 ** 9 + 7 N = int(input()) result = 0 ten = pow(10, N, mod) nine = pow(9, N, mod) eight = pow(8, N, mod) result = (ten - 2 * nine + eight) % mode print(result)
Traceback (most recent call last): File "/tmp/tmpviinuuys/tmpy9mylnub.py", line 3, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s711712302
p02554
u592826944
1600093035
Python
PyPy3 (7.3.0)
py
Runtime Error
94
74496
77
n = int(input()) m=int(1e9+7) print(((pow(10,n,m)+pow(8,n,m)-2*pow(9,n,m))%m)
File "/tmp/tmpmc_lnx8i/tmpt3u5bzyb.py", line 3 print(((pow(10,n,m)+pow(8,n,m)-2*pow(9,n,m))%m) ^ SyntaxError: '(' was never closed
s033650015
p02554
u543000780
1600090884
Python
Python (3.8.2)
py
Runtime Error
27
8904
628
mod = 10**9+7 def fact(n): ans = 1 for num in range(n): ans = (ans*(num+1))%mod return ans def power(a,m,mod): if m == 0: return 1 elif m%2 == 0: return power(a*a%mod,m//2,mod)%mod else: return a*power(a,m-1,mod)%mod N = int(input()) if N == 1: print(0) else: ans = 0 for n1 in ran...
File "/tmp/tmpp9tj97kn/tmp9j4t7nh8.py", line 29 tmp1 *= power(tmp1,mod-2,mod)*power(tmp2,mod-2,mod)*power(fact(n1),mod-2,mod)*power(fact(n2),mod-2,mod)*power(8,N-n1-n2,mod) TabError: inconsistent use of tabs and spaces in indentation
s705896015
p02554
u252828980
1600087291
Python
Python (3.8.2)
py
Runtime Error
27
9012
99
n = int(input()) MOD = 10**9 + 7 ans = pow(10,n,MOD) - 2*pow(9.n,MOD) - pow(8,n,MOD) print(ans%MOD)
File "/tmp/tmpqs6dkeva/tmpozrf4_ys.py", line 3 ans = pow(10,n,MOD) - 2*pow(9.n,MOD) - pow(8,n,MOD) ^ SyntaxError: invalid decimal literal
s987905954
p02554
u637289184
1600086581
Python
Python (3.8.2)
py
Runtime Error
26
9136
92
n = int(input()) mod = 10**9+7 print ((pow(10,N,mod) - 2*pow(9,N,mod) + pow(8,N,mod)) % mod)
Traceback (most recent call last): File "/tmp/tmpflp6pqn0/tmpnmhhm3o5.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line