mirror of
https://github.com/xlucn/PAT.git
synced 2026-10-03 00:23:15 +08:00
initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
_site
|
||||
.sass-cache
|
||||
.jekyll-metadata
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
.container {
|
||||
margin: 10px auto;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin: 30px 0;
|
||||
font-size: 4em;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
|
||||
<p><strong>Page not found :(</strong></p>
|
||||
<p>The requested page could not be found.</p>
|
||||
</div>
|
||||
+252
File diff suppressed because it is too large
Load Diff
+50
@@ -0,0 +1,50 @@
|
||||
# Welcome to Jekyll!
|
||||
#
|
||||
# This config file is meant for settings that affect your whole blog, values
|
||||
# which you are expected to set up once and rarely edit after that. If you find
|
||||
# yourself editing this file very often, consider using Jekyll's data files
|
||||
# feature for the data you need to update frequently.
|
||||
#
|
||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
||||
|
||||
# Site settings
|
||||
# These are used to personalize your new site. If you look in the HTML files,
|
||||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
||||
# You can create any custom variable you would like, and they will be accessible
|
||||
# in the templates via {{ site.myvariable }}.
|
||||
title: PAT Solution
|
||||
email: oliver_lew@outlook.com
|
||||
description: >- # this means to ignore newlines until "baseurl:"
|
||||
浙江大学编程能力测试(PAT)题解说明
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
url: "http://oliverlew.github.io/PAT/" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
# twitter_username: jekyllrb
|
||||
github_username: oliverlew
|
||||
|
||||
# Build settings
|
||||
github: [metadata]
|
||||
encoding: UTF-8
|
||||
markdown: kramdown
|
||||
kramdown:
|
||||
input: GFM
|
||||
hard_wrap: false
|
||||
future: true
|
||||
jailed: false
|
||||
gfm_quirks: paragraph_end
|
||||
theme: minima
|
||||
# remote_theme: codinfox/codinfox-lanyon
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
|
||||
# Exclude from processing.
|
||||
# The following items will not be processed, by default. Create a custom list
|
||||
# to override the default setting.
|
||||
# exclude:
|
||||
# - Gemfile
|
||||
# - Gemfile.lock
|
||||
# - node_modules
|
||||
# - vendor/bundle/
|
||||
# - vendor/cache/
|
||||
# - vendor/gems/
|
||||
# - vendor/ruby/
|
||||
@@ -0,0 +1,33 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Welcome to Jekyll!"
|
||||
date: 2018-03-29 17:41:54 +0800
|
||||
categories: jekyll update
|
||||
tags: [test1, test2, test3]
|
||||
---
|
||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
||||
|
||||
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
||||
|
||||
Jekyll also offers powerful support for code snippets:
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("this is jekyll site");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
{% raw %}
|
||||
$$
|
||||
\sin(x)+\cos(x)
|
||||
$$
|
||||
{% endraw %}
|
||||
|
||||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
||||
|
||||
[jekyll-docs]: https://jekyllrb.com/docs/home
|
||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
||||
[jekyll-talk]: https://talk.jekyllrb.com/
|
||||
@@ -0,0 +1,56 @@
|
||||
---
|
||||
layout: post
|
||||
title: "My first post, testing with readme file"
|
||||
categories: test readme
|
||||
tags: [test1, test2, test3]
|
||||
---
|
||||
|
||||
|
||||
## PAT exercises in C language
|
||||
|
||||
[PAT][pat]习题C语言题解
|
||||
date: 2018-05-28 17:41:54 +0800
|
||||
|
||||
全部用C语言编写, 尽量达到代码的简洁和可读性, 尽量用注释(可能是英文)将思路写明.
|
||||
|
||||
* PAT Basic ([原题链接][pat-b], 已经刷完1001-1085):
|
||||
* PAT Advanced ([原题链接][pat-a], 刚刚开始):
|
||||
|
||||
### 讨论/交流
|
||||
|
||||
非常欢迎讨论!
|
||||
|
||||
- 邮箱:oliver_lew@outlook.com
|
||||
|
||||
- 发现问题/题目讨论也欢迎提交[issue][issues]
|
||||
|
||||
- 要改正/改进代码欢迎提交[pull request][pulls]
|
||||
|
||||
曾经有好心同学发现([#5][issue-5], [#7][pull-7])PAT的检测结果可能会是错的, 在这两个帖子里我一直以为是PAT改了测试点,
|
||||
但实际上是因为我改错了代码([76f0722][commit-#5], [e029c2b][commit-#7])(向两位同学道歉, 和你们说错了. . . ).
|
||||
所以大家如果同样发现我的代码通不过现在的测试点, 请提交[issue][issues]或[pr][pulls], 非常感谢!
|
||||
|
||||
### 解题说明
|
||||
|
||||
在简书上写了代码的解释, [B级/乙级][jianshu-b], [A级/甲级][jianshu-a]. (暂不更新, 最新内容见下面)
|
||||
|
||||
**note:** 以后打算迁移至github pages, 所以有问题可以通过[issue][issues]系统/将来在github pages页面和我讨论.
|
||||
现在已经可以查看[gh-pages][gh-pages]分支, md文件夹中的文件, 我现在已经暂时放弃更新简书内容, 这里的是最新的.
|
||||
|
||||
(虽如上述, 成功迁移至github pages后, 简书会同步更新)
|
||||
|
||||
[gh-pages]: https://github.com/OliverLew/PAT/tree/gh-pages
|
||||
[issues]: https://github.com/OliverLew/PAT/issues
|
||||
[pulls]: https://github.com/OliverLew/PAT/pulls
|
||||
[issue-5]: https://github.com/OliverLew/PAT/issues/5
|
||||
[pull-7]: https://github.com/OliverLew/PAT/pull/7
|
||||
[commit-#5]: https://github.com/OliverLew/PAT/commit/76f072258e295ad5ccf5b3ec3196c72679c22c93#diff-77516117cde8132f56ef044da2238e08
|
||||
[commit-#7]: https://github.com/OliverLew/PAT/commit/e029c2b78f85356500fedfbc667d02e5a229f62e#diff-9cadb2a99b3bab7cfdb9e19fdef3f9ad
|
||||
|
||||
[pat]: https://www.patest.cn/contests
|
||||
[pat-a]: https://www.patest.cn/contests/pat-a-practise
|
||||
[pat-b]: https://www.patest.cn/contests/pat-b-practise
|
||||
|
||||
[jianshu-a]: http://www.jianshu.com/p/8944b15f8194
|
||||
[jianshu-b]: http://www.jianshu.com/p/c2b557516b50
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
---
|
||||
|
||||
# testing
|
||||
|
||||
is it working?
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
layout: page
|
||||
title: About
|
||||
permalink: /about/
|
||||
---
|
||||
|
||||
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
|
||||
|
||||
You can find the source code for Minima at GitHub:
|
||||
[jekyll][jekyll-organization] /
|
||||
[minima](https://github.com/jekyll/minima)
|
||||
|
||||
You can find the source code for Jekyll at GitHub:
|
||||
[jekyll][jekyll-organization] /
|
||||
[jekyll](https://github.com/jekyll/jekyll)
|
||||
|
||||
|
||||
[jekyll-organization]: https://github.com/jekyll
|
||||
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user