64 Commits

Author SHA1 Message Date
Lu Xu
2f5f467638 BIG style update, similar to suckless style 2022-01-08 03:01:51 +08:00
Lu Xu
56aa8f988a work without last newline (EOF instead) 2022-01-07 23:42:27 +08:00
Oliver Lew
140dfdee24 add a1046 2021-03-31 21:50:05 +08:00
Oliver Lew
f3cf489a01 add a1049 2021-03-31 02:15:17 +08:00
Oliver Lew
55c04f82e8 add a1037 2021-03-30 02:09:36 +08:00
Oliver Lew
e6580582fb add a1045 2021-03-29 01:37:44 +08:00
Oliver Lew
0d9f337d1c a1014: initialize array to make sure it runs correctly 2021-03-20 03:04:52 +08:00
Oliver Lew
4b5b39a314 Initialize possibly uninitialized variables 2021-03-18 10:54:08 +08:00
Oliver Lew
65e774e8de remove unused struct member 2021-01-26 00:27:24 +08:00
Oliver Lew
a811030bc4 add a1038 2020-05-25 14:18:38 +08:00
Oliver Lew
f853690edf finish 10{2,3}2 2020-04-26 16:44:21 +08:00
Oliver Lew
b52cfef967 add a10{42,44,48,50,51} 2020-04-26 13:47:45 +08:00
Oliver Lew
255b31092b add 1035, 1036, 1040, 1041 2020-04-23 09:51:34 +08:00
Oliver Lew
9bbe4c18e3 fix typo 2020-04-22 23:43:52 +08:00
Oliver Lew
c0039a6042 small modify 2020-04-20 14:03:03 +08:00
Oliver Lew
de796f1155 add a1031 2019-11-22 16:45:34 +08:00
Oliver Lew
2734fa563a delete debug codes comments 2019-08-25 16:46:00 +08:00
Oliver Lew
3773149607 add a1029 2019-08-25 16:15:58 +08:00
Oliver Lew
e01e10e3cc add a1027,a1028 2019-08-25 14:51:02 +08:00
Oliver Lew
4ae61bab4a add a1025 2019-05-11 16:51:04 +08:00
Oliver Lew
ff53e776f1 add a1024 2019-02-23 23:05:39 +08:00
Oliver Lew
6a51c3b33a add a1023 2019-02-23 21:56:10 +08:00
Oliver Lew
d71f4ddec7 remove problem text and trim tailing spaces. 2019-02-04 00:51:23 +08:00
Oliver Lew
d7fffd2c23 a1006 fix string length. 2018-09-16 17:30:58 +08:00
Oliver Lew
8d7c3afe78 Correct time convertion. 2018-09-16 17:30:19 +08:00
Oliver Lew
f2fcc493a3 a1019: all test points passed 2018-06-15 22:22:42 +08:00
Oliver Lew
fa74c30a84 improve comment 2018-06-15 22:22:42 +08:00
Oliver Lew
56fd726302 a1019, test point 4 failed 2018-06-15 22:22:42 +08:00
Oliver Lew
b18a408a2c simplify read process using the return value of scanf 2018-06-02 19:00:10 +08:00
Oliver Lew
3b9871c632 add a1021 code 2018-06-01 13:57:42 +08:00
Oliver Lew
ab5c5438e3 add a1020, not tested due to PAT website migration 2018-05-09 16:36:08 +08:00
Oliver Lew
306973bd59 the current version 2018-05-05 22:20:20 +08:00
Oliver Lew
c7639cb24b archive previous linked list + BFS version 2018-05-05 22:18:08 +08:00
Oliver Lew
c593555a7b add a1017 2018-05-03 20:51:10 +08:00
OliverLew
ea0cf7abb8 Merge branch 'master' of github.com:OliverLew/PAT 2018-03-05 16:11:03 +08:00
OliverLew
9a5ed70541 AC code, and simplified some code
If the total charge for one person is 0, there should be no output. It is required although not clearly pointed out in the text
2018-03-03 18:31:45 +08:00
OliverLew
a181d923e8 improved code logic 2018-03-01 14:06:56 +08:00
OliverLew
859b90f4dc 1014 first ac commit, but to be improved. 2018-02-27 17:41:40 +08:00
OliverLew
57b4567832 4/6 passed. It is starting time that should be before 17:00, not ending time 2018-02-25 00:34:12 +08:00
OliverLew
224a95e51d add comments, simplify data storage 2018-02-23 21:36:51 +08:00
OliverLew
5f89d54306 add 1014, only 3/6 test passed. 2018-02-23 21:12:42 +08:00
OliverLew
dc0007b8bf 1016 init commit, 2 of 4 test passed. 2018-02-17 23:43:44 +08:00
OliverLew
850be72f9a add more comments 2018-01-14 22:11:17 +08:00
OliverLew
ceda48cc37 merge branches 2018-01-07 14:23:27 +08:00
Oliver Lew
9e1d388cd1 add 1015 2018-01-06 14:28:01 +08:00
OliverLew
95f539f716 add comments 2018-01-05 21:51:07 +08:00
OliverLew
b098d8f70b add readability 2018-01-05 17:31:16 +08:00
OliverLew
1b6d9cfcd6 fix 1003, should add bidirectional edge 2018-01-05 16:42:07 +08:00
OliverLew
db9d050498 add comments and change struct name to more reasonable one 2018-01-05 16:41:04 +08:00
OliverLew
77c25e379d change to another method using string manipulation with better logic and readability 2018-01-05 14:54:49 +08:00