most 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. data/History.txt +3 -0
  2. data/Manifest.txt +21 -0
  3. data/Rakefile +1 -3
  4. data/lib/most/context.rb +4 -0
  5. data/lib/most/environment.rb +7 -2
  6. data/lib/most/executor.rb +5 -5
  7. data/lib/most/helpers/numeric.rb +5 -0
  8. data/lib/most/structures/box.rb +38 -1
  9. data/lib/most/structures/submission.rb +5 -1
  10. data/lib/most/structures/test_case.rb +9 -0
  11. data/lib/most/structures/test_runner.rb +13 -0
  12. data/lib/most/structures/types/report.rb +1 -1
  13. data/lib/most/submissions/borland_delphi_sample.rb +36 -0
  14. data/lib/most/submissions/brainf_sample.rb +32 -0
  15. data/lib/most/submissions/cpp_memory_out_sample.rb +2 -2
  16. data/lib/most/submissions/cpp_sample.rb +2 -2
  17. data/lib/most/submissions/cpp_timeout_sample.rb +2 -2
  18. data/lib/most/submissions/cs_sample.rb +3 -3
  19. data/lib/most/submissions/custom_delphi_sample.rb +119 -0
  20. data/lib/most/submissions/erlang_sample.rb +3 -3
  21. data/lib/most/submissions/haskell_sample.rb +3 -3
  22. data/lib/most/submissions/java_sample.rb +3 -3
  23. data/lib/most/submissions/lisp_sample.rb +3 -3
  24. data/lib/most/submissions/lua_sample.rb +3 -3
  25. data/lib/most/submissions/ocaml_sample.rb +3 -3
  26. data/lib/most/submissions/pascal_sample.rb +3 -3
  27. data/lib/most/submissions/perl_sample.rb +3 -3
  28. data/lib/most/submissions/php_sample.rb +3 -3
  29. data/lib/most/submissions/python_sample.rb +3 -3
  30. data/lib/most/submissions/ruby_sample.rb +3 -3
  31. data/lib/most/submissions/vb_sample.rb +3 -3
  32. data/lib/most/tasks/general/win/borland_delphi.rb +73 -0
  33. data/lib/most/tasks/general/win/brainf.rb +69 -0
  34. data/lib/most/tasks/general/win/run.rb +45 -0
  35. data/lib/most.rb +1 -1
  36. data/samples/custom/ones/check.dpr +15 -0
  37. data/samples/custom/ones/ones_is.dpr +23 -0
  38. data/samples/custom/ones/ones_rs.dpr +25 -0
  39. data/samples/custom/ones/problem.xml +21 -0
  40. data/samples/custom/ones/tests/clean.bat +5 -0
  41. data/samples/custom/ones/tests/make.bat +9 -0
  42. data/samples/custom/ones/tests/make_answers.bat +30 -0
  43. data/samples/custom/ones/tests/ones_rs.exe +0 -0
  44. data/samples/custom/ones/tests/shuffle.dpr +31 -0
  45. data/samples/custom/ones/tests/shuffle.exe +0 -0
  46. data/samples/custom/ones/tests/tests.lst +69 -0
  47. data/samples/problem/solutions/brainf/main.b +1 -0
  48. data/samples/problem/solutions/brainf/tests.yml +19 -0
  49. data/samples/problem/solutions/delphi/main.dpr +5 -0
  50. data/samples/problem/solutions/delphi/tests.yml +19 -0
  51. data/tasks/samples.rb +1 -1
  52. metadata +23 -22
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :source_file => path('main.ml'), :executable => path('main.exe')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -22,8 +22,8 @@ submission do
22
22
  end
23
23
 
24
24
  add_step Proc do
25
- timeout specs[:time] do
26
- total_memory_out specs[:memory] do
25
+ timeout_with_specs specs[:time] do
26
+ total_memory_out_with_specs specs[:memory] do
27
27
  rake_clean 'win:ocaml:run', entities[:executable], input
28
28
  end
29
29
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :source_file => path('main.pas'), :executable => path('main.exe')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -22,8 +22,8 @@ submission do
22
22
  end
23
23
 
24
24
  add_step Proc do
25
- timeout specs[:time] do
26
- total_memory_out specs[:memory] do
25
+ timeout_with_specs specs[:time] do
26
+ total_memory_out_with_specs specs[:memory] do
27
27
  rake_clean 'win:pascal:run', entities[:executable], input
28
28
  end
29
29
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :executable => path('main.pl')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -18,8 +18,8 @@ submission do
18
18
  name 'Perl Runner'
19
19
 
20
20
  add_step Proc do
21
- timeout specs[:time] do
22
- total_memory_out specs[:memory] do
21
+ timeout_with_specs specs[:time] do
22
+ total_memory_out_with_specs specs[:memory] do
23
23
  rake_clean 'win:perl:run', entities[:executable], input
24
24
  end
25
25
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :executable => path('main.php')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -18,8 +18,8 @@ submission do
18
18
  name 'PHP Runner'
19
19
 
20
20
  add_step Proc do
21
- timeout specs[:time] do
22
- total_memory_out specs[:memory] do
21
+ timeout_with_specs specs[:time] do
22
+ total_memory_out_with_specs specs[:memory] do
23
23
  rake_clean 'win:php:run', entities[:executable], input
24
24
  end
25
25
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :executable => path('main.py')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -18,8 +18,8 @@ submission do
18
18
  name 'Python Runner'
19
19
 
20
20
  add_step Proc do
21
- timeout specs[:time] do
22
- total_memory_out specs[:memory] do
21
+ timeout_with_specs specs[:time] do
22
+ total_memory_out_with_specs specs[:memory] do
23
23
  rake_clean 'win:python:run', entities[:executable], input
24
24
  end
25
25
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :executable => path('main.rb')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -18,8 +18,8 @@ submission do
18
18
  name 'Ruby Runner'
19
19
 
20
20
  add_step Proc do
21
- timeout specs[:time] do
22
- total_memory_out specs[:memory] do
21
+ timeout_with_specs specs[:time] do
22
+ total_memory_out_with_specs specs[:memory] do
23
23
  rake_clean 'win:ruby:run', entities[:executable], input
24
24
  end
25
25
  end
@@ -3,7 +3,7 @@ submission do
3
3
 
4
4
  entities :source_file => path('main.vb'), :executable => path('main.exe')
5
5
 
6
- options :tests => {:report => {:differences => true, :time => true, :specs => true},
6
+ options :tests => {:report => {:differences => true, :time => true, :specs => false},
7
7
  :steps => {:break => {:unsuccessful => true}}}
8
8
 
9
9
  YAML.load_file('tests.yml').each_with_index do |specs, i|
@@ -22,8 +22,8 @@ submission do
22
22
  end
23
23
 
24
24
  add_step Proc do
25
- timeout specs[:time] do
26
- total_memory_out specs[:memory] do
25
+ timeout_with_specs specs[:time] do
26
+ total_memory_out_with_specs specs[:memory] do
27
27
  rake_clean 'win:vb:run', entities[:executable], input
28
28
  end
29
29
  end
@@ -0,0 +1,73 @@
1
+ # Most - Modular Open Software Tester.
2
+ # Copyright (C) 2009 Dmitrii Toksaitov
3
+ #
4
+ # This file is part of Most.
5
+ #
6
+ # Most is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # Most is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with Most. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ require 'rake/clean'
20
+
21
+ CLEAN.include('*.o')
22
+
23
+ namespace :win do
24
+ namespace :borland_delphi do
25
+
26
+ task :prepare do
27
+ borland_delphi_home = nil
28
+ Most::DIRECTORIES[:vendors].each do |directory|
29
+ possible_path = File.join(directory, 'borland_delphi')
30
+ borland_delphi_home = possible_path if File.directory?(possible_path)
31
+ end
32
+
33
+ unless borland_delphi_home.nil?
34
+ bin_path = File.join(borland_delphi_home, 'bin')
35
+
36
+ ENV['PATH'] ||= ''; ENV['PATH'] = "#{bin_path};#{ENV['PATH']}"
37
+ end
38
+ end
39
+
40
+ task :compile, :source, :needs => [:prepare] do |task, args|
41
+ compilation_command = %{dcc32 -cc -$O+ #{args.source}}
42
+
43
+ service = Most::SERVICES[:open4]
44
+ service.popen4(compilation_command) do |stdin, stdout, stderr, pid|
45
+ $stdout.puts(stdout.read())
46
+ $stderr.puts(stderr.read())
47
+ end
48
+ end
49
+
50
+ task :run, :executable, :input do |task, args|
51
+ args.with_defaults(:input => '')
52
+
53
+ service = Most::SERVICES[:open4]
54
+ service.popen4(args.executable) do |stdin, stdout, stderr, pid|
55
+ Most::GLOBALS[:pid] = pid
56
+
57
+ unless args.input.is_a?(Most::Path)
58
+ stdin.write(args.input)
59
+ stdin.close()
60
+ end
61
+
62
+ process_stdout = stdout.read()
63
+ process_stderr = stderr.read()
64
+
65
+ Most::GLOBALS[:output] = process_stdout
66
+
67
+ $stdout.puts(process_stdout)
68
+ $stderr.puts(process_stderr)
69
+ end
70
+ end
71
+
72
+ end
73
+ end
@@ -0,0 +1,69 @@
1
+ # Most - Modular Open Software Tester.
2
+ # Copyright (C) 2009 Dmitrii Toksaitov
3
+ #
4
+ # This file is part of Most.
5
+ #
6
+ # Most is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # Most is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with Most. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ require 'rake/clean'
20
+
21
+ CLEAN.include('app.b')
22
+ CLEAN.include('*.out')
23
+
24
+ namespace :win do
25
+ namespace :brainf do
26
+
27
+ task :prepare do
28
+ brainf_home = nil
29
+ Most::DIRECTORIES[:vendors].each do |directory|
30
+ possible_path = File.join(directory, 'brainf')
31
+ brainf_home = possible_path if File.directory?(possible_path)
32
+ end
33
+
34
+ unless brainf_home.nil?
35
+ ENV['PATH'] ||= ''; ENV['PATH'] = "#{brainf_home};#{ENV['PATH']}"
36
+ end
37
+ end
38
+
39
+ task :run, :executable, :input, :needs => [:prepare] do |task, args|
40
+ args.with_defaults(:input => '')
41
+
42
+ input = ''
43
+ if args.input.is_a?(Most::Path)
44
+ input = File.read(args.input)
45
+ else
46
+ input = args.input
47
+ end
48
+
49
+ source = File.read(args.executable)
50
+
51
+ File.open('app.b', 'w+') do |io|
52
+ io.write("#{source}!#{input}")
53
+ end
54
+
55
+ IO.popen(%{bff4.exe <app.b 1>std.out 2>err.out}, 'r') do |io|
56
+ Most::GLOBALS[:pid] = io.pid
57
+ end
58
+
59
+ process_stdout = File.read('std.out') rescue ''
60
+ process_stderr = File.read('err.out') rescue ''
61
+
62
+ Most::GLOBALS[:output] = process_stdout
63
+
64
+ $stdout.puts(process_stdout)
65
+ $stderr.puts(process_stderr)
66
+ end
67
+
68
+ end
69
+ end
@@ -0,0 +1,45 @@
1
+ # Most - Modular Open Software Tester.
2
+ # Copyright (C) 2009 Dmitrii Toksaitov
3
+ #
4
+ # This file is part of Most.
5
+ #
6
+ # Most is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # Most is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with Most. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ require 'rake/clean'
20
+
21
+ namespace :win do
22
+
23
+ task :run, :executable, :arguments do |task, args|
24
+ args.with_defaults(:arguments => '')
25
+
26
+ service = Most::SERVICES[:open4]
27
+ service.popen4(%{#{args.executable} #{args.arguments}}) do |stdin, stdout, stderr, pid|
28
+ Most::GLOBALS[:pid] = pid
29
+
30
+ unless args.input.is_a?(Most::Path)
31
+ stdin.write(args.input)
32
+ stdin.close()
33
+ end
34
+
35
+ process_stdout = stdout.read()
36
+ process_stderr = stderr.read()
37
+
38
+ Most::GLOBALS[:output] = process_stdout
39
+
40
+ $stdout.puts(process_stdout)
41
+ $stderr.puts(process_stderr)
42
+ end
43
+ end
44
+
45
+ end
data/lib/most.rb CHANGED
@@ -38,7 +38,7 @@ require 'most/structures/submission'
38
38
  module Most
39
39
  FULL_NAME = 'Most, the Core'
40
40
  UNIX_NAME = 'most'
41
- VERSION = '0.7.5'
41
+ VERSION = '0.7.6'
42
42
 
43
43
  AUTHOR = 'Toksaitov Dmitrii Alexandrovich'
44
44
 
@@ -0,0 +1,15 @@
1
+ uses
2
+ testlib, sysutils;
3
+
4
+ var
5
+ ja, pa: longint;
6
+
7
+ begin
8
+ ja := ans.readlongint;
9
+ pa := ouf.readlongint;
10
+
11
+ if ja <> pa then
12
+ quit(_wa, format('expected: %d, found: %d', [ja, pa]));
13
+
14
+ quit(_ok, '');
15
+ end.
@@ -0,0 +1,23 @@
1
+ {$o-,q+,r+}
2
+ {$MINSTACKSIZE $00400000}
3
+ {$APPTYPE console}
4
+ uses
5
+ math, sysutils;
6
+ type
7
+ int = longint;
8
+ const
9
+ maxn = 2000000000;
10
+ var
11
+ n, i, j: int;
12
+ begin
13
+ reset(input, 'ones.in');
14
+ rewrite(output, 'ones.out');
15
+
16
+ read(n);
17
+ assert((0 <= n) and (n <= maxn));
18
+ i := 0;
19
+ for j := 0 to 31 do
20
+ if (n and (1 shl j)) > 0 then
21
+ inc(i);
22
+ write(i);
23
+ end.
@@ -0,0 +1,25 @@
1
+ {$r+,q+,o-}
2
+ {$apptype console}
3
+ const
4
+ problem_name = 'ones';
5
+
6
+ type
7
+ int = longint;
8
+
9
+ var
10
+ n, ans: int;
11
+
12
+ begin
13
+ reset(input, problem_name + '.in');
14
+ rewrite(output, problem_name + '.out');
15
+
16
+ read(n);
17
+ ans:=0;
18
+ while (n > 0) do
19
+ begin
20
+ inc(ans);
21
+ n:=n and (n - 1);
22
+ end;
23
+
24
+ writeln(ans);
25
+ end.
@@ -0,0 +1,21 @@
1
+ <problem
2
+ id = "ru.ifmo.neerc.io.20051021.ones"
3
+ version = "1.0"
4
+ >
5
+ <judging>
6
+ <script type = "%icpc">
7
+ <testset
8
+ test-count = "65"
9
+ input-href = "tests/##."
10
+ answer-href = "tests/##.a"
11
+ input-name = "ones.in"
12
+ output-name = "ones.out"
13
+ time-limit = "2s"
14
+ memory-limit = "67108864"
15
+ />
16
+ <verifier type = "%testlib">
17
+ <binary executable-id = "x86.exe.win32" file = "check.exe" />
18
+ </verifier>
19
+ </script>
20
+ </judging>
21
+ </problem>
@@ -0,0 +1,5 @@
1
+ @echo off
2
+ del ??
3
+ del ??.a
4
+ del shuffle.exe
5
+ del ones_rs.exe
@@ -0,0 +1,9 @@
1
+ @echo off
2
+ dcc32 -cc shuffle.dpr
3
+
4
+ shuffle.exe
5
+
6
+ dcc32 -cc ..\ones_rs.dpr
7
+ copy ..\ones_rs.exe ones_rs.exe >nul 2>&1
8
+
9
+ call make_answers.bat
@@ -0,0 +1,30 @@
1
+ @echo off
2
+
3
+ set problem_id=ones
4
+
5
+ set solution_name=%problem_id%_rs.exe
6
+ set input_file=%problem_id%.in
7
+ set output_file=%problem_id%.out
8
+
9
+ rem set run_string=run %solution_name% -t 2
10
+ set run_string=%solution_name%
11
+
12
+ for /L %%i in (1,1,9) do (
13
+ if EXIST 0%%i (
14
+ copy 0%%i %input_file% >nul 2>&1
15
+ %run_string%
16
+ copy %output_file% 0%%i.a >nul 2>&1
17
+ del %input_file% >nul 2>&1
18
+ del %output_file% >nul 2>&1
19
+ )
20
+ )
21
+
22
+ for /L %%i in (10,1,99) do (
23
+ if EXIST %%i (
24
+ copy %%i %input_file% >nul 2>&1
25
+ %run_string%
26
+ copy %output_file% %%i.a >nul 2>&1
27
+ del %input_file% >nul 2>&1
28
+ del %output_file% >nul 2>&1
29
+ )
30
+ )
@@ -0,0 +1,31 @@
1
+ {$r+,q+,o-}
2
+ {$apptype console}
3
+ type
4
+ int = longint;
5
+
6
+ var
7
+ test_num: int;
8
+
9
+ procedure write_test(n: int);
10
+ begin
11
+ inc(test_num);
12
+ rewrite(output, chr((test_num div 10) + ord('0')) + chr((test_num mod 10) + ord('0')));
13
+
14
+ writeln(n);
15
+
16
+ close(output);
17
+ end;
18
+
19
+ var
20
+ n: int;
21
+
22
+ begin
23
+ reset(input, 'tests.lst');
24
+ test_num:=0;
25
+ while not seekeof do
26
+ begin
27
+ read(n);
28
+ readln;
29
+ write_test(n);
30
+ end;
31
+ end.
@@ -0,0 +1,69 @@
1
+ 1 * ������ ����
2
+ 2
3
+ 3
4
+ 4
5
+ 5
6
+ 6
7
+ 7
8
+ 8
9
+ 9
10
+ 10
11
+
12
+ 15 * ��᫠ ���� 2^n - 1
13
+ 31
14
+ 63
15
+ 127
16
+ 255
17
+ 511
18
+ 1023
19
+ 2047
20
+ 4095
21
+ 8191
22
+ 16383
23
+ 32767
24
+ 65535
25
+ 131071
26
+ 262143
27
+ 524287
28
+ 1048575
29
+ 2097151
30
+ 4194303
31
+ 8388607
32
+ 16777215
33
+ 33554431
34
+ 67108863
35
+ 134217727
36
+ 268435455
37
+ 536870911
38
+ 1073741823
39
+
40
+ 239 * �����᪨� �᫠ :)
41
+ 361
42
+ 239239
43
+ 361361
44
+ 239239239
45
+ 361361361
46
+ 777
47
+ 777777
48
+ 777777777
49
+
50
+ 301989888 * ����訥 �᫠ � ������訬 �⢥⮬
51
+ 1342185472
52
+ 1207959702
53
+
54
+ 1328666675 * ����让 ࠭���
55
+ 1379023971
56
+ 842875669
57
+ 1580370415
58
+ 1648576208
59
+ 841019377
60
+ 299075767
61
+ 1762408125
62
+ 1913560211
63
+ 1187963543
64
+ 384151747
65
+ 140735642
66
+ 575795253
67
+ 1381422918
68
+ 909353819
69
+ 288693859
@@ -0,0 +1 @@
1
+ ,>++++++[<-------->-],[<+>-]<.
@@ -0,0 +1,19 @@
1
+ ---
2
+ # Correct Tests
3
+ - :memory: 10485760
4
+ :input: 22
5
+ :time: 10
6
+ :output: "4"
7
+ - :memory: 10485760
8
+ :input: 11
9
+ :time: 10
10
+ :output: "2"
11
+ # Incorrect Tests
12
+ - :memory: 10485760
13
+ :input: 72
14
+ :time: 10
15
+ :output: "42"
16
+ - :memory: 10485760
17
+ :input: 32
18
+ :time: 10
19
+ :output: "42"
@@ -0,0 +1,5 @@
1
+ var a, b: integer;
2
+ begin
3
+ Read(a, b);
4
+ Writeln(a + b);
5
+ end.
@@ -0,0 +1,19 @@
1
+ ---
2
+ # Correct Tests
3
+ - :memory: 10485760
4
+ :input: 15 27
5
+ :time: 10
6
+ :output: "42"
7
+ - :memory: 10485760
8
+ :input: 33 9
9
+ :time: 10
10
+ :output: "42"
11
+ # Incorrect Tests
12
+ - :memory: 10485760
13
+ :input: 47774 65656
14
+ :time: 10
15
+ :output: "42"
16
+ - :memory: 10485760
17
+ :input: 547584 4857487
18
+ :time: 10
19
+ :output: "42"
data/tasks/samples.rb CHANGED
@@ -24,7 +24,7 @@ namespace :samples do
24
24
 
25
25
  source = File.join(MOST_ROOT, 'samples', '.')
26
26
  destination = Most::DIRECTORIES[:temp].first
27
-
27
+
28
28
  FileUtils.cp_r(source, destination, {:verbose => true})
29
29
  end
30
30