about summary refs log tree commit diff
path: root/codechef/dynamo.py
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2020-01-13 16:29:31 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2020-01-13 16:29:31 +0700
commit65b8ebda4c47fa27ac28899fb2b29097f445b6df (patch)
treee43589f1f02ab11946006b70fe79c79d82629f11 /codechef/dynamo.py
parent0887d8f96950a060a122e14ed2981182ff1eb37d (diff)
downloadcp-65b8ebda4c47fa27ac28899fb2b29097f445b6df.tar.gz
I'm so burnt out rn
Diffstat (limited to 'codechef/dynamo.py')
-rwxr-xr-xcodechef/dynamo.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/codechef/dynamo.py b/codechef/dynamo.py
new file mode 100755
index 0000000..429a604
--- /dev/null
+++ b/codechef/dynamo.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+for t in range(int(input())):
+    n = 10 ** int(input())
+    print(n*2 + int(input()), flush=True)
+    print(n - int(input()), flush=True)
+    print(n - int(input()), flush=True)
+    input()