Browse Source

* generate input file in the test

git-svn-id: trunk@4019 -
peter 19 years ago
parent
commit
96fba798f0
3 changed files with 8 additions and 4 deletions
  1. 0 1
      .gitattributes
  2. 0 2
      tests/webtbs/tw5086.in
  3. 8 1
      tests/webtbs/tw5086.pp

+ 0 - 1
.gitattributes

@@ -7178,7 +7178,6 @@ tests/webtbs/tw5015.pp svneol=native#text/plain
 tests/webtbs/tw5023.pp svneol=native#text/plain
 tests/webtbs/tw5023.pp svneol=native#text/plain
 tests/webtbs/tw5036.pp svneol=native#text/plain
 tests/webtbs/tw5036.pp svneol=native#text/plain
 tests/webtbs/tw5082.pp -text svneol=unset#text/plain
 tests/webtbs/tw5082.pp -text svneol=unset#text/plain
-tests/webtbs/tw5086.in -text
 tests/webtbs/tw5086.pp -text
 tests/webtbs/tw5086.pp -text
 tests/webtbs/tw5094.pp -text
 tests/webtbs/tw5094.pp -text
 tests/webtbs/tw6435.pp svneol=native#text/plain
 tests/webtbs/tw6435.pp svneol=native#text/plain

+ 0 - 2
tests/webtbs/tw5086.in

@@ -1,2 +0,0 @@
-180 6
-37 78 59 100 64 128

+ 8 - 1
tests/webtbs/tw5086.pp

@@ -20,7 +20,7 @@ var
 
 
 procedure readInput;
 procedure readInput;
 begin
 begin
-        assign(input,'tw5086.in');
+        assign(input,'tw5086.tmp');
         reset(input);
         reset(input);
 	readln(v, k);
 	readln(v, k);
 	readln(a1, a2, b1, b2, c1, c2);
 	readln(a1, a2, b1, b2, c1, c2);
@@ -203,7 +203,14 @@ begin
           halt(1);
           halt(1);
 end;
 end;
 
 
+var
+  t : text;
 begin
 begin
+assign(t,'tw5086.tmp');
+rewrite(t);
+writeln(t,'180 6');
+writeln(t,'37 78 59 100 64 128');
+close(t);
 	readInput;
 	readInput;
 	Solve;
 	Solve;
 end.
 end.