Oliver Lew
|
132e12466e
|
add b1095
|
2019-02-02 11:01:36 +08:00 |
|
Oliver Lew
|
b697fcc4cb
|
change gets to safer fgets
|
2019-01-08 23:47:15 +08:00 |
|
Oliver Lew
|
8f6d2399fa
|
improve style
|
2019-01-08 23:45:51 +08:00 |
|
Oliver Lew
|
123f78ebde
|
add b1089
|
2019-01-06 22:32:27 +08:00 |
|
Oliver Lew
|
35980c151a
|
fix missing include
|
2018-12-29 01:26:25 +08:00 |
|
Oliver Lew
|
f78dce3153
|
add b109[1-4]
|
2018-12-28 01:40:05 +08:00 |
|
Oliver Lew
|
b1878f2eac
|
add b1090
|
2018-12-05 14:50:55 +08:00 |
|
Oliver Lew
|
7367c23e9f
|
add b1088
|
2018-10-08 20:18:04 +08:00 |
|
Oliver Lew
|
1eaeefcff9
|
add b1086
|
2018-10-08 19:53:24 +08:00 |
|
Oliver Lew
|
4aad1dea92
|
add basic 1087
|
2018-09-16 14:13:52 +08:00 |
|
Oliver Lew
|
4275cd4309
|
Perfect the boundary condition
|
2018-08-25 16:01:57 +08:00 |
|
Oliver Lew
|
968fb217ca
|
Fixed #13. Fix logic error
|
2018-08-25 15:59:34 +08:00 |
|
Oliver Lew
|
6d5a412f43
|
replace tabs with spaces
|
2018-05-10 22:23:53 +08:00 |
|
Oliver Lew
|
72bd55aec2
|
make function printrow return an address to decrease code duplication
|
2018-04-09 19:24:13 +08:00 |
|
Oliver Lew
|
f2efcfea9b
|
Style improve cleaning-up: remove unused header file and add "return 0" where missing.
|
2018-04-09 19:21:54 +08:00 |
|
Oliver Lew
|
d73a409fec
|
Style improve 4: replace *alloc functions, they are not necessary in PAT test.
|
2018-04-09 19:19:24 +08:00 |
|
Oliver Lew
|
d628c985b1
|
Style improve 3: indent, expand one-lines and merge struct definition and typedef
|
2018-04-09 19:16:08 +08:00 |
|
Oliver Lew
|
c77b7153ef
|
Style imporove 2: add/change some comments.
|
2018-04-09 19:11:08 +08:00 |
|
Oliver Lew
|
be4913be37
|
Style improve 1: add blank lines to seperate different code blocks.
|
2018-04-09 19:08:07 +08:00 |
|
Oliver Lew
|
534c30aee2
|
add/update comments to b1054.c
|
2018-04-07 18:49:47 +08:00 |
|
wizard26
|
7958ad3fb5
|
1029.c
|
2018-04-04 23:08:38 +08:00 |
|
wizard26
|
58106e48ac
|
Update 1029.c
|
2018-04-04 00:42:52 +08:00 |
|
wizard26
|
665c0688b3
|
Update 1029.c
|
2018-04-04 00:35:23 +08:00 |
|
Oliver Lew
|
5723106883
|
improve code sytle
|
2018-03-31 16:13:15 +08:00 |
|
OliverLew
|
b1f18f011d
|
use two char type instead a string
|
2018-03-31 13:29:59 +08:00 |
|
Oliver Lew
|
d25633bcb6
|
remove used header file
|
2018-03-29 21:43:02 +08:00 |
|
Oliver Lew
|
e029c2b78f
|
use safer fgets to replace gets function
|
2018-03-29 16:28:33 +08:00 |
|
Oliver Lew
|
15cd6cc2f7
|
update code style
|
2018-03-29 16:26:18 +08:00 |
|
Oliver Lew
|
2cb43f0631
|
change to a more readable method
|
2018-03-29 16:24:23 +08:00 |
|
Oliver Lew
|
0d48b1b5ab
|
pivot pointer definition by 1, make code more readable
|
2018-03-28 19:18:06 +08:00 |
|
Oliver Lew
|
41b1fb776d
|
add 1085
|
2018-03-26 21:33:51 +08:00 |
|
Oliver Lew
|
8c6d95a522
|
clean conflict messages
|
2018-03-26 20:28:06 +08:00 |
|
Oliver Lew
|
87728e6b1b
|
1084.c third version, shortened code
|
2018-03-26 19:25:11 +08:00 |
|
Oliver Lew
|
bdc7d3de4e
|
1084.c, second version, without using char c
|
2018-03-26 19:19:51 +08:00 |
|
Oliver Lew
|
ad0b2b62b7
|
1084.c, first version, AC
|
2018-03-26 19:18:50 +08:00 |
|
Oliver Lew
|
9f9d25bd3e
|
add 1083.c
|
2018-03-25 19:18:48 +08:00 |
|
Oliver Lew
|
7962f883bf
|
add 1082.c
|
2018-03-25 19:07:29 +08:00 |
|
Oliver Lew
|
f7c5ce50ca
|
add 1018.c
|
2018-03-25 18:54:49 +08:00 |
|
Oliver Lew
|
b42347c3b0
|
Merge pull request #6 from AC-KID/master
Simplify read operation.
|
2018-02-27 09:57:04 +08:00 |
|
AC-KID
|
48c78bee57
|
Simplify read operation.
|
2018-02-27 08:01:07 +08:00 |
|
OliverLew
|
ad6e5a49cc
|
Fix #5, putting '\0' in formatted string causes some test points to fail
|
2018-02-24 17:05:17 +08:00 |
|
AC-KID
|
46a3368b06
|
Add a for-loop condition replaced break condition.
|
2018-02-22 01:34:41 +08:00 |
|
AC-KID
|
3bac2fbb2c
|
Optimize For loop in finding process
It is unnecessary when current maximum value larger than length of surplus sequence.
|
2018-02-21 23:43:14 +08:00 |
|
OliverLew
|
26ca99f35b
|
Fix #3, somehow it was not detected by OJ
|
2018-02-13 00:04:59 +08:00 |
|
OliverLew
|
592b711c60
|
improve code logic and readability
|
2018-01-05 13:27:15 +08:00 |
|
OliverLew
|
4fd999bd01
|
1080 AC
|
2018-01-03 20:00:21 +08:00 |
|
OliverLew
|
4672d734b6
|
add 1076
|
2017-12-31 23:15:32 +08:00 |
|
OliverLew
|
e5f3d48ce9
|
Merge branch 'master' of github.com:OliverLew/PAT
|
2017-12-31 16:45:57 +08:00 |
|
OliverLew
|
fd1f42309b
|
add 1077-1080, 1080 not AC yet(out of time)
|
2017-12-31 16:44:53 +08:00 |
|
OliverLew
|
f4bf4525f2
|
improve readibility
|
2017-12-25 21:03:53 +08:00 |
|