aboutsummaryrefslogtreecommitdiff
path: root/test/010_math_permsign
diff options
context:
space:
mode:
Diffstat (limited to 'test/010_math_permsign')
-rw-r--r--test/010_math_permsign/00_solved.in8
-rw-r--r--test/010_math_permsign/00_solved.out1
-rw-r--r--test/010_math_permsign/01_3cycle.in6
-rw-r--r--test/010_math_permsign/01_3cycle.out1
-rw-r--r--test/010_math_permsign/02_22swap.in13
-rw-r--r--test/010_math_permsign/02_22swap.out1
-rw-r--r--test/010_math_permsign/03_singleswap.in7
-rw-r--r--test/010_math_permsign/03_singleswap.out1
-rw-r--r--test/010_math_permsign/04_5ycle.in11
-rw-r--r--test/010_math_permsign/04_5ycle.out1
-rw-r--r--test/010_math_permsign/05_6ycle.in9
-rw-r--r--test/010_math_permsign/05_6ycle.out1
-rw-r--r--test/010_math_permsign/permsgn_tests.c20
13 files changed, 0 insertions, 80 deletions
diff --git a/test/010_math_permsign/00_solved.in b/test/010_math_permsign/00_solved.in
deleted file mode 100644
index 54b5db0..0000000
--- a/test/010_math_permsign/00_solved.in
+++ /dev/null
@@ -1,8 +0,0 @@
17
20
31
42
53
64
75
86
diff --git a/test/010_math_permsign/00_solved.out b/test/010_math_permsign/00_solved.out
deleted file mode 100644
index 573541a..0000000
--- a/test/010_math_permsign/00_solved.out
+++ /dev/null
@@ -1 +0,0 @@
10
diff --git a/test/010_math_permsign/01_3cycle.in b/test/010_math_permsign/01_3cycle.in
deleted file mode 100644
index bfabfd6..0000000
--- a/test/010_math_permsign/01_3cycle.in
+++ /dev/null
@@ -1,6 +0,0 @@
15
20
34
41
53
62
diff --git a/test/010_math_permsign/01_3cycle.out b/test/010_math_permsign/01_3cycle.out
deleted file mode 100644
index 573541a..0000000
--- a/test/010_math_permsign/01_3cycle.out
+++ /dev/null
@@ -1 +0,0 @@
10
diff --git a/test/010_math_permsign/02_22swap.in b/test/010_math_permsign/02_22swap.in
deleted file mode 100644
index d0b0921..0000000
--- a/test/010_math_permsign/02_22swap.in
+++ /dev/null
@@ -1,13 +0,0 @@
112
20
31
48
53
65
74
86
97
102
119
1210
1311
diff --git a/test/010_math_permsign/02_22swap.out b/test/010_math_permsign/02_22swap.out
deleted file mode 100644
index 573541a..0000000
--- a/test/010_math_permsign/02_22swap.out
+++ /dev/null
@@ -1 +0,0 @@
10
diff --git a/test/010_math_permsign/03_singleswap.in b/test/010_math_permsign/03_singleswap.in
deleted file mode 100644
index 42a584b..0000000
--- a/test/010_math_permsign/03_singleswap.in
+++ /dev/null
@@ -1,7 +0,0 @@
16
24
31
42
53
60
75
diff --git a/test/010_math_permsign/03_singleswap.out b/test/010_math_permsign/03_singleswap.out
deleted file mode 100644
index d00491f..0000000
--- a/test/010_math_permsign/03_singleswap.out
+++ /dev/null
@@ -1 +0,0 @@
11
diff --git a/test/010_math_permsign/04_5ycle.in b/test/010_math_permsign/04_5ycle.in
deleted file mode 100644
index 630f6fa..0000000
--- a/test/010_math_permsign/04_5ycle.in
+++ /dev/null
@@ -1,11 +0,0 @@
110
20
31
46
52
63
74
85
97
108
119
diff --git a/test/010_math_permsign/04_5ycle.out b/test/010_math_permsign/04_5ycle.out
deleted file mode 100644
index 573541a..0000000
--- a/test/010_math_permsign/04_5ycle.out
+++ /dev/null
@@ -1 +0,0 @@
10
diff --git a/test/010_math_permsign/05_6ycle.in b/test/010_math_permsign/05_6ycle.in
deleted file mode 100644
index a226bae..0000000
--- a/test/010_math_permsign/05_6ycle.in
+++ /dev/null
@@ -1,9 +0,0 @@
18
26
30
41
53
62
74
85
97
diff --git a/test/010_math_permsign/05_6ycle.out b/test/010_math_permsign/05_6ycle.out
deleted file mode 100644
index d00491f..0000000
--- a/test/010_math_permsign/05_6ycle.out
+++ /dev/null
@@ -1 +0,0 @@
11
diff --git a/test/010_math_permsign/permsgn_tests.c b/test/010_math_permsign/permsgn_tests.c
deleted file mode 100644
index 04975db..0000000
--- a/test/010_math_permsign/permsgn_tests.c
+++ /dev/null
@@ -1,20 +0,0 @@
1#include "../test.h"
2
3int permsign(uint8_t *, int);
4
5void run(void) {
6 char str[STRLENMAX];
7 uint8_t a[100];
8 int n, i, p;
9
10 fgets(str, STRLENMAX, stdin);
11 n = atoi(str);
12
13 for (i = 0; i < n; i++) {
14 fgets(str, STRLENMAX, stdin);
15 a[i] = atoi(str);
16 }
17
18 p = permsign(a, n);
19 printf("%d\n", p);
20}

Generated with cgit - Back to sebastiano.tronto.net