Skip to content

Commit

Permalink
Merge pull request #31 from online-judge-tools/release/4.4.0
Browse files Browse the repository at this point in the history
RELEASE: 4.4.0
  • Loading branch information
kmyk authored Jun 22, 2020
2 parents 77ce848 + fa51030 commit 8b12660
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 39 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
[![PyPI](https://img.shields.io/pypi/v/online-judge-template-generator)](https://pypi.org/project/online-judge-template-generator/)
[![LICENSE](https://img.shields.io/pypi/l/online-judge-template-generator.svg)](https://github.com/kmyk/online-judge-template-generator/blob/master/LICENSE)

(CAUTION: the current version is unstable. see [Compatibility](https://online-judge-template-generator.readthedocs.io/en/latest/compatibility.html)
/ 注意: 現在はまだ開発中のバージョンです。[互換性について](https://online-judge-template-generator.readthedocs.io/en/latest/compatibility.html)は読んでおいてください)

## What is this

競技プログラミングテンプレートを作ってくれるやつです。
Expand Down Expand Up @@ -84,22 +81,22 @@ using namespace std;

const string YES = "YES";
const string NO = "nO";
bool solve(int vam, const vector<int64_t> & kfi, const vector<int64_t> & vkw) {
bool solve(int n, const vector<int64_t> & a, const vector<int64_t> & b) {
// TODO: edit here
}

// generated by online-judge-template-generator (https://github.com/kmyk/online-judge-template-generator)
// generated by online-judge-template-generator v4.4.0 (https://github.com/kmyk/online-judge-template-generator)
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
constexpr char endl = '\n';
int vam;
cin >> vam;
vector<int64_t> kfi(vam), vkw(vam);
REP (i, vam) {
cin >> kfi[i] >> vkw[i];
int n;
cin >> n;
vector<int64_t> a(n), b(n);
REP (i, n) {
cin >> a[i] >> b[i];
}
bool ans = solve(vam, kfi, vkw);
auto ans = solve(n, a, b);
cout << (ans ? YES : NO) << endl;
return 0;
}
Expand Down
26 changes: 0 additions & 26 deletions docs/compatibility.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Welcome to online-judge-template-generator's documentation!
onlinejudge_template.generator
onlinejudge_random
how-it-works
compatibility


Indices and tables
Expand Down
2 changes: 1 addition & 1 deletion onlinejudge_template/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__title__ = "online-judge-template-generator"
__url__ = "https://github.com/kmyk/online-judge-template-generator"
__version__ = "4.3.1"
__version__ = "4.4.0"

0 comments on commit 8b12660

Please sign in to comment.