about summary refs log tree commit diff
path: root/NTU/gacho.c
diff options
context:
space:
mode:
Diffstat (limited to 'NTU/gacho.c')
-rw-r--r--NTU/gacho.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/NTU/gacho.c b/NTU/gacho.c
deleted file mode 100644
index 6df8548..0000000
--- a/NTU/gacho.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdio.h>
-
-int main()
-{
-	long n, m, g, c;
-
-	scanf("%ld %ld", &n, &m);
-
-	g = n*2 - m/2;
-	c = m/2 - n;
-
-	if ((g + c == n) && (g*2 + c*4 == m) && (g >= 0) && (c >= 0))
-		printf("%ld %ld\n", g, c);
-	else
-		puts("-1");
-
-	return 0;
-}