Added python script for test input generation and shell script for running
This commit is contained in:
parent
614dfdd03d
commit
8555f1e30e
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
a.out
|
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