Added python script for test input generation and shell script for running
This commit is contained in:
parent
614dfdd03d
commit
8555f1e30e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ a.out
|
|||||||
main
|
main
|
||||||
.vscode
|
.vscode
|
||||||
vgcore*
|
vgcore*
|
||||||
|
output.txt
|
11
input.py
Normal file
11
input.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
try:
|
||||||
|
n = int(sys.argv[1])
|
||||||
|
except:
|
||||||
|
n = 5
|
||||||
|
|
||||||
|
print(n)
|
||||||
|
|
||||||
|
for i in range(n):
|
||||||
|
print(i, -i if i % 2 == 0 else i)
|
Loading…
x
Reference in New Issue
Block a user