Skip to content

Commit 51c04be

Browse files
committed
Bayan Contest's Third Problem Solution
1 parent 9a8cfdc commit 51c04be

14 files changed

+1842
-0
lines changed

Reverser-Bayan/54.in

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
100
2+
39042
3+
45909
4+
41709
5+
7792
6+
23691
7+
25972
8+
9757
9+
14437
10+
24136
11+
99546
12+
88048
13+
2445
14+
2872
15+
3664
16+
99562
17+
59669
18+
17991
19+
71015
20+
1863
21+
76236
22+
80378
23+
42306
24+
9791
25+
8364
26+
45645
27+
82923
28+
68521
29+
5282
30+
4042
31+
61546
32+
8572
33+
40547
34+
99679
35+
26851
36+
1676
37+
69379
38+
2457
39+
1561
40+
70988
41+
59642
42+
18087
43+
4311
44+
8744
45+
2743
46+
2677
47+
83191
48+
77377
49+
8678
50+
92665
51+
6973
52+
2984
53+
27456
54+
90313
55+
53992
56+
22044
57+
3697
58+
7486
59+
78722
60+
58523
61+
71002
62+
6618
63+
5323
64+
2346
65+
64123
66+
1054
67+
13576
68+
60963
69+
1193
70+
2014
71+
2046
72+
70951
73+
5504
74+
7583
75+
2615
76+
6441
77+
7557
78+
9988
79+
90519
80+
28031
81+
8476
82+
1423
83+
45444
84+
19532
85+
44615
86+
6409
87+
40466
88+
19704
89+
3077
90+
88053
91+
8862
92+
7559
93+
87218
94+
8171
95+
43378
96+
9909
97+
3483
98+
31527
99+
38105
100+
18677
101+
56403

Reverser-Bayan/54.txt

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
24093
2+
90954
3+
90714
4+
2977
5+
19632
6+
27952
7+
7579
8+
73441
9+
63142
10+
64599
11+
84088
12+
5442
13+
2782
14+
4663
15+
26599
16+
96695
17+
19971
18+
51017
19+
3681
20+
63267
21+
87308
22+
60324
23+
1979
24+
4638
25+
54654
26+
32928
27+
12586
28+
2825
29+
2404
30+
64516
31+
2758
32+
74504
33+
97699
34+
15862
35+
6761
36+
97396
37+
7542
38+
1651
39+
88907
40+
24695
41+
78081
42+
1134
43+
4478
44+
3472
45+
7762
46+
19138
47+
77377
48+
8768
49+
56629
50+
3796
51+
4892
52+
65472
53+
31309
54+
29935
55+
44022
56+
7963
57+
6847
58+
22787
59+
32585
60+
20017
61+
8166
62+
3235
63+
6432
64+
32146
65+
4501
66+
67531
67+
36906
68+
3911
69+
4102
70+
6402
71+
15907
72+
4055
73+
3857
74+
5162
75+
1446
76+
7557
77+
8899
78+
91509
79+
13082
80+
6748
81+
3241
82+
44454
83+
23591
84+
51644
85+
9046
86+
66404
87+
40791
88+
7703
89+
35088
90+
2688
91+
9557
92+
81278
93+
1718
94+
87334
95+
9099
96+
3843
97+
72513
98+
50183
99+
77681
100+
30465

Reverser-Bayan/build.xml

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See commented blocks below for -->
3+
<!-- some examples of how to customize the build. -->
4+
<!-- (If you delete it and reopen the project it will be recreated.) -->
5+
<!-- By default, only the Clean and Build commands use this build script. -->
6+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+
<!-- the Compile on Save feature is turned off for the project. -->
8+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+
<!-- in the project's Project Properties dialog box.-->
10+
<project name="Reverser-Bayan" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project Reverser-Bayan.</description>
12+
<import file="nbproject/build-impl.xml"/>
13+
<!--
14+
15+
There exist several targets which are by default empty and which can be
16+
used for execution of your tasks. These targets are usually executed
17+
before and after some main targets. They are:
18+
19+
-pre-init: called before initialization of project properties
20+
-post-init: called after initialization of project properties
21+
-pre-compile: called before javac compilation
22+
-post-compile: called after javac compilation
23+
-pre-compile-single: called before javac compilation of single file
24+
-post-compile-single: called after javac compilation of single file
25+
-pre-compile-test: called before javac compilation of JUnit tests
26+
-post-compile-test: called after javac compilation of JUnit tests
27+
-pre-compile-test-single: called before javac compilation of single JUnit test
28+
-post-compile-test-single: called after javac compilation of single JUunit test
29+
-pre-jar: called before JAR building
30+
-post-jar: called after JAR building
31+
-post-clean: called after cleaning build products
32+
33+
(Targets beginning with '-' are not intended to be called on their own.)
34+
35+
Example of inserting an obfuscator after compilation could look like this:
36+
37+
<target name="-post-compile">
38+
<obfuscate>
39+
<fileset dir="${build.classes.dir}"/>
40+
</obfuscate>
41+
</target>
42+
43+
For list of available properties check the imported
44+
nbproject/build-impl.xml file.
45+
46+
47+
Another way to customize the build is by overriding existing main targets.
48+
The targets of interest are:
49+
50+
-init-macrodef-javac: defines macro for javac compilation
51+
-init-macrodef-junit: defines macro for junit execution
52+
-init-macrodef-debug: defines macro for class debugging
53+
-init-macrodef-java: defines macro for class execution
54+
-do-jar: JAR building
55+
run: execution of project
56+
-javadoc-build: Javadoc generation
57+
test-report: JUnit report generation
58+
59+
An example of overriding the target for project execution could look like this:
60+
61+
<target name="run" depends="Reverser-Bayan-impl.jar">
62+
<exec dir="bin" executable="launcher.exe">
63+
<arg file="${dist.jar}"/>
64+
</exec>
65+
</target>
66+
67+
Notice that the overridden target depends on the jar target and not only on
68+
the compile target as the regular run target does. Again, for a list of available
69+
properties which you can use, check the target you are overriding in the
70+
nbproject/build-impl.xml file.
71+
72+
-->
73+
</project>

Reverser-Bayan/build/classes/.netbeans_automatic_build

Whitespace-only changes.

Reverser-Bayan/build/classes/.netbeans_update_resources

Whitespace-only changes.
Binary file not shown.

Reverser-Bayan/manifest.mf

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
X-COMMENT: Main-Class will be added automatically by build
3+

0 commit comments

Comments
 (0)