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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s371224977 | p02552 | u995109095 | 1600023858 | Python | PyPy3 (7.3.0) | py | Runtime Error | 99 | 68620 | 133 | import sys
import collections as cc
import math as mt
I=lambda:list(map(int,input().split()))
a,b,c,d=I()
print(max(a*c,a*d,b*d,b*d)) | Traceback (most recent call last):
File "/tmp/tmpqce425v8/tmp8k7m2zb9.py", line 5, in <module>
a,b,c,d=I()
^^^
File "/tmp/tmpqce425v8/tmp8k7m2zb9.py", line 4, in <lambda>
I=lambda:list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s503358878 | p02552 | u316152477 | 1600023853 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8932 | 62 | x = int(import())
if x == 0:
print(1)
else:
print(0) | File "/tmp/tmp1q8nkdjr/tmph1bz51js.py", line 1
x = int(import())
^^^^^^
SyntaxError: invalid syntax
| |
s656498756 | p02552 | u614063956 | 1600023831 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8860 | 79 | x = int(input())
if x == 0:
print(1)
else:
print(0) | File "/tmp/tmpznbkcyml/tmpgvqa4si0.py", line 1
x = int(input())
IndentationError: unexpected indent
| |
s705616814 | p02552 | u964462358 | 1600023825 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9008 | 20 | print(!int(input())) | File "/tmp/tmppzi978n_/tmp191wgo03.py", line 1
print(!int(input()))
^
SyntaxError: invalid syntax
| |
s915620920 | p02552 | u456225659 | 1600023810 | Python | Python (3.8.2) | py | Runtime Error | 24 | 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/tmpkj7pvs39/tmp7ofeugf8.py", line 1, in <module>
a,b,c,d=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s877041202 | p02552 | u649769812 | 1600023809 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9000 | 68 | x = int(input())
if x == 0:
print(1)
else x == 1:
print(0)
| File "/tmp/tmp0ocu1pol/tmpbhm7ya11.py", line 5
else x == 1:
^
SyntaxError: expected ':'
| |
s169053174 | p02552 | u212347962 | 1600023805 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9012 | 79 | x = int(input())
if(x == 0):
print('1')
elif(x == 1):
print('0')
else: | File "/tmp/tmpudoy3oa3/tmpb520_7zl.py", line 7
else:
IndentationError: expected an indented block after 'else' statement on line 7
| |
s204531589 | p02552 | u404034840 | 1600023804 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9000 | 30 | print(-(int(inpuut())-1))
| Traceback (most recent call last):
File "/tmp/tmpv_3uecus/tmp7oobe2ye.py", line 1, in <module>
print(-(int(inpuut())-1))
^^^^^^
NameError: name 'inpuut' is not defined. Did you mean: 'input'?
| |
s129795924 | p02552 | u508742316 | 1600023803 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9000 | 61 | x = input()
if x = "0":
print(1)
elif x = "1":
print(0) | File "/tmp/tmposa_w5vc/tmpk8l3ten0.py", line 2
if x = "0":
^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s721601825 | p02552 | u963944915 | 1600023795 | Python | PyPy3 (7.3.0) | py | Runtime Error | 193 | 74496 | 59 | x=int(input())
if x==0:
print('1')
else:
print('0') | File "/tmp/tmpixni7nmq/tmpb1t5gfjt.py", line 4
else:
^^^^
SyntaxError: invalid syntax
| |
s833024987 | p02552 | u354862173 | 1600023772 | Python | PyPy3 (7.3.0) | py | Runtime Error | 158 | 68700 | 948 | import sys
from math import ceil as C, floor as F, sqrt, gcd as G
from collections import defaultdict as D, Counter as CNT
from functools import reduce as R
import heapq as HQ
class Heap:
def __init__(self, data, reverse=False):
self.reverse = -1 if reverse else 1
self.data = [self.reverse * d for d in data]... | Traceback (most recent call last):
File "/tmp/tmpq6pcfuyg/tmp3jnvxwel.py", line 26, in <module>
x = I()
^^^
File "/tmp/tmpq6pcfuyg/tmp3jnvxwel.py", line 22, in I
def I(): return _I(S())
^^^^^^^
File "/tmp/tmpq6pcfuyg/tmp3jnvxwel.py", line 21, in _I
def _I(ss): return tuple(... | |
s275371317 | p02552 | u454356633 | 1600023763 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9008 | 59 | x = int(input())
if x == 0:
print(1)
else
print(0) | File "/tmp/tmppj66oilb/tmpj5ec8sk3.py", line 5
else
^
SyntaxError: expected ':'
| |
s402709112 | p02552 | u244416763 | 1600023762 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9152 | 71 | a, b, c, d = map(int, input().split())
print(max([a*c, a*d, b*c, c*d])) | Traceback (most recent call last):
File "/tmp/tmp47odwl9p/tmp0be9ben4.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s743689466 | p02552 | u582435914 | 1600023760 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9020 | 58 | h=int(input())
if x==1:
print(0)
if x==0:
print(-1)
| Traceback (most recent call last):
File "/tmp/tmpznyc4vnj/tmptw2qqmfn.py", line 1, in <module>
h=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s263324904 | p02552 | u273914730 | 1600023757 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9072 | 41 | if x==0:
return 1
elif x==1:
return 0 | File "/tmp/tmp5lpwiy97/tmp94n7wjiy.py", line 2
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s333964456 | p02552 | u987846648 | 1600023755 | Python | PyPy3 (7.3.0) | py | Runtime Error | 159 | 68484 | 58 | x = int(input())
if x = 1:
print("0")
else:
print("1") | File "/tmp/tmpb1eu06g8/tmps3mydpnv.py", line 2
if x = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s620809301 | p02552 | u914883924 | 1600023749 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8936 | 55 | x=int(input())
if x==0;
print(1)
else;
print(0) | File "/tmp/tmpjzhpn5hj/tmprxz44kr0.py", line 2
if x==0;
^
SyntaxError: invalid syntax
| |
s856010912 | p02552 | u372184187 | 1600023748 | Python | PyPy3 (7.3.0) | py | Runtime Error | 165 | 74532 | 130 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << ((x == 0) ? 1 : 0) << endl;
return 0;
}
| File "/tmp/tmpgfguh0df/tmptesgmigi.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s477919051 | p02552 | u517682687 | 1600023745 | Python | Python (3.8.2) | py | Runtime Error | 121 | 27152 | 234 | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import plotly.express as px
import statsmodels.api as sm
x = int(input())
# h_list = list(map(int, input().split()))
if x == 0:
print(1)
else:
print(0)
| Traceback (most recent call last):
File "/tmp/tmphin_be59/tmprxpe3w59.py", line 8, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s509718691 | p02552 | u322442506 | 1600023744 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8952 | 57 | x=int(input())
if x==0:
print('1')
else:
print('0 | File "/tmp/tmpx9v250mc/tmpe416mm2x.py", line 5
print('0
^
SyntaxError: unterminated string literal (detected at line 5)
| |
s289489774 | p02552 | u013617325 | 1600023742 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8944 | 567 | #!/usr/bin/env python3
import sys
def solve(x: int):
if x == 1:
return print('0')
elif x == 0:
return print('1')1
# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template)
def main... | File "/tmp/tmpiaizmfxw/tmpmempfjva.py", line 11
return print('1')1
^
SyntaxError: invalid syntax
| |
s858245900 | p02552 | u835095496 | 1600023733 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8888 | 262 | def run(x):
'''
'''
print('{}'.format(0 if x==1 else 1))
if __name__ == '__main__':
x = int(input())
run(x)def run(x):
'''
'''
print('{}'.format(0 if x==1 else 1))
if __name__ == '__main__':
x = int(input())
run(x) | File "/tmp/tmpgeb8n2kh/tmpd42lajwh.py", line 11
run(x)def run(x):
^^^
SyntaxError: invalid syntax
| |
s311243848 | p02552 | u722829410 | 1600023719 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8940 | 57 | a = int(input()
if a = 1:
print(0)
else:
print(1) | File "/tmp/tmpvo8z44tz/tmpua1plwzw.py", line 1
a = int(input()
^
SyntaxError: '(' was never closed
| |
s166665160 | p02552 | u308914480 | 1600023716 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8940 | 45 | x=input()
if x=0:
print(1)
else:
print(0) | File "/tmp/tmp38hpt6lu/tmpn6saagpw.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s103202472 | p02552 | u329271833 | 1600023715 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8940 | 62 | x = int(input())
if x = 1:
print("0")
if x = 0:
print("1") | File "/tmp/tmpe_1kwd4o/tmpl90gv2l6.py", line 2
if x = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s674421269 | p02552 | u697690147 | 1600023711 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8948 | 41 | x = int(input)
print(1 if x == 0 else 0) | Traceback (most recent call last):
File "/tmp/tmp930_jpt3/tmp90dqkosh.py", line 1, in <module>
x = int(input)
^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
| |
s385633659 | p02552 | u466916194 | 1600023702 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9144 | 59 | n = int(input())
if x == 1:
print("0")
else:
print("1") | Traceback (most recent call last):
File "/tmp/tmppzi3c4mb/tmphhnihylr.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s430953934 | p02552 | u114868394 | 1600023702 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9000 | 54 | x=int(input())
if x=0:
print(1)
else:
print(0) | File "/tmp/tmp8uj9ullb/tmppmqnkux1.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s507959501 | p02552 | u448922807 | 1600023701 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8952 | 55 | x = input()
if x == 0:
print(1)
else:
print(0)1 | File "/tmp/tmp0mz4ha70/tmpckuo_y_z.py", line 5
print(0)1
^
SyntaxError: invalid syntax
| |
s062530943 | p02552 | u660237354 | 1600023701 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9000 | 946 | #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/tmpgdyu8wmx/tmpvnhztue6.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s391138696 | p02552 | u408148811 | 1600023696 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9004 | 46 | n=int(input())
if (n==0)print(1)
else print(0) | File "/tmp/tmpn3aw4kma/tmpuey7acxu.py", line 2
if (n==0)print(1)
^^^^^
SyntaxError: invalid syntax
| |
s377925543 | p02552 | u345621867 | 1600023694 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9000 | 146 | C:\Users\satosyuuta\Anaconda3\python.exe C:/Users/satosyuuta/PycharmProjects/untitled/xtb/AtCorder/test.py
0
1
Process finished with exit code 0
| File "/tmp/tmpvgcc1k13/tmpfruo5b8k.py", line 1
C:\Users\satosyuuta\Anaconda3\python.exe C:/Users/satosyuuta/PycharmProjects/untitled/xtb/AtCorder/test.py
^
SyntaxError: unexpected character after line continuation character
| |
s978618890 | p02552 | u234680893 | 1600023694 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9004 | 59 | x=int(input())
if(x==1):
print(0)
elif(x==0):
print(1) | File "/tmp/tmpkay7owen/tmp3y5e2vzj.py", line 4
elif(x==0):
^
IndentationError: unindent does not match any outer indentation level
| |
s153612417 | p02552 | u308914480 | 1600023691 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8936 | 49 | x=input()
if x=0:
print("1")
else:
print("0") | File "/tmp/tmp42o_pz8m/tmpvyjrqjx0.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s607889267 | p02552 | u837340160 | 1600023689 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9164 | 61 | x = int(input())
if x == 0:
prine(1)
else:
print(0)
| Traceback (most recent call last):
File "/tmp/tmpslbam49_/tmp7owrkyn3.py", line 1, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s159009508 | p02552 | u000671615 | 1600023689 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9012 | 54 | n=input()
if(n==1):
print("0")
if(n==0):
print("1) | File "/tmp/tmpnrq19txg/tmp8jd3pjbc.py", line 5
print("1)
^
SyntaxError: unterminated string literal (detected at line 5)
| |
s049693520 | p02552 | u273914730 | 1600023689 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9076 | 36 | if x==0:
return 1
else:
return 0 | File "/tmp/tmpnmi6_ukl/tmpe1jw1amj.py", line 2
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s578673797 | p02552 | u952669998 | 1600023686 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9008 | 65 | X = int(input())
if X == 1:
print(0)
else:1
print(1)
| File "/tmp/tmp66xbq4pf/tmpg5f7o16n.py", line 5
print(1)
IndentationError: unexpected indent
| |
s270002503 | p02552 | u404034840 | 1600023684 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9072 | 60 | x = int(inpuut())
if x ==1:
print(0)
else:
print(1)
| Traceback (most recent call last):
File "/tmp/tmpmm1zl62r/tmpa0d9t10_.py", line 1, in <module>
x = int(inpuut())
^^^^^^
NameError: name 'inpuut' is not defined. Did you mean: 'input'?
| |
s519667705 | p02552 | u984901905 | 1600023682 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8940 | 54 | x = int(input())
if x = 1:
print(0)
else:
print(1) | File "/tmp/tmp19sh0w5i/tmpn0nxiunm.py", line 2
if x = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s201469065 | p02552 | u444766154 | 1600023680 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9004 | 37 | if x = 0:
print(1)
else:
print(0) | File "/tmp/tmpnbywhbuz/tmpsp3tdkf4.py", line 1
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s130588349 | p02552 | u182697674 | 1600023679 | Python | PyPy3 (7.3.0) | py | Runtime Error | 225 | 68540 | 11558 | #pragma GCC target ("sse4.2")
#include<bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define PB push_back
#define ln "\n"
#define forn(i,e) for(ll i=0; i<e; i++)
#define forsn(i,s,e) for(ll i=s; i<e; i++)
#define rforn(i,e) for(ll i=e; i>=0; i--)
#define rforsn(i,e,s) for(ll i=e; i>=s; i--)
#de... | File "/tmp/tmp2dg0gygf/tmpcbb8k836.py", line 4
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s927685508 | p02552 | u577244731 | 1600023675 | Python | PyPy3 (7.3.0) | py | Runtime Error | 212 | 68492 | 63 | x = int(input())
if x = 1:
print("0")
else:
print("1") | File "/tmp/tmpl4a9pnt7/tmp2v8gzx7b.py", line 3
if x = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s343143388 | p02552 | u205116974 | 1600023674 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9144 | 66 | n = int(input())
if x == 0:
print(1)
elif x == 1:
print(0) | Traceback (most recent call last):
File "/tmp/tmpm9k_8t1k/tmpepraj565.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s384203271 | p02552 | u766646838 | 1600023673 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9080 | 52 | N = int(input)
if N ==0:
print(1)
else:
print(0) | Traceback (most recent call last):
File "/tmp/tmps5tv37o3/tmp9yquh_po.py", line 1, 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'
| |
s462218055 | p02552 | u150155436 | 1600023672 | Python | PyPy3 (7.3.0) | py | Runtime Error | 151 | 68480 | 175 | #include <bits/stdc++.h>
using namespace std;
int main(void)
{
int x;
cin >> x;
if (x == 1)
cout << 0 << endl;
else
cout << 1 << endl;
return 0;
}
| File "/tmp/tmptklvgm2h/tmpbq7bmtui.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s698809373 | p02552 | u631521893 | 1600023672 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9144 | 37 | n = int(input())
print(0 if x else 0) | Traceback (most recent call last):
File "/tmp/tmp23y_o7jh/tmptcfjg_93.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s105081208 | p02552 | u163543660 | 1600023670 | Python | PyPy3 (7.3.0) | py | Runtime Error | 150 | 68480 | 54 | x=int(input())
if x=0:
print(1)
else:
print(0) | File "/tmp/tmppnykqxcd/tmphane24s1.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s757116648 | p02552 | u477946982 | 1600023668 | Python | PyPy3 (7.3.0) | py | Runtime Error | 182 | 68504 | 608 | #include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/times.h> // 構造体tmsを使うために必要.
#include <time.h>
#include <unistd.h>
// #include <iostream>
// #include <gmpxx.h>
// コンパイル時に
// -lgmpxx -lgmp
// printf("%d\n", x); => std::cout << x << "\n";
// scanf("%d", &x)... | File "/tmp/tmpzcc2n4t2/tmpyu6hvucj.py", line 9
// #include <iostream>
^^
SyntaxError: invalid syntax
| |
s864903075 | p02552 | u852790844 | 1600023666 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8940 | 70 | x = int(input())
if x == 1:
ans = 0
else:
ans = 1
print(ans) | File "/tmp/tmp_x3gfzl9/tmp3ur5fy_6.py", line 2
if x == 1:
^
SyntaxError: invalid non-printable character U+3000
| |
s776374599 | p02552 | u357120030 | 1600023665 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9044 | 36 | if x == 1:
print(0)
else:
print(1) | Traceback (most recent call last):
File "/tmp/tmps2hx75wt/tmpn5gaom_4.py", line 1, in <module>
if x == 1:
^
NameError: name 'x' is not defined
| |
s577337549 | p02552 | u987846648 | 1600023663 | Python | PyPy3 (7.3.0) | py | Runtime Error | 139 | 68492 | 54 | x = int(input())
if x = 0:
print(1)
else:
print(0) | File "/tmp/tmp2mvt07d9/tmpjwdybzz1.py", line 2
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s852612060 | p02552 | u222668979 | 1600023658 | Python | PyPy3 (7.3.0) | py | Runtime Error | 196 | 68592 | 45 | n = int(input())
print(1 if x == 0 else 0)
| Traceback (most recent call last):
File "/tmp/tmptxe2rtvi/tmp1odkw3jz.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s205478284 | p02552 | u273914730 | 1600023653 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8940 | 35 | if x=0:
return 1
else:
return 0 | File "/tmp/tmpey8b69dz/tmpa6bmw8ns.py", line 1
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s174641283 | p02552 | u266675845 | 1600023650 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8944 | 59 | x = int(input())
if x == 0:
print(1)
els:
print(0) | File "/tmp/tmp39ci2qo2/tmpyx_yi92s.py", line 5
els:
^
SyntaxError: invalid syntax
| |
s871396058 | p02552 | u497883442 | 1600023648 | Python | Python (3.8.2) | py | Runtime Error | 32 | 8936 | 140 | #include <bits/stdc++.h>
using namespace std;
int main(){
int x;
cin >> x;
if(x == 0) cout << 1 << endl;
else cout << 0 << endl;
}
| File "/tmp/tmprzjberwk/tmppn1vlwxq.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s609980582 | p02552 | u818210145 | 1600023648 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9012 | 28 | a = int(intput())
print(a^1) | Traceback (most recent call last):
File "/tmp/tmpi_u1yk5x/tmpugv9b226.py", line 1, in <module>
a = int(intput())
^^^^^^
NameError: name 'intput' is not defined. Did you mean: 'input'?
| |
s600249105 | p02552 | u421674761 | 1600023647 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8940 | 62 | 1x = int(input())
if x == 1:
print(0)
else:
print(1)
| File "/tmp/tmpy3u6z1pc/tmpkjs1gafz.py", line 1
1x = int(input())
^
SyntaxError: invalid decimal literal
| |
s903195919 | p02552 | u656329490 | 1600023647 | Python | PyPy3 (7.3.0) | py | Runtime Error | 143 | 68508 | 24 | n=int(input())
print(!n) | File "/tmp/tmpf1btb9rv/tmp6tgcnsnr.py", line 2
print(!n)
^
SyntaxError: invalid syntax
| |
s338789699 | p02552 | u371409687 | 1600023644 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8916 | 30 | print(0 if input()='1' else 1) | File "/tmp/tmpj4b_zopg/tmpvzwxb3g5.py", line 1
print(0 if input()='1' else 1)
^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s027111195 | p02552 | u222668979 | 1600023641 | Python | PyPy3 (7.3.0) | py | Runtime Error | 152 | 68500 | 45 | n = int(input())
print(1 in x == 0 else 0)
| File "/tmp/tmp5rfrc8a9/tmpw82b02qy.py", line 3
print(1 in x == 0 else 0)
^^^^
SyntaxError: invalid syntax
| |
s198565790 | p02552 | u642528832 | 1600023634 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8908 | 22 | print(['0','1'][x==1]) | Traceback (most recent call last):
File "/tmp/tmpz0lf660q/tmpfnk914gb.py", line 1, in <module>
print(['0','1'][x==1])
^
NameError: name 'x' is not defined
| |
s339490036 | p02552 | u309120194 | 1600023634 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9144 | 51 | x = int(input())
if x == 0: pritn(1)
else: print(0) | Traceback (most recent call last):
File "/tmp/tmpq_y8glkq/tmpy94bidvr.py", line 1, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s752096024 | p02552 | u714570212 | 1600023631 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9012 | 20 | print(1-int(input()) | File "/tmp/tmpbdlihvu2/tmpl1o1xwtd.py", line 1
print(1-int(input())
^
SyntaxError: '(' was never closed
| |
s448697971 | p02552 | u440161695 | 1600023619 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9004 | 19 | print(~int(input()) | File "/tmp/tmpaik29gcm/tmp5wid45ii.py", line 1
print(~int(input())
^
SyntaxError: '(' was never closed
| |
s970475081 | p02552 | u211544300 | 1600023618 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9012 | 26 | a = int(input())
print(!a) | File "/tmp/tmpybnrveca/tmpadk0jwf0.py", line 2
print(!a)
^
SyntaxError: invalid syntax
| |
s196919659 | p02552 | u864197622 | 1600023615 | Python | PyPy3 (7.3.0) | py | Runtime Error | 171 | 68600 | 19 | print(int(input)^1) | Traceback (most recent call last):
File "/tmp/tmpv2lchjcb/tmp0elgsqje.py", line 1, in <module>
print(int(input)^1)
^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
| |
s465822789 | p02553 | u447837274 | 1600701187 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8800 | 90 | a,b,c,d = map(int,input().split())
max = a*c
if max > bd:
print(max)
else:
print(bd)
| Traceback (most recent call last):
File "/tmp/tmpdcqvchvu/tmpi3_t7ukh.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s922117515 | p02553 | u921676506 | 1600680459 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9036 | 104 | a, b, c, d = input().split()
xy1 = a*c
xy2 = a*d
xy3 = b*c
xy4 = b*d
print(max([xy1, xy2, xy3, xy4])) | Traceback (most recent call last):
File "/tmp/tmpr9yxdzns/tmp23c_5hrc.py", line 1, in <module>
a, b, c, d = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s531299394 | p02553 | u921676506 | 1600679984 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9036 | 124 | a = input()
b = input()
c = input()
d = input()
xy1 = a*c
xy2 = a*d
xy3 = b*c
xy4 = b*d
print(max([xy1, xy2, xy3, xy4])) | Traceback (most recent call last):
File "/tmp/tmpykiu1l0_/tmp5tnro199.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s314155201 | p02553 | u921676506 | 1600679851 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9116 | 154 | input_line = input()
x = input_line.split()
a = x[0]
b = x[1]
c = x[2]
d = x[3]
xy1 = a*c
xy2 = a*d
xy3 = b*c
xy4 = b*d
print(max([xy1, xy2, xy3, xy4])) | Traceback (most recent call last):
File "/tmp/tmp7xvyl20f/tmpizzl81py.py", line 1, in <module>
input_line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s615258724 | p02553 | u451973336 | 1600626308 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9052 | 133 | a,b,c,d = int(input().split(" "))
ab = a*b
ac = a*c
ad = a*d
bc = b*c
bd = b*d
cd = c*d
x = [ab, ac, ad, bc, bd, cd]
print(max(x))
| Traceback (most recent call last):
File "/tmp/tmpgrj_vdi2/tmpg2fb2909.py", line 1, in <module>
a,b,c,d = int(input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s964395286 | p02553 | u451973336 | 1600626205 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9108 | 125 | a,b,c,d = int(input().split(" "))
ab = a*b
ac = a*c
ad = a*d
bc = b*c
bd = b*d
cd = c*d
print(max(ab, ac, ad, bc, bd, cd))
| Traceback (most recent call last):
File "/tmp/tmpn4k48kk_/tmpg4y18tw2.py", line 1, in <module>
a,b,c,d = int(input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s239607121 | p02553 | u451973336 | 1600626168 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9108 | 125 | a,b,c,d = int(input().split(" "))
ab = a*b
ac = a*c
ad = a*d
bc = b*c
bd = b*d
cd = c*d
print(max(ab, ac, ad, bc, bd. cd))
| Traceback (most recent call last):
File "/tmp/tmp495yjr6o/tmpyph565bo.py", line 1, in <module>
a,b,c,d = int(input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s268207939 | p02553 | u548272916 | 1600621137 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9168 | 337 | a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a >= 0 and b >= 0 and c >= 0 and d >= 0:
answer = b*d
elif a <0 and b<0 and c <0 and d <0:
answer = a*c
elif a < 0 and c < 0 and b >= 0 and d >= 0:
temp1 = -a
temp2 = -c
temp3 = max(temp1,b)
temp4 = max(temp2,d)
answer = temp3*tem... | Traceback (most recent call last):
File "/tmp/tmpgrmie61p/tmpmdwgll23.py", line 1, in <module>
a,b,c,d = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s279589120 | p02553 | u966648240 | 1600616874 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9176 | 152 | n=int(input())
mod=10**9+7
dp=[0]*2001
dp[0]=1
sdp=[0]*2001
sdp[0]=1
for i in range(2000):
dp[i+1]=sdp[i-2]
sdp[i+1]=dp[i+1]+sdp[i]
print(dp[n]%mod) | Traceback (most recent call last):
File "/tmp/tmpk9qqljip/tmp2mmupy7i.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s813543902 | p02553 | u754511616 | 1600549084 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8868 | 131 | a,b,c,d=list(map(int,input().split()))
if (b and d)<=0:
print(a*c):
elif (b of d)<=0:
print(a*c)
else:
print(d*b)
| File "/tmp/tmp6ab_uo7d/tmp8i1wt2ni.py", line 3
print(a*c):
^
SyntaxError: invalid syntax
| |
s549760839 | p02553 | u514343483 | 1600546133 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9180 | 237 | N=int(input())
X=[]
Y=[]
for _ in range(N):
x, y = map(int, input().split())
X.append(x)
Y.append(y)
A="NO"
for n in range(N-2):
if X[n]==Y[n] and X[n+1]==Y[n+1] and X[n+2]==Y[n+2]:
A="YES"
break
print(A) | Traceback (most recent call last):
File "/tmp/tmppb106y0n/tmp2_fskaqi.py", line 1, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s753731187 | p02553 | u522293645 | 1600540373 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9120 | 62 | a,b,c,d = int(input().split())
print(max(a*c, a*d, b*c, b*d)) | Traceback (most recent call last):
File "/tmp/tmpydqg5xlu/tmp6_5iakng.py", line 1, in <module>
a,b,c,d = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s595541954 | p02553 | u573798494 | 1600521833 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9164 | 119 | a=int(input("a="))
b=int(input("b="))
c=int(input("c="))
d=int(input("d="))
X=max(a*c,a*d)
X=max(X,b*c)
X=max((X,b*d))
| Traceback (most recent call last):
File "/tmp/tmpmuhvzdny/tmp6s1hiszw.py", line 1, in <module>
a=int(input("a="))
^^^^^^^^^^^
EOFError: EOF when reading a line
| a= |
s738410372 | p02553 | u573798494 | 1600521742 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9128 | 127 | a=int(input("a="))
b=int(input("b="))
c=int(input("c="))
d=int(input("d="))
X=max(a*c,a*d)
X=max(X,b*c)
X=max((X,b*d))
print(X) | Traceback (most recent call last):
File "/tmp/tmptj46hnx0/tmp7fu3ahf6.py", line 1, in <module>
a=int(input("a="))
^^^^^^^^^^^
EOFError: EOF when reading a line
| a= |
s645720732 | p02553 | u182689172 | 1600517120 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9156 | 125 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
vetor = [a*c, a*d, b*c, b*d]
print(max(vetor, key=int))
| Traceback (most recent call last):
File "/tmp/tmpv3cb7l8s/tmpg1dk3c6j.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s621658703 | p02553 | u859547105 | 1600463940 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9108 | 69 | a,b,c,d,x,y = int(input())
if a<= x <= b and c <= y <= d:
print(b*d) | Traceback (most recent call last):
File "/tmp/tmp38l64nmr/tmphqgl8xl5.py", line 1, in <module>
a,b,c,d,x,y = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s919813338 | p02553 | u859547105 | 1600463857 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9072 | 77 | a,b,c,d,x,y = int(input())
if a<= x <= b and c <= y <= d:
print((b-1)*(d-1)) | Traceback (most recent call last):
File "/tmp/tmpa92k1uq3/tmptxe8641v.py", line 1, in <module>
a,b,c,d,x,y = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s811121359 | p02553 | u859547105 | 1600463689 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9152 | 69 | a,b,c,d,x,y = int(input())
if a<= x <= b and c <= y <= d:
print(x*y) | Traceback (most recent call last):
File "/tmp/tmpzaf_68ng/tmpg_jp60s8.py", line 1, in <module>
a,b,c,d,x,y = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s925710768 | p02553 | u629254463 | 1600463059 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9072 | 105 | def get_ints() :
list(map(int,input().split()))
a,b,c,d=get_ints()
ans=max(a*c,b*c,a*d,b*d)
print(ans) | Traceback (most recent call last):
File "/tmp/tmpzaok869z/tmpodbjeoa4.py", line 4, in <module>
a,b,c,d=get_ints()
^^^^^^^^^^
File "/tmp/tmpzaok869z/tmpodbjeoa4.py", line 2, in get_ints
list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s162506741 | p02553 | u767012807 | 1600452144 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9032 | 200 | a,b,c,d=int(input()),int(input()),int(input()),int(input())
x=range(a,b+1)
y=range(c,d+1)
i=0
J=0
list=[]
for i in x:
for j in y:
list.append(i*j)
j=j+1
i=i+1
print(max(list))
| Traceback (most recent call last):
File "/tmp/tmp1qofx_fy/tmpjxyxezr7.py", line 1, in <module>
a,b,c,d=int(input()),int(input()),int(input()),int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s937963484 | p02553 | u220302984 | 1600452081 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8928 | 385 | import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
System.out.println( M... | File "/tmp/tmpxu4q5_sk/tmpuxv5l9ok.py", line 1
import java.util.*;
^
SyntaxError: invalid syntax
| |
s145589446 | p02553 | u909616675 | 1600447705 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8884 | 155 | import itertool
a,b,c,d=int(input().split())
l=[a,b,c,d]
c=itertools.combinations(l,2)
ans=a*b
for i in c:
if i[0]*i[1]>ans:
ans=i[0]*i[1]
print(ans) | Traceback (most recent call last):
File "/tmp/tmp7gvcl7j1/tmpbnlx4bzd.py", line 1, in <module>
import itertool
ModuleNotFoundError: No module named 'itertool'
| |
s488431030 | p02553 | u616948395 | 1600443079 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9088 | 58 | x = input().Split()
a = int(x[1])
b = int(x[3])
print(a*b) | Traceback (most recent call last):
File "/tmp/tmpmf351em0/tmppkqubztd.py", line 1, in <module>
x = input().Split()
^^^^^^^
EOFError: EOF when reading a line
| |
s136047610 | p02553 | u795844873 | 1600441999 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9008 | 592 | import numpy as np
l = map(int, input().split())
[a, b, c, d] = l
[A, B, C, D] = np.abs(l)
[ab, cd, abcd, bc, Bb, ac] = [a*b, c*d, a*b*c*d, b*c, B*b, a*c]
if abcd>=0:
if bc<0:
if Bb<0:
print(b*c)
elif a<0:
print(b*d)
else... | File "/tmp/tmp22aqku6t/tmpgp20woby.py", line 1
import numpy as np
IndentationError: unexpected indent
| |
s310604582 | p02553 | u345690467 | 1600413582 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8936 | 43 | a = list(map(int,input().split()))
plint(a) | Traceback (most recent call last):
File "/tmp/tmpkk099vyz/tmplfyjadpy.py", line 1, in <module>
a = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s227635060 | p02553 | u950754160 | 1600374957 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9088 | 356 | a=int(input(''))
a=list(map(int,a))
b=(a[0])
c=(a[1])
d=(a[2])
e=(a[3])
f=b*d
g=b*e
h=c*d
i=c*e
if f>g:
if h>f:
if i>h:
print(i)
else:
print(h)
else:
if i>f:
print(i)
else:
print(f)
else:
if h>g:
if i>h:
print(i)
else:
print(h)
else:
if i>g:
... | Traceback (most recent call last):
File "/tmp/tmp8qsnjun0/tmpcf5yi4mw.py", line 1, in <module>
a=int(input(''))
^^^^^^^^^
EOFError: EOF when reading a line
| |
s871873366 | p02553 | u336828547 | 1600372842 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8928 | 61 | a,b,c,d=input().split( )
line[n]
x=int(b)
y=int(d)
print(x*y) | Traceback (most recent call last):
File "/tmp/tmp9nq43zix/tmphfgd9pox.py", line 1, in <module>
a,b,c,d=input().split( )
^^^^^^^
EOFError: EOF when reading a line
| |
s996385259 | p02553 | u336828547 | 1600372336 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9036 | 58 | n=input()
line[n]
x=int(line[1])
y=int(line[3])
print(x*y) | Traceback (most recent call last):
File "/tmp/tmpy5qr839q/tmpezb2gtsu.py", line 1, in <module>
n=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s312267405 | p02553 | u883206036 | 1600359703 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9100 | 244 | a,b,c,d = map(int,input().split())
if(b<=0 and d<=0):
print(a*c)
elif(b<0 or d<0):
if(((a<0 and b>0) or (c<0 and d>0))):
print(0)
elif(a>0 and b>0):
print(d*a)
elif(c>0 and d>0):
print(b*ChildProcessError)
else:
print(b*d) | Traceback (most recent call last):
File "/tmp/tmp8462gf8f/tmpx1pop3no.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s611977190 | p02553 | u742260762 | 1600342944 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8960 | 306 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a,b,c,d >= 0, or c < 0 and a,b,d >= 0, or a < 0 and b,c,d >=0:
print(b*d)
if a,b,c,d < 0, or a,c,d < 0 and b >=0, a,b,c < 0 and d >=0:
print(a*c)
if a,c < 0 and b,d >=0:
if a*c >= b*d:
print(a*c)
else:
print(b*d)
| File "/tmp/tmp4lkc2zyz/tmpnufv6x_v.py", line 6
if a,b,c,d >= 0, or c < 0 and a,b,d >= 0, or a < 0 and b,c,d >=0:
^
SyntaxError: invalid syntax
| |
s640067247 | p02553 | u936988827 | 1600340354 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9020 | 115 | x=input().rstrip.split(" ")
z=[]
for i in range(2):
z.append(x[i-2]*x[0])
z.append(x[i-2]*x[1])
print(max(z))
| File "/tmp/tmpqcyjntw0/tmpvmbix4jb.py", line 5
z.append(x[i-2]*x[1])
^
IndentationError: unindent does not match any outer indentation level
| |
s512996360 | p02553 | u936988827 | 1600340215 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8980 | 115 | x=input().rstrip.split(" ")
z=[]
for i in range(2):
for y in range(2):
z.append(x[i-2]*x[y-2])
print(max(z)) | File "/tmp/tmpropw59sd/tmps1uyyc7e.py", line 5
z.append(x[i-2]*x[y-2])
^
IndentationError: unindent does not match any outer indentation level
| |
s195890377 | p02553 | u853728588 | 1600332448 | Python | PyPy2 (7.3.0) | py | Runtime Error | 426 | 84904 | 69 | a, b, c, d = map(int, input().split())
print(max(a*c, a*d, b*c, b*d)) | Traceback (most recent call last):
File "/tmp/tmpd9l5d2k3/tmpowph2q0d.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.