about summary refs log tree commit diff
path: root/codechef/dynamo.py
diff options
context:
space:
mode:
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()