From ccba48192717082167fe592d961bb314083d8728 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 10 Aug 2022 16:21:57 +0000 Subject: [PATCH 01/38] [auto-verifier] docs commit 52b21712445dd92843b2013bda57a05178787e1e --- .gitignore | 2 + DP/LongestCommonSubsequence.py.md | 39 +++ DP/LongestIncreasingSubsequence.py.md | 32 ++ DP/README.md | 13 + Gemfile | 2 + Geometry/README.md | 16 + Geometry/RotateLeft.py.md | 33 ++ Geometry/RotateReverse.py.md | 33 ++ Geometry/RotateRight.py.md | 33 ++ Geometry/RotateTranspose.py.md | 33 ++ Geometry/SharedPoint.py.md | 40 +++ Graph/BellmanFord.py.md | 42 +++ Graph/EulerTour.py.md | 36 ++ Graph/Kruskal.py.md | 52 +++ Graph/LowestCommonAncestor.py.md | 43 +++ Graph/Prim.py.md | 36 ++ Graph/README.md | 20 ++ Graph/StronglyConnectedComponent.py.md | 62 ++++ Graph/TopologicalSort.py.md | 38 ++ Graph/dijkstra.py.md | 36 ++ Graph/warshall_floyd.py.md | 38 ++ MathLibrary/BinaryToDecimal.py.md | 32 ++ MathLibrary/CumulativeSum.py.md | 32 ++ MathLibrary/DecimalToBinary.py.md | 32 ++ MathLibrary/DigitSum_int.py.md | 31 ++ MathLibrary/DigitSum_str.py.md | 31 ++ MathLibrary/ExtGCD.py.md | 33 ++ MathLibrary/Factorization.py.md | 50 +++ MathLibrary/FromFloatToInt.py.md | 31 ++ MathLibrary/ManhattanDistanceSearch.py.md | 50 +++ MathLibrary/MaxCumulativeSum.py.md | 40 +++ MathLibrary/NFactorizarition.py.md | 42 +++ MathLibrary/PrimaryCheck.py.md | 39 +++ MathLibrary/README.md | 26 ++ MathLibrary/SieveOfEratosthenes.py.md | 34 ++ MathLibrary/SortedMultiset.py.md | 93 +++++ MathLibrary/SortedSet.py.md | 99 ++++++ MathLibrary/XorToN.py.md | 32 ++ MathLibrary/divisor.py.md | 33 ++ MathLibrary/doubling.py.md | 51 +++ MathLibrary/factorization.py.md | 34 ++ MathLibrary/nCk.py.md | 38 ++ MathLibrary/nCkFactorization.py.md | 49 +++ Other/README.md | 12 + Other/debug.py.md | 35 ++ README.md | 20 ++ Search/BinarySearch.py.md | 32 ++ Search/BitSearch.py.md | 32 ++ Search/BreadthFirstSearch_graph.py.md | 37 ++ Search/BreadthFirstSearch_grid.py.md | 41 +++ Search/README.md | 14 + String/BoyerMoore.py.md | 41 +++ String/CoordinateCompression.py.md | 31 ++ String/README.md | 14 + String/RunLengthEncoding.py.md | 33 ++ Template/Template.py.md | 48 +++ Template/VerifyHelperTemplate.py.md | 32 ++ Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 39 +++ Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 34 ++ Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 39 +++ Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 35 ++ Test/AOJ/DSL/DSL_1_A.test.py.md | 40 +++ Test/AOJ/GRL/GRL_1_B.test.py.md | 43 +++ Test/AOJ/Volume0/0000.test.py.md | 34 ++ Test/AOJ/Volume0/0001.test.py.md | 33 ++ .../DataStructure/AssociativeArray.py.md | 36 ++ .../yosupo/DataStructure/StaticRMQ.test.py.md | 40 +++ .../yosupo/DataStructure/Unionfind.test.py.md | 37 ++ Test/yosupo/Sample/A+B.test.py.md | 33 ++ Test/yosupo/Sample/ManyA+B.test.py.md | 34 ++ Test/yukicoder/1639.test.py.md | 39 +++ Test/yukicoder/1737.test.py.md | 38 ++ Test/yukicoder/182.test.py.md | 34 ++ Test/yukicoder/677.test.py.md | 33 ++ Test/yukicoder/847.test.py.md | 43 +++ Tree/BinaryIndexedTree.py.md | 40 +++ Tree/FindCenter.py.md | 57 +++ Tree/FindDiameter.py.md | 39 +++ Tree/LazySegTree.py.md | 68 ++++ Tree/README.md | 17 + Tree/RangeMinimamQuery.py.md | 58 ++++ Tree/SegTree.py.md | 60 ++++ Tree/UnionFindTree.py.md | 48 +++ _config.yml | 5 + _includes/document_body.html | 48 +++ _includes/document_footer.html | 1 + _includes/document_header.html | 39 +++ _includes/highlight.html | 66 ++++ _includes/mathjax.html | 14 + _includes/theme_fix.html | 25 ++ _includes/toppage_body.html | 25 ++ _includes/toppage_header.html | 3 + _layouts/document.html | 11 + _layouts/page.html | 9 + _layouts/toppage.html | 19 + assets/css/copy-button.css | 22 ++ assets/js/copy-button.js | 60 ++++ index.md | 326 ++++++++++++++++++ test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 39 +++ test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 34 ++ test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 39 +++ test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 35 ++ test/AOJ/DSL/DSL_1_A.test.py.md | 40 +++ test/AOJ/GRL/GRL_1_B.test.py.md | 43 +++ test/AOJ/Volume0/0000.test.py.md | 34 ++ test/AOJ/Volume0/0001.test.py.md | 33 ++ .../DataStructure/AssociativeArray.py.md | 36 ++ .../yosupo/DataStructure/StaticRMQ.test.py.md | 40 +++ .../yosupo/DataStructure/Unionfind.test.py.md | 37 ++ test/yosupo/Sample/A+B.test.py.md | 33 ++ test/yosupo/Sample/ManyA+B.test.py.md | 34 ++ test/yukicoder/1639.test.py.md | 39 +++ test/yukicoder/1737.test.py.md | 38 ++ test/yukicoder/182.test.py.md | 34 ++ test/yukicoder/677.test.py.md | 33 ++ test/yukicoder/847.test.py.md | 43 +++ 116 files changed, 4421 insertions(+) create mode 100644 .gitignore create mode 100644 DP/LongestCommonSubsequence.py.md create mode 100644 DP/LongestIncreasingSubsequence.py.md create mode 100644 DP/README.md create mode 100644 Gemfile create mode 100644 Geometry/README.md create mode 100644 Geometry/RotateLeft.py.md create mode 100644 Geometry/RotateReverse.py.md create mode 100644 Geometry/RotateRight.py.md create mode 100644 Geometry/RotateTranspose.py.md create mode 100644 Geometry/SharedPoint.py.md create mode 100644 Graph/BellmanFord.py.md create mode 100644 Graph/EulerTour.py.md create mode 100644 Graph/Kruskal.py.md create mode 100644 Graph/LowestCommonAncestor.py.md create mode 100644 Graph/Prim.py.md create mode 100644 Graph/README.md create mode 100644 Graph/StronglyConnectedComponent.py.md create mode 100644 Graph/TopologicalSort.py.md create mode 100644 Graph/dijkstra.py.md create mode 100644 Graph/warshall_floyd.py.md create mode 100644 MathLibrary/BinaryToDecimal.py.md create mode 100644 MathLibrary/CumulativeSum.py.md create mode 100644 MathLibrary/DecimalToBinary.py.md create mode 100644 MathLibrary/DigitSum_int.py.md create mode 100644 MathLibrary/DigitSum_str.py.md create mode 100644 MathLibrary/ExtGCD.py.md create mode 100644 MathLibrary/Factorization.py.md create mode 100644 MathLibrary/FromFloatToInt.py.md create mode 100644 MathLibrary/ManhattanDistanceSearch.py.md create mode 100644 MathLibrary/MaxCumulativeSum.py.md create mode 100644 MathLibrary/NFactorizarition.py.md create mode 100644 MathLibrary/PrimaryCheck.py.md create mode 100644 MathLibrary/README.md create mode 100644 MathLibrary/SieveOfEratosthenes.py.md create mode 100644 MathLibrary/SortedMultiset.py.md create mode 100644 MathLibrary/SortedSet.py.md create mode 100644 MathLibrary/XorToN.py.md create mode 100644 MathLibrary/divisor.py.md create mode 100644 MathLibrary/doubling.py.md create mode 100644 MathLibrary/factorization.py.md create mode 100644 MathLibrary/nCk.py.md create mode 100644 MathLibrary/nCkFactorization.py.md create mode 100644 Other/README.md create mode 100644 Other/debug.py.md create mode 100644 README.md create mode 100644 Search/BinarySearch.py.md create mode 100644 Search/BitSearch.py.md create mode 100644 Search/BreadthFirstSearch_graph.py.md create mode 100644 Search/BreadthFirstSearch_grid.py.md create mode 100644 Search/README.md create mode 100644 String/BoyerMoore.py.md create mode 100644 String/CoordinateCompression.py.md create mode 100644 String/README.md create mode 100644 String/RunLengthEncoding.py.md create mode 100644 Template/Template.py.md create mode 100644 Template/VerifyHelperTemplate.py.md create mode 100644 Test/AOJ/ALDS1/ALDS1_13_A.test.py.md create mode 100644 Test/AOJ/ALDS1/ALDS1_1_B.test.py.md create mode 100644 Test/AOJ/ALDS1/ALDS1_1_C.test.py.md create mode 100644 Test/AOJ/ALDS1/ALDS1_4_B.test.py.md create mode 100644 Test/AOJ/DSL/DSL_1_A.test.py.md create mode 100644 Test/AOJ/GRL/GRL_1_B.test.py.md create mode 100644 Test/AOJ/Volume0/0000.test.py.md create mode 100644 Test/AOJ/Volume0/0001.test.py.md create mode 100644 Test/yosupo/DataStructure/AssociativeArray.py.md create mode 100644 Test/yosupo/DataStructure/StaticRMQ.test.py.md create mode 100644 Test/yosupo/DataStructure/Unionfind.test.py.md create mode 100644 Test/yosupo/Sample/A+B.test.py.md create mode 100644 Test/yosupo/Sample/ManyA+B.test.py.md create mode 100644 Test/yukicoder/1639.test.py.md create mode 100644 Test/yukicoder/1737.test.py.md create mode 100644 Test/yukicoder/182.test.py.md create mode 100644 Test/yukicoder/677.test.py.md create mode 100644 Test/yukicoder/847.test.py.md create mode 100644 Tree/BinaryIndexedTree.py.md create mode 100644 Tree/FindCenter.py.md create mode 100644 Tree/FindDiameter.py.md create mode 100644 Tree/LazySegTree.py.md create mode 100644 Tree/README.md create mode 100644 Tree/RangeMinimamQuery.py.md create mode 100644 Tree/SegTree.py.md create mode 100644 Tree/UnionFindTree.py.md create mode 100644 _config.yml create mode 100644 _includes/document_body.html create mode 100644 _includes/document_footer.html create mode 100644 _includes/document_header.html create mode 100644 _includes/highlight.html create mode 100644 _includes/mathjax.html create mode 100644 _includes/theme_fix.html create mode 100644 _includes/toppage_body.html create mode 100644 _includes/toppage_header.html create mode 100644 _layouts/document.html create mode 100644 _layouts/page.html create mode 100644 _layouts/toppage.html create mode 100644 assets/css/copy-button.css create mode 100644 assets/js/copy-button.js create mode 100644 index.md create mode 100644 test/AOJ/ALDS1/ALDS1_13_A.test.py.md create mode 100644 test/AOJ/ALDS1/ALDS1_1_B.test.py.md create mode 100644 test/AOJ/ALDS1/ALDS1_1_C.test.py.md create mode 100644 test/AOJ/ALDS1/ALDS1_4_B.test.py.md create mode 100644 test/AOJ/DSL/DSL_1_A.test.py.md create mode 100644 test/AOJ/GRL/GRL_1_B.test.py.md create mode 100644 test/AOJ/Volume0/0000.test.py.md create mode 100644 test/AOJ/Volume0/0001.test.py.md create mode 100644 test/yosupo/DataStructure/AssociativeArray.py.md create mode 100644 test/yosupo/DataStructure/StaticRMQ.test.py.md create mode 100644 test/yosupo/DataStructure/Unionfind.test.py.md create mode 100644 test/yosupo/Sample/A+B.test.py.md create mode 100644 test/yosupo/Sample/ManyA+B.test.py.md create mode 100644 test/yukicoder/1639.test.py.md create mode 100644 test/yukicoder/1737.test.py.md create mode 100644 test/yukicoder/182.test.py.md create mode 100644 test/yukicoder/677.test.py.md create mode 100644 test/yukicoder/847.test.py.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f678d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +__pycache__/ \ No newline at end of file diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md new file mode 100644 index 0000000..b84cd2f --- /dev/null +++ b/DP/LongestCommonSubsequence.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ + \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ + \ j in range(L2 - 1, -1, -1):\n r = max(dp[i + 1][j], dp[i][j + 1])\n\ + \ if S[i] == T[j]:\n r = max(r, dp[i + 1][j + 1] + 1)\n\ + \ dp[i][j] = r\n # dp[0][0] \u304C\u9577\u3055\u306E\u89E3\n\n \ + \ # \u3053\u3053\u304B\u3089\u306F\u5FA9\u5143\u51E6\u7406\n res = []\n \ + \ i = 0; j = 0\n while i < L1 and j < L2:\n if S[i] == T[j]:\n \ + \ res.append(S[i])\n i += 1; j += 1\n elif dp[i][j]\ + \ == dp[i + 1][j]:\n i += 1\n elif dp[i][j] == dp[i][j + 1]:\n\ + \ j += 1\n return \"\".join(res)\n\nprint(LCS(\"asdcsascsadsd\"\ + , \"assdcascdascasca\"))" + dependsOn: [] + isVerificationFile: false + path: DP/LongestCommonSubsequence.py + requiredBy: [] + timestamp: '2022-05-22 23:05:29+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: DP/LongestCommonSubsequence.py +layout: document +redirect_from: +- /library/DP/LongestCommonSubsequence.py +- /library/DP/LongestCommonSubsequence.py.html +title: DP/LongestCommonSubsequence.py +--- diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md new file mode 100644 index 0000000..13f631a --- /dev/null +++ b/DP/LongestIncreasingSubsequence.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ + \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ + \ i)\n dp[x] = i\n\n return bisect_left(dp, INF)\n\nn = int(input())\n\ + a = list(map(int, input().split()))\n\ncnt = LIS(n, a)\nprint(cnt)" + dependsOn: [] + isVerificationFile: false + path: DP/LongestIncreasingSubsequence.py + requiredBy: [] + timestamp: '2022-05-22 23:05:29+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: DP/LongestIncreasingSubsequence.py +layout: document +redirect_from: +- /library/DP/LongestIncreasingSubsequence.py +- /library/DP/LongestIncreasingSubsequence.py.html +title: DP/LongestIncreasingSubsequence.py +--- diff --git a/DP/README.md b/DP/README.md new file mode 100644 index 0000000..b8d2b28 --- /dev/null +++ b/DP/README.md @@ -0,0 +1,13 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## DP +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[LongestCommonSubsequence.py](LongestCommonSubsequence.py)|最長共通部分列(LCS)|与えられた列の集合の最長共通部分列を見つけ出す| +|[LongestIncreasingSubsequence.py](LongestIncreasingSubsequence.py)|最長増加部分列(LIS)|与えられた列の集合の最長増加部分列を見つけ出す| \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..7434b39 --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source "https://rubygems.org" +gem 'github-pages', group: :jekyll_plugins diff --git a/Geometry/README.md b/Geometry/README.md new file mode 100644 index 0000000..075cbe0 --- /dev/null +++ b/Geometry/README.md @@ -0,0 +1,16 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Geometry +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[RotateLeft.py](RotateLeft.py)|90°左回転|2次元リストを90°左に回転させる| +|[RotateReverse.py](RotateReverse.py)|180°回転|2次元リストを180°回転させる| +|[RotateRight.py](RotateRight.py)|90°右回転|2次元リストを90°右に回転させる| +|[RotateTranspose.py](RotateTranspose.py)|転置行列|転置行列を求める| +|[SharedPoint.py](SharedPoint.py)|2つの円の共有点|2つの円の共有点の個数を求める| \ No newline at end of file diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md new file mode 100644 index 0000000..cac5fd0 --- /dev/null +++ b/Geometry/RotateLeft.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ + \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ + \ for _ in range(w)]\n for i in range(h):\n for j in range(w):\n \ + \ ans[w - j - 1][i] = l[i][j]\n\n return ans\n\nsample = [[0, 1, 2,\ + \ 3], [4, 5, 6, 7], [8, 9, 10, 11]]\nprint(*LeftRotate(sample), sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: Geometry/RotateLeft.py + requiredBy: [] + timestamp: '2022-07-10 23:02:52+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Geometry/RotateLeft.py +layout: document +redirect_from: +- /library/Geometry/RotateLeft.py +- /library/Geometry/RotateLeft.py.html +title: Geometry/RotateLeft.py +--- diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md new file mode 100644 index 0000000..43fc736 --- /dev/null +++ b/Geometry/RotateReverse.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ + \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ + \ for i in range(h):\n for j in range(w):\n ans[h - i - 1][w\ + \ - j - 1] = l[i][j]\n\n return ans\n\nsample = [[0, 1, 2, 3], [4, 5, 6, 7],\ + \ [8, 9, 10, 11]]\nprint(*ReverseRotate(sample), sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: Geometry/RotateReverse.py + requiredBy: [] + timestamp: '2022-07-10 23:02:52+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Geometry/RotateReverse.py +layout: document +redirect_from: +- /library/Geometry/RotateReverse.py +- /library/Geometry/RotateReverse.py.html +title: Geometry/RotateReverse.py +--- diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md new file mode 100644 index 0000000..0c70c05 --- /dev/null +++ b/Geometry/RotateRight.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ + \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ + \ for _ in range(w)]\n for i in range(h):\n for j in range(w):\n \ + \ ans[j][h - i - 1] = l[i][j]\n\n return ans\n\nsample = [[0, 1, 2,\ + \ 3], [4, 5, 6, 7], [8, 9, 10, 11]]\nprint(*RightRotate(sample), sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: Geometry/RotateRight.py + requiredBy: [] + timestamp: '2022-07-10 23:02:52+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Geometry/RotateRight.py +layout: document +redirect_from: +- /library/Geometry/RotateRight.py +- /library/Geometry/RotateRight.py.html +title: Geometry/RotateRight.py +--- diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md new file mode 100644 index 0000000..963072c --- /dev/null +++ b/Geometry/RotateTranspose.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ + \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ + \ * h for _ in range(w)]\n for i in range(w):\n for j in range(h):\n\ + \ ans[i][j] = l[j][i]\n\n return ans\n\nsample = [[0, 1, 2, 3],\ + \ [4, 5, 6, 7], [8, 9, 10, 11]]\nprint(*TransposeRotate(sample), sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: Geometry/RotateTranspose.py + requiredBy: [] + timestamp: '2022-07-10 23:02:52+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Geometry/RotateTranspose.py +layout: document +redirect_from: +- /library/Geometry/RotateTranspose.py +- /library/Geometry/RotateTranspose.py.html +title: Geometry/RotateTranspose.py +--- diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md new file mode 100644 index 0000000..6783eba --- /dev/null +++ b/Geometry/SharedPoint.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: + - https://atcoder.jp/contests/abc259/submissions/33150317 + - https://atcoder.jp/contests/abc259/tasks/abc259_d + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ + \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ + \u3092\u6C42\u3081\u308B\"\"\"\n # (x1, y1) \u3092\u4E2D\u5FC3\u3068\u3057\u305F\ + \u534A\u5F84 r1 \u306E\u5186\n # (x - x1) ** 2 + (y - y1) ** 2 = r1 ** 2\n\ + \ d = (x1 - x2) ** 2 + (y1 - y2) ** 2\n \n # r1 > r2\n if r1 < r2:\n\ + \ r1, r2 = r2, r1\n \n if d == (r1 + r2) ** 2 or d == (r1 - r2) **\ + \ 2:\n return 1\n elif (r1 - r2) ** 2 < d < (r1 + r2) ** 2:\n \ + \ return 2\n else:\n return 0\n\n'''\n\u985E\u984C\nABC259-D - Circumferences:\ + \ https://atcoder.jp/contests/abc259/tasks/abc259_d\nAC\u30B3\u30FC\u30C9: https://atcoder.jp/contests/abc259/submissions/33150317\n\ + '''\n" + dependsOn: [] + isVerificationFile: false + path: Geometry/SharedPoint.py + requiredBy: [] + timestamp: '2022-07-10 23:21:24+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Geometry/SharedPoint.py +layout: document +redirect_from: +- /library/Geometry/SharedPoint.py +- /library/Geometry/SharedPoint.py.html +title: Geometry/SharedPoint.py +--- diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md new file mode 100644 index 0000000..c47f803 --- /dev/null +++ b/Graph/BellmanFord.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ + \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ + \n for i in range(n):\n update = False # \u7D4C\u8DEF\u66F4\u65B0\u3092\ + \u884C\u3063\u305F\u304B\n for a, b, cost in g:\n if dist[b]\ + \ > dist[a] + cost:\n dist[b] = dist[a] + cost\n \ + \ update = True\n\n # \u66F4\u65B0\u304C\u884C\u308F\u308C\u306A\u3051\ + \u308C\u3070\u305D\u308C\u304C\u6700\u77ED\u7D4C\u8DEF\u3068\u306A\u308B\n \ + \ if not update:\n break\n\n if i == n - 1:\n \ + \ return -1\n\n return dist\n\n\ndef main() -> None:\n n, m = map(int,\ + \ input().split())\n g = []\n for _ in range(m):\n u, v, cost = map(int,\ + \ input().split())\n u -= 1\n v -= 1\n g.append((u, v, cost))\n\ + \ g.append((v, u, cost))\n\n ans = bellman_ford(0)\n\n if ans ==\ + \ -1:\n print('Yes')\n else:\n print(ans)\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Graph/BellmanFord.py + requiredBy: [] + timestamp: '2022-07-19 12:08:25+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/BellmanFord.py +layout: document +redirect_from: +- /library/Graph/BellmanFord.py +- /library/Graph/BellmanFord.py.html +title: Graph/BellmanFord.py +--- diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md new file mode 100644 index 0000000..f9e26b2 --- /dev/null +++ b/Graph/EulerTour.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ + \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ + \ a -= 1\n b -= 1\n g[a].append(b)\n g[b].append(a)\n\nfor i in range(n):\n\ + \ g[i].sort()\n\nans = [] # \u9802\u70B9\u96C6\u5408\ndepth = [] # \u6DF1\u3055\ + \u306E\u96C6\u5408\ndef dfs(now: int, prev: int, cnt: int):\n ans.append(now\ + \ + 1)\n depth.append(cnt)\n for nxt in g[now]:\n if nxt == prev:\ + \ continue\n dfs(nxt, now, cnt + 1)\n ans.append(now + 1)\n \ + \ depth.append(cnt)\n\ndfs(0, -1, 0)\nprint(*ans)\nprint(*depth)" + dependsOn: [] + isVerificationFile: false + path: Graph/EulerTour.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/EulerTour.py +layout: document +redirect_from: +- /library/Graph/EulerTour.py +- /library/Graph/EulerTour.py.html +title: Graph/EulerTour.py +--- diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md new file mode 100644 index 0000000..0653bcb --- /dev/null +++ b/Graph/Kruskal.py.md @@ -0,0 +1,52 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1639.test.py + title: Test/yukicoder/1639.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/1639.test.py + title: test/yukicoder/1639.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ + \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ + \ * n\n\n\n def leader(self, a: int) -> int:\n while self.p[a] >= 0:\n\ + \ a = self.p[a]\n\n return a\n\n\n def merge(self, a: int,\ + \ b: int) -> int:\n x = self.leader(a)\n y = self.leader(b)\n\n\ + \ if x == y:\n return x\n\n if self.p[x] > self.p[y]:\n\ + \ x, y = y, x\n\n self.p[x] += self.p[y]\n self.p[y]\ + \ = x\n\n return x\n\n\n def same(self, a: int, b: int) -> bool:\n \ + \ return self.leader(a) == self.leader(b)\n\n\n def size(self, a: int)\ + \ -> int:\n return -self.p[self.leader(a)]\n\n\n def cost(self, g: list)\ + \ -> list:\n tree = []\n for u, v, cost in g:\n if self.same(u,\ + \ v):\n continue\n self.merge(u, v)\n tree.append(cost)\n\ + \n return tree\n\n\ndef main() -> None:\n n, m = map(int, input().split())\n\ + \ g = [list(map(int, input().split())) for _ in range(m)]\n\n kruskal =\ + \ Kruskal(n, g)\n print(sum(kruskal.tree(g)))\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: false + path: Graph/Kruskal.py + requiredBy: [] + timestamp: '2022-08-10 23:47:40+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/yukicoder/1639.test.py + - test/yukicoder/1639.test.py +documentation_of: Graph/Kruskal.py +layout: document +redirect_from: +- /library/Graph/Kruskal.py +- /library/Graph/Kruskal.py.html +title: Graph/Kruskal.py +--- diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md new file mode 100644 index 0000000..c52f798 --- /dev/null +++ b/Graph/LowestCommonAncestor.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ + \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ + \ for j in a:\n g[i].append(j)\n g[j].append(i)\n\nLogN = 1\n\ + while 1 << LogN < n: \n LogN += 1\n\ndepth = [0] * n\nroot = [[0] * n for _\ + \ in range(LogN)]\n\ndef dfs(now: int, prev: int):\n root[0][now] = prev\n\ + \ for nxt in g[now]:\n if nxt == prev: continue\n depth[nxt]\ + \ = depth[now] + 1\n dfs(nxt, now)\ndfs(0, -1)\n\nfor i in range(LogN -\ + \ 1):\n for j in range(n):\n root[i + 1][j] = root[i][root[i][j]]\n\n\ + def LCA(u, v):\n # depth[u] < depth[v]\n if depth[u] > depth[v]:\n \ + \ u, v = v, u\n\n dist = depth[v] - depth[u]\n for i in range(LogN):\n\ + \ if dist >> i & 1:\n v = root[i][v]\n\n if u == v:\n \ + \ return u\n\n for i in reversed(range(LogN)):\n if root[i][u] !=\ + \ root[i][v]:\n u = root[i][u]\n v = root[i][v]\n return\ + \ root[0][u]\n\nq = int(input())\nfor _ in range(q):\n u, v = map(int, input().split())\n\ + \ print(LCA(u, v))" + dependsOn: [] + isVerificationFile: false + path: Graph/LowestCommonAncestor.py + requiredBy: [] + timestamp: '2022-02-06 19:12:47+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/LowestCommonAncestor.py +layout: document +redirect_from: +- /library/Graph/LowestCommonAncestor.py +- /library/Graph/LowestCommonAncestor.py.html +title: Graph/LowestCommonAncestor.py +--- diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md new file mode 100644 index 0000000..5ba5ee2 --- /dev/null +++ b/Graph/Prim.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ + \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ + \ng = [[] for _ in range(n)]\nfor _ in range(m):\n u, v, cost = map(int,input().split())\n\ + \ g[u].append((cost, v))\n g[v].append((cost, u))\n\nvisited = [False] *\ + \ n\nconnection = 0\nq = []\nq.append((0, 0))\nheapify(q)\n\nans = 0\nwhile q:\n\ + \ cost, v = heappop(q)\n if visited[v]: continue\n\n visited[v] = True\n\ + \ connection += 1\n ans += cost\n\n for nxt in g[v]:\n heappush(q,\ + \ nxt)\n \n if connection == n:\n break\n\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: Graph/Prim.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/Prim.py +layout: document +redirect_from: +- /library/Graph/Prim.py +- /library/Graph/Prim.py.html +title: Graph/Prim.py +--- diff --git a/Graph/README.md b/Graph/README.md new file mode 100644 index 0000000..185be85 --- /dev/null +++ b/Graph/README.md @@ -0,0 +1,20 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Graph +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[bellman_ford.py](bellman_ford.py)|ベルマンフォード法|負辺を含む単一最短経路問題を求める。負閉路の検出も可能。| +|[dijkstra.py](dijksra.py)|ダイクストラ法|単一頂点からの最小距離を求める。| +|[EulerTourpy](EulerTour.py)|オイラーツアー|根付きを根からDFSし根に戻ってくる行きと戻りの経路を1次元のテーブルに記録したもの。同時に、辿る際に以下のような情報を記録し、それらに対してRMQやRSQを適応することで木に対するいくつかのクエリを高速に行える。| +|[Kruskal.py](Kruskal.py)|クラスカル法|最小全域木を求める。Union-Findを用いてグラフの連結判定を行う。| +|[LowestCommonAncestor.py](LowestCommonAncestor.py)|最小共通祖先|ある2つの頂点に対して、その両方を自身以下に持つ頂点のうち、最も低い位置にある頂点を求める| +|[Prim.py](Prim.py)|プリム法|最小全域木を求める。訪れた頂点数をカウントしながら求める。| +|[StronglyConnectedComponent.py](StronglyConnectedComponent.py)|強連結成分分解|有向グラフにおいて、互いに行き来が可能な頂点の集合を求める。| +|[TopologicalSort.py](TopologicalSort.py)|トポロジカルソート|有向非巡回グラフの各頂点を順序付けして、どの頂点もその出力辺の先の頂点より前に来るように並べる。DAG(Directed Acyclic Graph)との相性が良い| +|[warshall_floyd.py](warshall_floyd.py)|ワーシャルフロイド法|O(N^3)かかってしまうため、頂点数が少ない時に有効| \ No newline at end of file diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md new file mode 100644 index 0000000..63bfc4f --- /dev/null +++ b/Graph/StronglyConnectedComponent.py.md @@ -0,0 +1,62 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ + \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ + \ n):\n self.n = n\n self.graph = [[] for _ in range(n)]\n \ + \ self.rev_graph = [[] for _ in range(n)]\n self.labels = [-1] * n\n\ + \ self.lb_cnt = 0\n\n def add_edge(self, v, nxt_v):\n self.graph[v].append(nxt_v)\n\ + \ self.rev_graph[nxt_v].append(v)\n\n def build(self):\n self.post_order\ + \ = []\n self.used = [False] * self.n\n for v in range(self.n):\n\ + \ if not self.used[v]:\n self._dfs(v)\n for v\ + \ in reversed(self.post_order):\n if self.labels[v] == -1:\n \ + \ self._rev_dfs(v)\n self.lb_cnt += 1\n\n def _dfs(self,\ + \ v):\n stack = [v, 0]\n while stack:\n v, idx = stack[-2:]\n\ + \ if not idx and self.used[v]:\n stack.pop()\n \ + \ stack.pop()\n else:\n self.used[v] = True\n\ + \ if idx < len(self.graph[v]):\n stack[-1] +=\ + \ 1\n stack.append(self.graph[v][idx])\n \ + \ stack.append(0)\n else:\n stack.pop()\n \ + \ self.post_order.append(stack.pop())\n\n def _rev_dfs(self,\ + \ v):\n stack = [v]\n self.labels[v] = self.lb_cnt\n while\ + \ stack:\n v = stack.pop()\n for nxt_v in self.rev_graph[v]:\n\ + \ if self.labels[nxt_v] != -1:\n continue\n\ + \ stack.append(nxt_v)\n self.labels[nxt_v] = self.lb_cnt\n\ + \n def construct(self):\n self.dag = [[] for i in range(self.lb_cnt)]\n\ + \ self.groups = [[] for i in range(self.lb_cnt)]\n for v, lb in\ + \ enumerate(self.labels):\n for nxt_v in self.graph[v]:\n \ + \ nxt_lb = self.labels[nxt_v]\n if lb == nxt_lb:\n \ + \ continue\n self.dag[lb].append(nxt_lb)\n \ + \ self.groups[lb].append(v)\n return self.dag, self.groups\n\n\nn,\ + \ m = map(int, input().split()) # \u30CE\u30FC\u30C9\u6570\u30FB\u30A8\u30C3\u30B8\ + \u6570\ngraph = [list(map(int,input().split())) for _ in range(m)] # \u30A8\u30C3\ + \u30B8\u306E\u53D7\u3051\u53D6\u308A\nscc = SCC(n) # Class\u3092\u4F7F\u3048\u308B\ + \u3088\u3046\u306B\u3059\u308B\n\nfor u, v in graph:\n scc.add_edge(u - 1,\ + \ v - 1) # \u6709\u5411\u30B0\u30E9\u30D5\u306B\u3059\u308B\uFF080index\uFF09\n\ + scc.build()\n_,elems = scc.construct() # \u9589\u8DEF\u305A\u3064\u306E\u914D\u5217\ + \u3067\u5E30\u3063\u3066\u304F\u308B\n\nprint(elems)" + dependsOn: [] + isVerificationFile: false + path: Graph/StronglyConnectedComponent.py + requiredBy: [] + timestamp: '2022-02-06 19:12:47+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/StronglyConnectedComponent.py +layout: document +redirect_from: +- /library/Graph/StronglyConnectedComponent.py +- /library/Graph/StronglyConnectedComponent.py.html +title: Graph/StronglyConnectedComponent.py +--- diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md new file mode 100644 index 0000000..0ba0302 --- /dev/null +++ b/Graph/TopologicalSort.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ + \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ + \ # d[i] := \u9802\u70B9i\u306B\u5165\u3063\u3066\u304F\u308B\u8FBA\u306E\u500B\ + \u6570\n\nfor _ in range(m):\n a, b = map(int,input().split())\n g[a - 1].append(b\ + \ - 1)\n d[b - 1] += 1\n\nq = []\n# \u30B9\u30BF\u30FC\u30C8\u5730\u70B9\u3092\ + \u6C7A\u3081\u308B\nfor i in range(n):\n if d[i] == 0:\n heappush(q,\ + \ i)\n\nans = []\nl = 0 # \u7B54\u3048\u306E\u9577\u3055\nwhile l < n:\n if\ + \ len(q) == 0:\n exit(print(-1))\n\n v = heappop(q)\n ans.append(v\ + \ + 1)\n l += 1\n for i in g[v]:\n d[i] -= 1\n if d[i] ==\ + \ 0:\n heappush(q, i)\n\nprint(*ans)" + dependsOn: [] + isVerificationFile: false + path: Graph/TopologicalSort.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/TopologicalSort.py +layout: document +redirect_from: +- /library/Graph/TopologicalSort.py +- /library/Graph/TopologicalSort.py.html +title: Graph/TopologicalSort.py +--- diff --git a/Graph/dijkstra.py.md b/Graph/dijkstra.py.md new file mode 100644 index 0000000..a17065f --- /dev/null +++ b/Graph/dijkstra.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int) -> list:\n \ + \ INF = 10 ** 18\n dist = [INF] * n\n dist[s] = 0\n q = [(0, s)]\n \ + \ while q:\n pre = heappop(q)[1]\n for nxt, cost in g[pre]:\n\ + \ if dist[nxt] < dist[pre] + cost: continue\n dist[nxt]\ + \ = dist[pre] + cost\n heappush(q, (dist[nxt], nxt))\n\n return\ + \ dist\n\nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nfor _\ + \ in range(m):\n x, y, cost = map(int,input().split())\n x -= 1\n y -=\ + \ 1\n g[x].append((y, cost))\n g[y].append((x, cost))\n\nd = dijkstra(0)" + dependsOn: [] + isVerificationFile: false + path: Graph/dijkstra.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/dijkstra.py +layout: document +redirect_from: +- /library/Graph/dijkstra.py +- /library/Graph/dijkstra.py.html +title: Graph/dijkstra.py +--- diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md new file mode 100644 index 0000000..4c3e77f --- /dev/null +++ b/Graph/warshall_floyd.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ + \ for i in range(n):\n for j in range(n):\n dist[i][j]\ + \ = min(dist[i][j], dist[i][k] + dist[k][j])\n\n return dist\n\nINF = 10 **\ + \ 20\nn, m = map(int,input().split()) # \u9802\u70B9\u6570\u30FB\u8FBA\u306E\u6570\ + \n\ndist = [[INF] * n for _ in range(n)] # \u96A3\u63A5\u884C\u5217\u306E\u521D\ + \u671F\u5316\n\n# \u81EA\u5206\u81EA\u8EAB\u3078\u306E\u30B3\u30B9\u30C8\u306F\ + \ 0\nfor i in range(n):\n dist[i][i] = 0\n\n# \u4E0E\u3048\u3089\u308C\u305F\ + \u8DDD\u96E2\u306E\u521D\u671F\u5316\nfor i in range(m):\n x, y, r = map(int,input().split())\n\ + \ dist[x - 1][y - 1] = r\n dist[y - 1][x - 1] = r\n\n# s\u304B\u3089t\u3078\ + \u306E\u6700\u77ED\u8DDD\u96E2\u3092\u6C42\u3081\u308B\nans = warshall_floyd()" + dependsOn: [] + isVerificationFile: false + path: Graph/warshall_floyd.py + requiredBy: [] + timestamp: '2022-03-23 20:17:58+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Graph/warshall_floyd.py +layout: document +redirect_from: +- /library/Graph/warshall_floyd.py +- /library/Graph/warshall_floyd.py.html +title: Graph/warshall_floyd.py +--- diff --git a/MathLibrary/BinaryToDecimal.py.md b/MathLibrary/BinaryToDecimal.py.md new file mode 100644 index 0000000..c7cc517 --- /dev/null +++ b/MathLibrary/BinaryToDecimal.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ + \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ + \ decimal_number += int(num[i]) * (2 ** i)\n return decimal_number\n\ + \nn = 101001001111101011\nans = BinaryToDecimal(n)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/BinaryToDecimal.py + requiredBy: [] + timestamp: '2021-02-14 03:53:12+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/BinaryToDecimal.py +layout: document +redirect_from: +- /library/MathLibrary/BinaryToDecimal.py +- /library/MathLibrary/BinaryToDecimal.py.html +title: MathLibrary/BinaryToDecimal.py +--- diff --git a/MathLibrary/CumulativeSum.py.md b/MathLibrary/CumulativeSum.py.md new file mode 100644 index 0000000..e02e1fa --- /dev/null +++ b/MathLibrary/CumulativeSum.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ + \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ + \ return num_array\n\n\na = [1, 4, -1, 9, 34, 21, -12, 31]\nans = CumulativeSum(a)\n\ + print(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/CumulativeSum.py + requiredBy: [] + timestamp: '2021-02-08 02:18:34+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/CumulativeSum.py +layout: document +redirect_from: +- /library/MathLibrary/CumulativeSum.py +- /library/MathLibrary/CumulativeSum.py.html +title: MathLibrary/CumulativeSum.py +--- diff --git a/MathLibrary/DecimalToBinary.py.md b/MathLibrary/DecimalToBinary.py.md new file mode 100644 index 0000000..d1cdd1c --- /dev/null +++ b/MathLibrary/DecimalToBinary.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ + \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ + \ % 2)\n num //= 2\n return int(binary_number[::-1])\n\nn = 1234567890\n\ + ans = DeciamlToBinary(n)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/DecimalToBinary.py + requiredBy: [] + timestamp: '2021-02-08 02:18:34+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/DecimalToBinary.py +layout: document +redirect_from: +- /library/MathLibrary/DecimalToBinary.py +- /library/MathLibrary/DecimalToBinary.py.html +title: MathLibrary/DecimalToBinary.py +--- diff --git a/MathLibrary/DigitSum_int.py.md b/MathLibrary/DigitSum_int.py.md new file mode 100644 index 0000000..e2ad715 --- /dev/null +++ b/MathLibrary/DigitSum_int.py.md @@ -0,0 +1,31 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ + \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ + \ += num % 10\n num //= 10\n\n return digit_sum\n\nprint(DigitSum(1234567890))" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/DigitSum_int.py + requiredBy: [] + timestamp: '2022-05-30 00:19:38+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/DigitSum_int.py +layout: document +redirect_from: +- /library/MathLibrary/DigitSum_int.py +- /library/MathLibrary/DigitSum_int.py.html +title: MathLibrary/DigitSum_int.py +--- diff --git a/MathLibrary/DigitSum_str.py.md b/MathLibrary/DigitSum_str.py.md new file mode 100644 index 0000000..028225d --- /dev/null +++ b/MathLibrary/DigitSum_str.py.md @@ -0,0 +1,31 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ + \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ + \nprint(DigitSum('1234567890'))" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/DigitSum_str.py + requiredBy: [] + timestamp: '2022-05-30 00:19:38+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/DigitSum_str.py +layout: document +redirect_from: +- /library/MathLibrary/DigitSum_str.py +- /library/MathLibrary/DigitSum_str.py.html +title: MathLibrary/DigitSum_str.py +--- diff --git a/MathLibrary/ExtGCD.py.md b/MathLibrary/ExtGCD.py.md new file mode 100644 index 0000000..072c196 --- /dev/null +++ b/MathLibrary/ExtGCD.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ + \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ + \n q, r = a // b, a % b\n x, y, d = extgcd(b, r)\n s, t = y, x - q *\ + \ y\n\n return s, t, d # (qb + r)s + bt = d\u3068\u306A\u308B s, t, d\n\nans\ + \ = extgcd(30, 50)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/ExtGCD.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/ExtGCD.py +layout: document +redirect_from: +- /library/MathLibrary/ExtGCD.py +- /library/MathLibrary/ExtGCD.py.html +title: MathLibrary/ExtGCD.py +--- diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md new file mode 100644 index 0000000..aaf58b6 --- /dev/null +++ b/MathLibrary/Factorization.py.md @@ -0,0 +1,50 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1737.test.py + title: Test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/847.test.py + title: Test/yukicoder/847.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/1737.test.py + title: test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/847.test.py + title: test/yukicoder/847.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ + \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ + \ while tmp % i == 0:\n cnt += 1\n tmp\ + \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ + \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ + \n\nif __name__ == \"__main\":\n main()" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/Factorization.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/yukicoder/1737.test.py + - Test/yukicoder/847.test.py + - test/yukicoder/1737.test.py + - test/yukicoder/847.test.py +documentation_of: MathLibrary/Factorization.py +layout: document +redirect_from: +- /library/MathLibrary/Factorization.py +- /library/MathLibrary/Factorization.py.html +title: MathLibrary/Factorization.py +--- diff --git a/MathLibrary/FromFloatToInt.py.md b/MathLibrary/FromFloatToInt.py.md new file mode 100644 index 0000000..ea184f7 --- /dev/null +++ b/MathLibrary/FromFloatToInt.py.md @@ -0,0 +1,31 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ + \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ + \u59CB\u306Fstr\u3067\u6E21\u3059\nx, y = FloatToInt(n)\nprint(x, y)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/FromFloatToInt.py + requiredBy: [] + timestamp: '2021-05-01 00:46:53+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/FromFloatToInt.py +layout: document +redirect_from: +- /library/MathLibrary/FromFloatToInt.py +- /library/MathLibrary/FromFloatToInt.py.html +title: MathLibrary/FromFloatToInt.py +--- diff --git a/MathLibrary/ManhattanDistanceSearch.py.md b/MathLibrary/ManhattanDistanceSearch.py.md new file mode 100644 index 0000000..763b9d7 --- /dev/null +++ b/MathLibrary/ManhattanDistanceSearch.py.md @@ -0,0 +1,50 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ + \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ + \u308B\u5834\u6240\u3092\u5168\u63A2\u7D22\u3059\u308B\uFF08t\u306F\u30DE\u30F3\ + \u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u306E\u534A\u5F84\uFF09\"\n tmp = 0 #\ + \ \u3053\u3053\u306F\u4F8B\n for i in range(k - 1, h - (k - 1)):\n for\ + \ j in range(k - 1, w - (k - 1)):\n cnt = 0 # \u3053\u3053\u306F\u4F8B\ + \n for t in range(2):\n if t == 0: # ((i,j)\u30DE\u30B9\ + \u3092\u542B\u3080 k \u500B)\n for l in reversed(range(k)):\n\ + \ for x in range(j - l, j + l + 1):\n \ + \ y = i - (k - (l + 1))\n if li[y][x] ==\ + \ \"1\": cnt += 1 # \u3053\u3053\u306F\u4F8B\n elif t == 1: # ((i,j)\u30DE\ + \u30B9\u3092\u542B\u307E\u306A\u3044 k-1 \u500B)\n for l in\ + \ reversed(range(k - 1)):\n for x in range(j - l, j + l\ + \ + 1):\n y = i + (k - (l + 1))\n \ + \ if li[y][x] == \"1\": cnt += 1 # \u3053\u3053\u306F\u4F8B\n \ + \ tmp = max(tmp, cnt) # \u3053\u3053\u306F\u4F8B\n return tmp # \u3053\ + \u3053\u306F\u4F8B\n\n\"\"\"\n5 6 2\n010111\n100100\n010010\n100101\n011010\n\n\ + \u4E0A\u56F3\u306E 5*6 \u306E\u30B0\u30EA\u30C3\u30C9\u3067 k=2 \u306E\u6642\u306E\ + \ 1 \u306E\u542B\u307E\u308C\u308B\u6700\u5927\u306E\u500B\u6570\u3092\u51FA\u529B\ + \u3059\u308B\n\"\"\"\nh, w, k = map(int,input().split()) # \u7E26\u3001\u6A2A\u3001\ + \u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u306E\u534A\u5F84\ngrid = [list(input().rstrip())\ + \ for _ in range(h)]\nans = manhattan_distance(grid, k)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/ManhattanDistanceSearch.py + requiredBy: [] + timestamp: '2021-08-09 18:37:53+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/ManhattanDistanceSearch.py +layout: document +redirect_from: +- /library/MathLibrary/ManhattanDistanceSearch.py +- /library/MathLibrary/ManhattanDistanceSearch.py.html +title: MathLibrary/ManhattanDistanceSearch.py +--- diff --git a/MathLibrary/MaxCumulativeSum.py.md b/MathLibrary/MaxCumulativeSum.py.md new file mode 100644 index 0000000..e83f62d --- /dev/null +++ b/MathLibrary/MaxCumulativeSum.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u306E\u90E8\u5206\u548C\u306E\u6700\ + \u5927\u5024\u3092\u6C42\u3081\u308B\ndef MaxCumulativeSum(num_array, k): # \u914D\ + \u5217\u30FB\u533A\u9593\u5E45\n max_cumulative_sum = [] # \u533A\u9593\u5E45\ + \u5206\u306E\u90E8\u5206\u548C\u3092\u683C\u7D0D\u3059\u308B\u914D\u5217\n \ + \ count = 0\n for i in range(k):\n count += num_array[i]\n max_cumulative_sum.append([count,\ + \ 0, 0 + k]) # \u90E8\u5206\u548C\u30FB\u5DE6\u7AEF\u30FB\u53F3\u7AEF\n \n\ + \ for i in range(len(num_array) - k):\n count += num_array[i + k]\n\ + \ count -= num_array[i]\n max_cumulative_sum.append([count, i +\ + \ 1, i + 1 + k])\n \n max_cumulative_sum.sort(key = lambda x: x[0], reverse\ + \ = True) # \u964D\u9806\u306B\u30BD\u30FC\u30C8\n return max_cumulative_sum[0]\n\ + \n\na = [1, 4, -1, 9, 34, 21, -12, 31]\nans = MaxCumulativeSum(a, 3) # \u914D\u5217\ + \u30FB\u533A\u9593\u5E45\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/MaxCumulativeSum.py + requiredBy: [] + timestamp: '2021-02-08 02:18:34+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/MaxCumulativeSum.py +layout: document +redirect_from: +- /library/MathLibrary/MaxCumulativeSum.py +- /library/MathLibrary/MaxCumulativeSum.py.html +title: MathLibrary/MaxCumulativeSum.py +--- diff --git a/MathLibrary/NFactorizarition.py.md b/MathLibrary/NFactorizarition.py.md new file mode 100644 index 0000000..0fbd2d0 --- /dev/null +++ b/MathLibrary/NFactorizarition.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ + \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ + \u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\u308B\"\"\"\n if n ==\ + \ 0:\n return []\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n\ + \ is_prime[1] = False\n for i in range(2, int(n ** 0.5) + 1):\n if\ + \ not is_prime[i]: continue\n for j in range(i * 2, n + 1, i):\n \ + \ is_prime[j] = False\n return [i for i in range(n + 1) if is_prime[i]]\n\ + \ndef nCkFactorization(k: int) -> list:\n \"\"\"1,2, ... ,n \u3092\u5168\u3066\ + \u7D20\u56E0\u6570\u5206\u89E3\u3059\u308B\"\"\"\n\n divisors = [[] for _ in\ + \ range(k + 1)]\n a = [i for i in range(k + 1)]\n num = primes_list(k)\n\ + \n for p in num:\n for i in range(p, k + 1, p):\n while a[i]\ + \ % p == 0:\n divisors[i].append(p)\n a[i] //= p\n\ + \n return divisors\n\nnum = nCkFactorization(100)\n#print(*num, sep=\"\\n\"\ + )\nfor i in range(len(num)):\n print(i, num[i])" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/NFactorizarition.py + requiredBy: [] + timestamp: '2021-11-14 03:41:48+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/NFactorizarition.py +layout: document +redirect_from: +- /library/MathLibrary/NFactorizarition.py +- /library/MathLibrary/NFactorizarition.py.html +title: MathLibrary/NFactorizarition.py +--- diff --git a/MathLibrary/PrimaryCheck.py.md b/MathLibrary/PrimaryCheck.py.md new file mode 100644 index 0000000..79eaa33 --- /dev/null +++ b/MathLibrary/PrimaryCheck.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_1_C.test.py + title: Test/AOJ/ALDS1/ALDS1_1_C.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/ALDS1/ALDS1_1_C.test.py + title: test/AOJ/ALDS1/ALDS1_1_C.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ + \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ + \ return False\n\n return True" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/PrimaryCheck.py + requiredBy: [] + timestamp: '2022-08-09 16:25:06+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/ALDS1/ALDS1_1_C.test.py + - test/AOJ/ALDS1/ALDS1_1_C.test.py +documentation_of: MathLibrary/PrimaryCheck.py +layout: document +redirect_from: +- /library/MathLibrary/PrimaryCheck.py +- /library/MathLibrary/PrimaryCheck.py.html +title: MathLibrary/PrimaryCheck.py +--- diff --git a/MathLibrary/README.md b/MathLibrary/README.md new file mode 100644 index 0000000..ea2654d --- /dev/null +++ b/MathLibrary/README.md @@ -0,0 +1,26 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## MathLibrary +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[BinaryToDecimal.py](BinaryToDecimal.py)|2進数 -> 10進数への変換|2進数を10進数に変換してくれる| +|DecimalToBinary.py|10進数 -> 2進数への変換|10進数を2進数に変換してくれる| +|[DigitSum_int.py](DigitSum_int.py)|桁和を求める|int の数字列の桁和を求める| +|[DigitSum_str.py](DigitSum_str.py)|桁和を求める|str の文字列の桁和を求める| +|divisor.py|約数列挙|約数の列挙を行ってくれる| +|ExtGCD.py|拡張ユークリッドの互除法|ap + bq = d := gcd(a, b)となる (p, q, d) を返す| +|FromFloatToInt.py|float -> int|floatの誤差計算を防ぐためにintに変換して計算する| +|factorization.py|素因数分解|素因数分解を行ってくれる| +|PrimaryCheck.py|素数判定|その数が素数かどうかの判定を行ってくれる 一般的には十分高速だが, 競プロ界隈だと遅い| +|[SieveOfEratosthenes.py](SieveOfEratosthenes.py)|エラトステネスの篩|素数を列挙を行う, 計算量は O(√Nlog√N)?| +|[XorToN.py](XorToN.py)|0〜NまでのXORをとる|計算量はO(1)| +|CumulativeSum.py|累積和|累積和を行ってくれる| +|MaxCumulativeSum.py|区間累積和の最大・最小問題|区間累積和の最大・最小を求められる| +|nCk.py|combinationの計算|nCkの計算を高速に行える, 計算量はO(K)| +|nCk_2.py|combinationの計算|nCk.pyのpowを最後に持ってきたから高速?, 計算量はO(K)| diff --git a/MathLibrary/SieveOfEratosthenes.py.md b/MathLibrary/SieveOfEratosthenes.py.md new file mode 100644 index 0000000..d87a22c --- /dev/null +++ b/MathLibrary/SieveOfEratosthenes.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ + \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ + \ = False\n\n for i in range(2, int(n ** 0.5) + 1):\n if not is_prime[i]:\n\ + \ continue\n for j in range(i * 2, n + 1, i):\n is_prime[j]\ + \ = False\n\n return [i for i, j in enumerate(is_prime) if j]\n\nx = primes(100)\ + \ # \u7D20\u6570\u306E\u5168\u5217\u6319\nprint(len(x), x)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/SieveOfEratosthenes.py + requiredBy: [] + timestamp: '2022-05-30 00:24:56+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/SieveOfEratosthenes.py +layout: document +redirect_from: +- /library/MathLibrary/SieveOfEratosthenes.py +- /library/MathLibrary/SieveOfEratosthenes.py.html +title: MathLibrary/SieveOfEratosthenes.py +--- diff --git a/MathLibrary/SortedMultiset.py.md b/MathLibrary/SortedMultiset.py.md new file mode 100644 index 0000000..a1fc01f --- /dev/null +++ b/MathLibrary/SortedMultiset.py.md @@ -0,0 +1,93 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: + - https://atcoder.jp/contests/abc253/tasks/abc253_c + - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py + - https://qiita.com/tatyam/items/492c70ac4c955c055602 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ + \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ + \u81EA\u5206\u7528\u306B\u5909\u63DB\u3057\u3066\u3044\u307E\u3059\n\n# https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py\n\ + \n# https://qiita.com/tatyam/items/492c70ac4c955c055602\n\n'''\nSortedMultiset\u306E\ + \u4F7F\u7528\u4F8B\n\nABC253-C - Max - Min Query https://atcoder.jp/contests/abc253/tasks/abc253_c\n\ + '''\n\n\nfrom math import ceil, sqrt\nfrom bisect import bisect_left, bisect_right,\ + \ insort\nfrom typing import Generic, Iterable, Iterator, TypeVar, Union, List\n\ + T = TypeVar('T')\n\nclass SortedMultiset(Generic[T]):\n BUCKET_RATIO = 50\n\ + \ REBUILD_RATIO = 170\n\n\n def _build(self, a=None) -> None:\n \"\ + Evenly divide `a` into buckets.\"\n if a is None:\n a = list(self)\n\ + \n size = self.size = len(a)\n bucket_size = int(ceil(sqrt(size\ + \ / self.BUCKET_RATIO)))\n self.a = [a[size * i // bucket_size : size *\ + \ (i + 1) // bucket_size] for i in range(bucket_size)]\n \n\n def __init__(self,\ + \ a: Iterable[T] = []) -> None:\n \"Make a new SortedMultiset from iterable.\ + \ / O(N) if sorted / O(N log N)\"\n a = list(a)\n if not all(a[i]\ + \ <= a[i + 1] for i in range(len(a) - 1)):\n a = sorted(a)\n \ + \ self._build(a)\n\n\n def __iter__(self) -> Iterator[T]:\n for i in\ + \ self.a:\n for j in i:\n yield j\n\n\n def __reversed__(self)\ + \ -> Iterator[T]:\n for i in reversed(self.a):\n for j in reversed(i):\n\ + \ yield j\n \n\n def __len__(self) -> int:\n return\ + \ self.size\n \n\n def __repr__(self) -> str:\n return \"SortedMultiset\"\ + \ + str(self.a)\n \n \n def __str__(self) -> str:\n s = str(list(self))\n\ + \ return \"{\" + s[1 : len(s) - 1] + \"}\"\n\n\n def _find_bucket(self,\ + \ x: T) -> List[T]:\n \"Find the bucket which should contain x. self must\ + \ not be empty.\"\n for a in self.a:\n if x <= a[-1]:\n \ + \ return a\n\n return a\n\n\n def __contains__(self, x: T)\ + \ -> bool:\n if self.size == 0:\n return False\n\n a\ + \ = self._find_bucket(x)\n i = bisect_left(a, x)\n return i != len(a)\ + \ and a[i] == x\n\n\n def count(self, x: T) -> int:\n \"Count the number\ + \ of x.\"\n return self.index_right(x) - self.index(x)\n\n\n def add(self,\ + \ x: T) -> None:\n \"Add an element. / O(\u221AN)\"\n if self.size\ + \ == 0:\n self.a = [[x]]\n self.size = 1\n return\n\ + \n a = self._find_bucket(x)\n insort(a, x)\n self.size +=\ + \ 1\n\n if len(a) > len(self.a) * self.REBUILD_RATIO:\n self._build()\n\ + \n\n def discard(self, x: T) -> bool:\n \"Remove an element and return\ + \ True if removed. / O(\u221AN)\"\n if self.size == 0:\n return\ + \ False\n\n a = self._find_bucket(x)\n i = bisect_left(a, x)\n\n\ + \ if i == len(a) or a[i] != x:\n return False\n\n a.pop(i)\n\ + \ self.size -= 1\n\n if len(a) == 0:\n self._build()\n\ + \n return True\n\n\n def lt(self, x: T) -> Union[T, None]:\n \ + \ \"Find the largest element < x, or None if it doesn't exist.\"\n for\ + \ a in reversed(self.a):\n if a[0] < x:\n return a[bisect_left(a,\ + \ x) - 1]\n\n\n def le(self, x: T) -> Union[T, None]:\n \"Find the largest\ + \ element <= x, or None if it doesn't exist.\"\n for a in reversed(self.a):\n\ + \ if a[0] <= x:\n return a[bisect_right(a, x) - 1]\n\ + \n\n def gt(self, x: T) -> Union[T, None]:\n \"Find the smallest element\ + \ > x, or None if it doesn't exist.\"\n for a in self.a:\n if\ + \ a[-1] > x:\n return a[bisect_right(a, x)]\n\n \n def ge(self,\ + \ x: T) -> Union[T, None]:\n \"Find the smallest element >= x, or None\ + \ if it doesn't exist.\"\n for a in self.a:\n if a[-1] >= x:\n\ + \ return a[bisect_left(a, x)]\n \n\n def __getitem__(self,\ + \ x: int) -> T:\n \"Return the x-th element, or IndexError if it doesn't\ + \ exist.\"\n if x < 0:\n x += self.size\n\n if x < 0:\n\ + \ raise IndexError\n\n for a in self.a:\n if x <\ + \ len(a): return a[x]\n x -= len(a)\n \n raise IndexError\n\ + \n\n def index(self, x: T) -> int:\n \"Count the number of elements\ + \ < x.\"\n ans = 0\n for a in self.a:\n if a[-1] >= x:\n\ + \ return ans + bisect_left(a, x)\n ans += len(a)\n\n\ + \ return ans\n\n\n def index_right(self, x: T) -> int:\n \"Count\ + \ the number of elements <= x.\"\n ans = 0\n for a in self.a:\n\ + \ if a[-1] > x:\n return ans + bisect_right(a, x)\n\ + \ ans += len(a)\n\n return ans" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/SortedMultiset.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/SortedMultiset.py +layout: document +redirect_from: +- /library/MathLibrary/SortedMultiset.py +- /library/MathLibrary/SortedMultiset.py.html +title: MathLibrary/SortedMultiset.py +--- diff --git a/MathLibrary/SortedSet.py.md b/MathLibrary/SortedSet.py.md new file mode 100644 index 0000000..c18fa40 --- /dev/null +++ b/MathLibrary/SortedSet.py.md @@ -0,0 +1,99 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: + - https://atcoder.jp/contests/abc217/submissions/32096323 + - https://atcoder.jp/contests/abc217/tasks/abc217_d + - https://atcoder.jp/contests/abc260/submissions/33353118 + - https://atcoder.jp/contests/abc260/tasks/abc260_d + - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py + - https://qiita.com/tatyam/items/492c70ac4c955c055602 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ + \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ + \u5206\u7528\u306B\u5909\u63DB\u3057\u3066\u3044\u307E\u3059\n\n# https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py\n\ + \n# https://qiita.com/tatyam/items/492c70ac4c955c055602\n\n'''\n\u4F7F\u7528\u4F8B\ + \n\nABC217-D - CuttingWoods https://atcoder.jp/contests/abc217/tasks/abc217_d\n\ + https://atcoder.jp/contests/abc217/submissions/32096323\n\nABC260-D - Draw Your\ + \ Cards https://atcoder.jp/contests/abc260/tasks/abc260_d\nhttps://atcoder.jp/contests/abc260/submissions/33353118\n\ + '''\n\nfrom math import ceil, sqrt\nfrom bisect import bisect_left, bisect_right\n\ + from typing import Generic, Iterable, Iterator, TypeVar, Union, List\nT = TypeVar('T')\n\ + \nclass SortedSet(Generic[T]):\n BUCKET_RATIO = 50\n REBUILD_RATIO = 170\n\ + \n def _build(self, a=None) -> None:\n \"Evenly divide `a` into buckets.\"\ + \n if a is None:\n a = list(self)\n size = self.size\ + \ = len(a)\n bucket_size = int(ceil(sqrt(size / self.BUCKET_RATIO)))\n\ + \ self.a = [a[size * i // bucket_size : size * (i + 1) // bucket_size]\ + \ for i in range(bucket_size)]\n \n\n def __init__(self, a: Iterable[T]\ + \ = []) -> None:\n \"Make a new SortedSet from iterable. / O(N) if sorted\ + \ and unique / O(N log N)\"\n a = list(a)\n if not all(a[i] < a[i\ + \ + 1] for i in range(len(a) - 1)):\n a = sorted(set(a))\n self._build(a)\n\ + \n\n def __iter__(self) -> Iterator[T]:\n for i in self.a:\n \ + \ for j in i:\n yield j\n\n\n def __reversed__(self) ->\ + \ Iterator[T]:\n for i in reversed(self.a):\n for j in reversed(i):\n\ + \ yield j\n\n\n def __len__(self) -> int:\n return self.size\n\ + \n\n def __repr__(self) -> str:\n return \"SortedSet\" + str(self.a)\n\ + \n\n def __str__(self) -> str:\n s = str(list(self))\n return\ + \ \"{\" + s[1 : len(s) - 1] + \"}\"\n\n\n def _find_bucket(self, x: T) -> List[T]:\n\ + \ \"Find the bucket which should contain x. self must not be empty.\"\n\ + \ for a in self.a:\n if x <= a[-1]:\n return\ + \ a\n \n return a\n\n\n def __contains__(self, x: T) -> bool:\n \ + \ if self.size == 0:\n return False\n\n a = self._find_bucket(x)\n\ + \ i = bisect_left(a, x)\n\n return i != len(a) and a[i] == x\n\n\ + \n def add(self, x: T) -> bool:\n \"Add an element and return True if\ + \ added. / O(\u221AN)\"\n if self.size == 0:\n self.a = [[x]]\n\ + \ self.size = 1\n return True\n\n a = self._find_bucket(x)\n\ + \ i = bisect_left(a, x)\n\n if i != len(a) and a[i] == x: \n \ + \ return False\n\n a.insert(i, x)\n self.size += 1\n \ + \ if len(a) > len(self.a) * self.REBUILD_RATIO:\n self._build()\n\ + \n return True\n\n\n def discard(self, x: T) -> bool:\n \"Remove\ + \ an element and return True if removed. / O(\u221AN)\"\n if self.size\ + \ == 0:\n return False\n\n a = self._find_bucket(x)\n \ + \ i = bisect_left(a, x)\n\n if i == len(a) or a[i] != x:\n \ + \ return False\n\n a.pop(i)\n self.size -= 1\n\n if len(a)\ + \ == 0:\n self._build()\n\n return True\n\n \n def lt(self,\ + \ x: T) -> Union[T, None]:\n \"Find the largest element < x, or None if\ + \ it doesn't exist.\"\n for a in reversed(self.a):\n if a[0]\ + \ < x:\n return a[bisect_left(a, x) - 1]\n\n\n def le(self,\ + \ x: T) -> Union[T, None]:\n \"Find the largest element <= x, or None if\ + \ it doesn't exist.\"\n for a in reversed(self.a):\n if a[0]\ + \ <= x:\n return a[bisect_right(a, x) - 1]\n\n\n def gt(self,\ + \ x: T) -> Union[T, None]:\n \"Find the smallest element > x, or None if\ + \ it doesn't exist.\"\n for a in self.a:\n if a[-1] > x:\n \ + \ return a[bisect_right(a, x)]\n\n\n def ge(self, x: T) -> Union[T,\ + \ None]:\n \"Find the smallest element >= x, or None if it doesn't exist.\"\ + \n for a in self.a:\n if a[-1] >= x:\n return\ + \ a[bisect_left(a, x)]\n\n\n def __getitem__(self, x: int) -> T:\n \"\ + Return the x-th element, or IndexError if it doesn't exist.\"\n if x <\ + \ 0:\n x += self.size\n\n if x < 0:\n raise IndexError\n\ + \n for a in self.a:\n if x < len(a):\n return\ + \ a[x]\n x -= len(a)\n\n raise IndexError\n\n\n def index(self,\ + \ x: T) -> int:\n \"Count the number of elements < x.\"\n ans =\ + \ 0\n for a in self.a:\n if a[-1] >= x:\n return\ + \ ans + bisect_left(a, x)\n ans += len(a)\n\n return ans\n\n\ + \n def index_right(self, x: T) -> int:\n \"Count the number of elements\ + \ <= x.\"\n ans = 0\n for a in self.a:\n if a[-1] > x:\n\ + \ return ans + bisect_right(a, x)\n ans += len(a)\n\n\ + \ return ans" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/SortedSet.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/SortedSet.py +layout: document +redirect_from: +- /library/MathLibrary/SortedSet.py +- /library/MathLibrary/SortedSet.py.html +title: MathLibrary/SortedSet.py +--- diff --git a/MathLibrary/XorToN.py.md b/MathLibrary/XorToN.py.md new file mode 100644 index 0000000..a4a9675 --- /dev/null +++ b/MathLibrary/XorToN.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ + \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ + \ N\n \n if N % 4 == 1:\n return 1\n \n if N % 4 == 2:\n \ + \ return N + 1\n \n if N % 4 == 3:\n return 0\n\nprint(XorToN(196))" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/XorToN.py + requiredBy: [] + timestamp: '2022-05-30 00:16:39+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/XorToN.py +layout: document +redirect_from: +- /library/MathLibrary/XorToN.py +- /library/MathLibrary/XorToN.py.html +title: MathLibrary/XorToN.py +--- diff --git a/MathLibrary/divisor.py.md b/MathLibrary/divisor.py.md new file mode 100644 index 0000000..d1367fe --- /dev/null +++ b/MathLibrary/divisor.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def divisors(n):\n divisor = []\n for i in range(1, int(n ** 0.5) +\ + \ 1):\n if n % i == 0:\n divisor.append(i)\n if i\ + \ != n // i:\n divisor.append(n // i)\n\n divisor.sort()\n \ + \ return divisor\n\nx = divisors(10 ** 12)\ny = divisors(136)\nprint(len(x))\n\ + print(y)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/divisor.py + requiredBy: [] + timestamp: '2021-12-06 01:43:34+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/divisor.py +layout: document +redirect_from: +- /library/MathLibrary/divisor.py +- /library/MathLibrary/divisor.py.html +title: MathLibrary/divisor.py +--- diff --git a/MathLibrary/doubling.py.md b/MathLibrary/doubling.py.md new file mode 100644 index 0000000..de8b215 --- /dev/null +++ b/MathLibrary/doubling.py.md @@ -0,0 +1,51 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ + \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ + \u30EB\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002\"\"\"\n\n k_bits = k_max.bit_length()\n\ + \n # dub[i][j] = \u5024j\u30922**i\u56DE\u64CD\u4F5C\u3057\u305F\u7D50\u679C\ + \n dub = [[0] * n for _ in range(k_bits)]\n\n # 1\u56DE(2**0\u56DE\ + )\u64CD\u4F5C\u3057\u305F\u7D50\u679C\u3092\u4F5C\u6210\n for j in range(n):\n\ + \ dub[0][j] = f(j)\n\n # 2**i\u56DE\u64CD\u4F5C\u3057\u305F\u7D50\ + \u679C\u3092\u9806\u306B\u4F5C\u6210\n # 2**(i-1)\u56DE\u64CD\u4F5C\u3092\ + 2\u56DE\u3059\u308C\u30702**i\u56DE\u64CD\u4F5C\u3057\u305F\u3053\u3068\u306B\u306A\ + \u308B\n for i in range(1, k_bits):\n for j in range(n):\n \ + \ dub[i][j] = dub[i - 1][dub[i - 1][j]]\n\n self.doubling_table\ + \ = dub\n\n def get(self, x, k):\n \"\"\"x\u3092k\u56DE\u64CD\u4F5C\u3057\ + \u305F\u5024\u3092\u53D6\u5F97\u3057\u307E\u3059\u3002\"\"\"\n # k\u3092\ + \u30D3\u30C3\u30C8\u3054\u3068\u306B\u5206\u89E3\u3057\u3066\u30012**a + 2**b\ + \ + 2**c + ... \u306E\u5F62\u3067\u8003\u3048\u308B\u3002\n # x\u30922**a\u56DE\ + \u64CD\u4F5C\u3057\u305F\u7D50\u679C\u30922**b\u56DE\u64CD\u4F5C\u3057\u305F\u7D50\ + \u679C\u30922**c\u56DE\u64CD\u4F5C\u2026 \u306E\u3088\u3046\u306B\u9806\u306B\u9069\ + \u7528\u3059\u308B\n now = x\n for i in range(k.bit_length()):\n\ + \ if k>>i & 1:\n now = self.doubling_table[i][now]\n\ + \n return now\n\ndef calc():\n \"\u95A2\u6570\u3092\u5B9A\u7FA9\u3059\ + \u308B\"\n return\n\nn, k = map(int,input().split())\n# n\u306E\u6700\u5927\ + \u5024, k\u56DE, \u95A2\u6570\ndub = Doubling(10 ** 5, k, calc)\n\n# n\u3092k\u56DE\ + \u7E70\u308A\u8FD4\u3057\u305F\u5148\nprint(dub.get(n, k))" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/doubling.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/doubling.py +layout: document +redirect_from: +- /library/MathLibrary/doubling.py +- /library/MathLibrary/doubling.py.html +title: MathLibrary/doubling.py +--- diff --git a/MathLibrary/factorization.py.md b/MathLibrary/factorization.py.md new file mode 100644 index 0000000..d742a4d --- /dev/null +++ b/MathLibrary/factorization.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ + \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ + \ while tmp % i == 0:\n cnt += 1\n tmp\ + \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ + \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ + \n\nif __name__ == \"__main\":\n main()" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/factorization.py + requiredBy: [] + timestamp: '2022-08-10 23:10:28+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/factorization.py +layout: document +redirect_from: +- /library/MathLibrary/factorization.py +- /library/MathLibrary/factorization.py.html +title: MathLibrary/factorization.py +--- diff --git a/MathLibrary/nCk.py.md b/MathLibrary/nCk.py.md new file mode 100644 index 0000000..a05607f --- /dev/null +++ b/MathLibrary/nCk.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ + \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ + \u4F5C\u6210\n fac = [0] * (n + 1)\n fac[0] = 1\n for i in range(1, n\ + \ + 1):\n fac[i] = fac[i - 1] * i\n fac[i] %= mod\n \n # \u9006\ + \u5143\u30C6\u30FC\u30D6\u30EB\u306E\u4F5C\u6210\n fac_inv = [0] * (n + 1)\n\ + \ fac_inv[0] = 1\n for i in range(1, n + 1):\n fac_inv[i] = pow(fac[i],\ + \ mod - 2, mod)\n \n return fac, fac_inv\n\ndef combination(n: int, k: int)\ + \ -> int:\n '''nCk\u3092\u8A08\u7B97\u3059\u308B'''\n\n return fac[n] *\ + \ fac_inv[k] * fac_inv[n - k] % mod\n\nn, k = map(int, input().split())\n\nmod\ + \ = 10 ** 9 + 7\nfac, fac_inv = calc_facinv(n)\n\nans = combination(n, k)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/nCk.py + requiredBy: [] + timestamp: '2022-02-06 18:10:37+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/nCk.py +layout: document +redirect_from: +- /library/MathLibrary/nCk.py +- /library/MathLibrary/nCk.py.html +title: MathLibrary/nCk.py +--- diff --git a/MathLibrary/nCkFactorization.py.md b/MathLibrary/nCkFactorization.py.md new file mode 100644 index 0000000..22ddcb5 --- /dev/null +++ b/MathLibrary/nCkFactorization.py.md @@ -0,0 +1,49 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ + \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ + \u308B\"\"\"\n if n == 0:\n return []\n is_prime = [True] * (n +\ + \ 1)\n is_prime[0] = False\n is_prime[1] = False\n for i in range(2,\ + \ int(n ** 0.5) + 1):\n if not is_prime[i]: continue\n for j in\ + \ range(i * 2, n + 1, i):\n is_prime[j] = False\n return [i for\ + \ i in range(n + 1) if is_prime[i]]\n\ndef nCkFactorization(n: int, k: int) ->\ + \ list:\n \"\"\"nCk\u306E 1,2,...,k, n,n-1,...,n-k+1\u3092\u5168\u3066\u7D20\ + \u56E0\u6570\u5206\u89E3\u3059\u308B\"\"\"\n\n # \u5206\u5B50\n divisors_1\ + \ = [[] for _ in range(k)]\n a = [n - i for i in range(k)]\n num = primes_list(int(n\ + \ ** 0.5) + 1)\n\n for p in num:\n for i in reversed(range(n - k + 1\ + \ + p - (n - k + 1) % p if (n - k + 1) % p != 0 else n - k + 1, n + 1, p)):\n\ + \ while a[n - i] % p == 0:\n divisors_1[n - i].append(p)\n\ + \ a[n - i] //= p\n\n for i in range(len(a)):\n if a[i]\ + \ != 1:\n divisors_1[i].append(a[i])\n\n # \u5206\u6BCD\n divisors_2\ + \ = [[] for _ in range(k + 1)]\n a = [i for i in range(k + 1)]\n num = primes_list(k)\ + \ # \u7D20\u6570\u306E\u5168\u5217\u6319\n \n for p in num:\n for\ + \ i in range(p, k + 1, p):\n while a[i] % p == 0:\n \ + \ divisors_2[i].append(p)\n a[i] //= p\n \n return divisors_1,\ + \ divisors_2\n\nx, y = nCkFactorization(100, 30)\nprint(\"\u5206\u5B50\")\nprint(*x,\ + \ sep=\"\\n\")\nprint(\"\u5206\u6BCD\")\nprint(*y, sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/nCkFactorization.py + requiredBy: [] + timestamp: '2021-11-14 03:32:35+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: MathLibrary/nCkFactorization.py +layout: document +redirect_from: +- /library/MathLibrary/nCkFactorization.py +- /library/MathLibrary/nCkFactorization.py.html +title: MathLibrary/nCkFactorization.py +--- diff --git a/Other/README.md b/Other/README.md new file mode 100644 index 0000000..c191c9e --- /dev/null +++ b/Other/README.md @@ -0,0 +1,12 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Other +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[debug.py](debug.py)|デバッグ用のprint出力|これを出力しても標準エラー出力になるので、ジャッジに反映されない| \ No newline at end of file diff --git a/Other/debug.py.md b/Other/debug.py.md new file mode 100644 index 0000000..2b93a35 --- /dev/null +++ b/Other/debug.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ + \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ + \u51FA\u529B\u306B\u306A\u308B\u306E\u3067\u3001print\u3057\u3066\u3082\u30B8\u30E3\ + \u30C3\u30B8\u306B\u53CD\u6620\u3055\u308C\u306A\u3044\n\"\"\"\n\na = [1, 2, 3,\ + \ 4, 5]\nword = \"ryusuke\"\ndebug(a, word)\n\n# ABC199\u306EA\u3092\u89E3\u3044\ + \u3066\u307F\u308B\nA, B, C = map(int,input().split())\nif A ** 2 + B ** 2 < C\ + \ ** 2:\n print(\"Yes\")\nelse:\n print(\"No\")" + dependsOn: [] + isVerificationFile: false + path: Other/debug.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Other/debug.py +layout: document +redirect_from: +- /library/Other/debug.py +- /library/Other/debug.py.html +title: Other/debug.py +--- diff --git a/README.md b/README.md new file mode 100644 index 0000000..820b1ca --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# AtCoder-Library (Python) + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Algorithm List + +|Algorithm|Contents| +|:--:|:--:| +|[DP](DP)|DP関連のライブラリ| +|[Geometry](Geometry)|幾何のライブラリ| +|[Graph](Graph)|グラフ関連のライブラリ| +|[MathLibrary](MathLibrary)|算数・数学・幾何関連のライブラリ| +|[Other](Other)|その他| +|[Search](Search)|探索関連のライブラリ| +|[String](String)|文字列関連のライブラリ| +|[Tree](Tree)|木関連のライブラリ| diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md new file mode 100644 index 0000000..4880787 --- /dev/null +++ b/Search/BinarySearch.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def check(arg):\n if 1:\n return True\n else:\n return\ + \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ + \ left > 1:\n mid = (left + right) // 2\n if check(mid):\n \ + \ left = mid\n else:\n right = mid\n\n return left" + dependsOn: [] + isVerificationFile: false + path: Search/BinarySearch.py + requiredBy: [] + timestamp: '2022-08-09 16:25:06+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Search/BinarySearch.py +layout: document +redirect_from: +- /library/Search/BinarySearch.py +- /library/Search/BinarySearch.py.html +title: Search/BinarySearch.py +--- diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md new file mode 100644 index 0000000..28c3bd6 --- /dev/null +++ b/Search/BitSearch.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ + \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ + \ for j in range(l):\n if i[j] == 1: # 1 <-> bit\u304C\u7ACB\u3063\u3066\ + \u3044\u308B\u6642\n # O(1)" + dependsOn: [] + isVerificationFile: false + path: Search/BitSearch.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Search/BitSearch.py +layout: document +redirect_from: +- /library/Search/BitSearch.py +- /library/Search/BitSearch.py.html +title: Search/BitSearch.py +--- diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md new file mode 100644 index 0000000..059bdea --- /dev/null +++ b/Search/BreadthFirstSearch_graph.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ + \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ + \ \n q = deque()\n q.append(s)\n\n while q:\n prev = q.popleft()\n\ + \ for nxt in g[prev]:\n if dist[nxt] != INF: continue\n \ + \ dist[nxt] = dist[prev] + 1\n q.append(nxt)\n \n return\ + \ dist\n\ndef main() -> None:\n n = int(input())\n\n g = [[] for _ in range(n)]\n\ + \ for _ in range(n - 1):\n u, v = map(int, input().split())\n \ + \ u -= 1\n v -= 1\n g[u].append(v)\n g[v].append(u)\n \ + \ \n bfs(0, g)\n\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Search/BreadthFirstSearch_graph.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Search/BreadthFirstSearch_graph.py +layout: document +redirect_from: +- /library/Search/BreadthFirstSearch_graph.py +- /library/Search/BreadthFirstSearch_graph.py.html +title: Search/BreadthFirstSearch_graph.py +--- diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md new file mode 100644 index 0000000..a6a0a5e --- /dev/null +++ b/Search/BreadthFirstSearch_grid.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from collections import deque\n\ndef bfs(sy: int, sx: int) -> list:\n \ + \ INF = float('inf')\n dist = [[INF] * w for _ in range(h)]\n dist[sy][sx]\ + \ = 0\n \n for i in range(h):\n for j in range(w):\n if\ + \ grid[i][j] == '#':\n dist[i][j] = -1\n \n d = ((0, 1),\ + \ (0, -1), (1, 0), (-1, 0))\n q = deque()\n q.append((sy, sx))\n\n while\ + \ q:\n vy, vx = q.popleft()\n for dy, dx in d:\n y =\ + \ vy + dy\n x = vx + dx\n if not (0 <= x < w and 0 <= y\ + \ < h):continue\n if grid[y][x] == '#': continue\n if dist[y][x]\ + \ != INF: continue\n dist[y][x] = dist[vy][vx] + 1\n q.append((y,\ + \ x))\n \n return dist\n\ndef main() -> None:\n global h, w, grid\n\n\ + \ h, w = map(int, input().split())\n grid = [list(input()) for _ in range(h)]\n\ + \n dist = bfs(0, 0)\n print(*dist, sep='\\n')\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: false + path: Search/BreadthFirstSearch_grid.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Search/BreadthFirstSearch_grid.py +layout: document +redirect_from: +- /library/Search/BreadthFirstSearch_grid.py +- /library/Search/BreadthFirstSearch_grid.py.html +title: Search/BreadthFirstSearch_grid.py +--- diff --git a/Search/README.md b/Search/README.md new file mode 100644 index 0000000..740e9f3 --- /dev/null +++ b/Search/README.md @@ -0,0 +1,14 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Search +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[BinarySearch.py](BinarySearch.py)|二分探索|O(logN)で行えるのでとても高速| +|[BitSearch.py](BitSearch.py)|Bit全探索|スイッチの ON/OFF など2値価問題に対して使える 計算量は O(2^N)| +|[BreadthFirstSearch.py](BreadthFirstSearch.py)|幅優先探索|迷路の最短経路を考える問題の時などに役に立つ| \ No newline at end of file diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md new file mode 100644 index 0000000..114c06c --- /dev/null +++ b/String/BoyerMoore.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ + \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ + \u308B\u304B\u3092\u5224\u5225\u3059\u308B'''\n skip_table = defaultdict(lambda\ + \ : -1)\n for i, j in enumerate(t[::-1]):\n if skip_table[j] == -1:\n\ + \ skip_table[j] = i\n \n l_s = len(s)\n l_t = len(t)\n\n \ + \ if l_s < l_t:\n return False\n else:\n i = l_t - 1\n \ + \ cnt = 0\n while i < l_s:\n if s[i] == t[-1 - cnt]:\n \ + \ cnt += 1\n i -= 1\n else:\n \ + \ i += l_t if skip_table[s[i]] == -1 else skip_table[s[i]]\n \ + \ cnt = 0\n\n if cnt == l_t:\n print(f'[{i + 1},\ + \ {i + l_t}] \u306E\u533A\u9593\u306B {t} \u304C\u898B\u3064\u304B\u308A\u307E\ + \u3057\u305F\u3002')\n return True\n \n return False\n\ + \ns = 'abcdefghijklmnopqrstuvwxyz'\nt = 'def'\nprint(BoyerMoore(s, t))" + dependsOn: [] + isVerificationFile: false + path: String/BoyerMoore.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: String/BoyerMoore.py +layout: document +redirect_from: +- /library/String/BoyerMoore.py +- /library/String/BoyerMoore.py.html +title: String/BoyerMoore.py +--- diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md new file mode 100644 index 0000000..bb244cd --- /dev/null +++ b/String/CoordinateCompression.py.md @@ -0,0 +1,31 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ + \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ + \ 312, 23, 21]\nans = CC(x)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: String/CoordinateCompression.py + requiredBy: [] + timestamp: '2022-05-22 23:05:29+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: String/CoordinateCompression.py +layout: document +redirect_from: +- /library/String/CoordinateCompression.py +- /library/String/CoordinateCompression.py.html +title: String/CoordinateCompression.py +--- diff --git a/String/README.md b/String/README.md new file mode 100644 index 0000000..ee3cef5 --- /dev/null +++ b/String/README.md @@ -0,0 +1,14 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## String +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[BoyerMoore.py](BoyerMoore.py)|ボイヤー・ムーア法|O(\|S\|)で探索文字列を探します| +|[CoordinateCompression.py](CoordinateCompression.py)|座標圧縮|配列の数値を昇順に順位付けする| +|[RunLengthEncoding.py](RunLengthEncoding.py)|ランレングス(文字列)圧縮|2種類くらいのランダム文字列を何の文字が何連続で出てきたかを出力してくれる| \ No newline at end of file diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md new file mode 100644 index 0000000..c30c9eb --- /dev/null +++ b/String/RunLengthEncoding.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ + \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ + \ ans.append((tmp, cnt))\n tmp = S[i]\n cnt = 1\n\ + \n ans.append((tmp, cnt))\n\n return ans\n\ns = \"RRRLLRLRRLLLLRLRLRR\"\n\ + print(*RLE(s), sep=\"\\n\")" + dependsOn: [] + isVerificationFile: false + path: String/RunLengthEncoding.py + requiredBy: [] + timestamp: '2022-05-30 00:14:54+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: String/RunLengthEncoding.py +layout: document +redirect_from: +- /library/String/RunLengthEncoding.py +- /library/String/RunLengthEncoding.py.html +title: String/RunLengthEncoding.py +--- diff --git a/Template/Template.py.md b/Template/Template.py.md new file mode 100644 index 0000000..1cca840 --- /dev/null +++ b/Template/Template.py.md @@ -0,0 +1,48 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ + printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ + \ sin, cos, tan, acos, asin, atan, radians, factorial, exp, degrees\nfrom collections\ + \ import defaultdict, deque, Counter\nfrom itertools import product, permutations,\ + \ combinations, combinations_with_replacement\nfrom heapq import heapify, heappop,\ + \ heappush\nfrom bisect import bisect, bisect_left, bisect_right\n\n\ndef min_int(a:\ + \ int, b: int) -> int:\n \"2\u6570\u306E\u6700\u5C0F\u5024\"\n return a\ + \ if a <= b else b\n\n\ndef min_list(a: list) -> int:\n \"\u30EA\u30B9\u30C8\ + \u306E\u6700\u5C0F\u5024\"\n global INF\n cnt = INF\n for i in range(len(a)):\n\ + \ if a[i] < cnt:\n cnt = a[i]\n\n return cnt\n\n\ndef min_list(a:\ + \ list) -> int:\n \"\u30EA\u30B9\u30C8\u306E\u6700\u5927\u5024\"\n global\ + \ INF\n cnt = -INF\n for i in range(len(a)):\n if a[i] > cnt:\n \ + \ cnt = a[i]\n\n return cnt\n\n\ndef max_int(a: int, b: int) -> int:\n\ + \ \"2\u6570\u306E\u6700\u5927\u5024\"\n return a if a >= b else b\n\n\n\ + def OutOfRange(h: int, w: int, vy: int, vx: int) -> bool:\n \"BFS\u306A\u3069\ + \u306E\u914D\u5217\u5916\u53C2\u7167\"\n d = ((1, 0), (-1, 0), (0, 1), (0,\ + \ -1))\n for dy, dx in d:\n y = vy + dy\n x = vx + dx\n \ + \ if not (0 <= x < w and 0 <= y < h):\n return False\n else:\n\ + \ return True\n\n\ndef main() -> None:\n INF = 10 ** 18\n\n\nif\ + \ __name__ == '__main__':\n main()" + dependsOn: [] + isVerificationFile: false + path: Template/Template.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Template/Template.py +layout: document +redirect_from: +- /library/Template/Template.py +- /library/Template/Template.py.html +title: Template/Template.py +--- diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md new file mode 100644 index 0000000..8b62c5d --- /dev/null +++ b/Template/VerifyHelperTemplate.py.md @@ -0,0 +1,32 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ + \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ + \ + 1]))\n\nfrom Tree import UnionFindTree\n\ndef main():\n pass\n\n\nif __name__\ + \ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Template/VerifyHelperTemplate.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Template/VerifyHelperTemplate.py +layout: document +redirect_from: +- /library/Template/VerifyHelperTemplate.py +- /library/Template/VerifyHelperTemplate.py.html +title: Template/VerifyHelperTemplate.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md new file mode 100644 index 0000000..bca4f49 --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ + \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ + \ input().split())) for _ in range(k)]\n\nfor p in permutations(range(8)):\n \ + \ flag = True\n for i, j in rc:\n if p[i] != j:\n flag\ + \ = False\n\n if not flag:\n continue\n\n for k in range(8):\n \ + \ for l in range(8):\n if k == l:\n continue\n\ + \ if abs(p[k] - p[l]) == abs(k - l):\n flag = False\n\ + \n if flag:\n for i in p:\n ans = [\".\"] * 8\n \ + \ ans[i] = \"Q\"\n print(\"\".join(ans))" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_13_A.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_13_A.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_13_A.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_13_A.test.py.html +title: Test/AOJ/ALDS1/ALDS1_13_A.test.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md new file mode 100644 index 0000000..bc9296c --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ + \ x, y = map(int, input().split())\n print(gcd(x, y))\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_1_B.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_1_B.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_1_B.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_1_B.test.py.html +title: Test/AOJ/ALDS1/ALDS1_1_B.test.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md new file mode 100644 index 0000000..33e6be0 --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/PrimaryCheck.py + title: MathLibrary/PrimaryCheck.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ + \ndef main() -> None:\n ans = 0\n\n n = int(input())\n for _ in range(n):\n\ + \ ans += int(PrimaryCheck.PrimaryCheck(int(input())))\n \n print(ans)\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - MathLibrary/PrimaryCheck.py + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_1_C.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_1_C.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_1_C.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_1_C.test.py.html +title: Test/AOJ/ALDS1/ALDS1_1_C.test.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md new file mode 100644 index 0000000..c105e96 --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ + \ s = set(list(map(int, input().split())))\n q = int(input())\n t = set(list(map(int,\ + \ input().split())))\n \n print(len(s & t))\n\n\nif __name__ == \"__main__\"\ + :\n main()\n" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_4_B.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_4_B.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_4_B.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_4_B.test.py.html +title: Test/AOJ/ALDS1/ALDS1_4_B.test.py +--- diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md new file mode 100644 index 0000000..ca2d9ae --- /dev/null +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Tree/UnionFindTree.py + title: Tree/UnionFindTree.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ + \ndef main():\n n, q = map(int, input().split())\n\n uf = UnionFindTree.UnionFind(n)\n\ + \n for _ in range(q):\n com, x, y = map(int, input().split())\n \ + \ if com == 0:\n uf.merge(x, y)\n elif com == 1:\n \ + \ print(int(uf.same(x, y)))\n\n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: + - Tree/UnionFindTree.py + isVerificationFile: true + path: Test/AOJ/DSL/DSL_1_A.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/DSL/DSL_1_A.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/DSL/DSL_1_A.test.py +- /verify/Test/AOJ/DSL/DSL_1_A.test.py.html +title: Test/AOJ/DSL/DSL_1_A.test.py +--- diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md new file mode 100644 index 0000000..6c33ef8 --- /dev/null +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ + from Search import BreadthFirstSearch_graph\n\ndef main() -> None:\n V, E,\ + \ r = map(int, input().split())\n s, t, d = [0] * E, [0] * E, [0] * E\n\n \ + \ g = [[] for _ in range(V)]\n for i in range(E):\n s[i], t[i], d[i]\ + \ = map(int, input().split())\n g[s[i]].append(t[i])\n\n dist = BreadthFirstSearch_graph.bfs(V,\ + \ g, r)\n judge = [False] * V\n\n for i in range(V):\n if dist[i]\ + \ != float('inf'):\n judge[i] = True\n \n g = []\n for i in\ + \ range(E):\n if judge[s[i]]:\n g.append((s[i], t[i], d[i]))\n\ + \n ans = BellmanFord.bellman_ford(V, g, r)\n if ans == -1:\n print('NEGATIVE\ + \ CYCLE')\n else:\n for i in range(V):\n if ans[i] == float('inf'):\n\ + \ print('INF')\n else:\n print(ans[i])\n\ + \n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/GRL/GRL_1_B.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/GRL/GRL_1_B.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/GRL/GRL_1_B.test.py +- /verify/Test/AOJ/GRL/GRL_1_B.test.py.html +title: Test/AOJ/GRL/GRL_1_B.test.py +--- diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md new file mode 100644 index 0000000..a418f32 --- /dev/null +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ + \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ + \ print(f\"{i}x{j}={i * j}\")\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume0/0000.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume0/0000.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume0/0000.test.py +- /verify/Test/AOJ/Volume0/0000.test.py.html +title: Test/AOJ/Volume0/0000.test.py +--- diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md new file mode 100644 index 0000000..087cc00 --- /dev/null +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ + \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ + \ sep='\\n')\n\n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume0/0001.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume0/0001.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume0/0001.test.py +- /verify/Test/AOJ/Volume0/0001.test.py.html +title: Test/AOJ/Volume0/0001.test.py +--- diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md new file mode 100644 index 0000000..a6a7eb3 --- /dev/null +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/associative_array + links: + - https://judge.yosupo.jp/problem/associative_array + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ + \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ + \ndef main() -> None:\n d = defaultdict(int)\n\n Q = int(input())\n for\ + \ _ in range(Q):\n query = list(map(int, input().split()))\n if\ + \ query[0] == 0:\n d[query[1]] = query[2]\n elif query[0] ==\ + \ 1:\n print(d[query[1]])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Test/yosupo/DataStructure/AssociativeArray.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Test/yosupo/DataStructure/AssociativeArray.py +layout: document +redirect_from: +- /library/Test/yosupo/DataStructure/AssociativeArray.py +- /library/Test/yosupo/DataStructure/AssociativeArray.py.html +title: Test/yosupo/DataStructure/AssociativeArray.py +--- diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md new file mode 100644 index 0000000..7dc9ba2 --- /dev/null +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Tree/RangeMinimamQuery.py + title: Tree/RangeMinimamQuery.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/staticrmq + links: + - https://judge.yosupo.jp/problem/staticrmq + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ + \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ + from Tree import RangeMinimamQuery\n\ndef main():\n N, Q = map(int,input().split())\n\ + \ a = list(map(int,input().split()))\n seg = RangeMinimamQuery.SegTree(a,\ + \ float('inf'))\n\n for _ in range(Q):\n l, r = map(int, input().split())\n\ + \ print(seg.query(l, r))\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Tree/RangeMinimamQuery.py + isVerificationFile: true + path: Test/yosupo/DataStructure/StaticRMQ.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yosupo/DataStructure/StaticRMQ.test.py +layout: document +redirect_from: +- /verify/Test/yosupo/DataStructure/StaticRMQ.test.py +- /verify/Test/yosupo/DataStructure/StaticRMQ.test.py.html +title: Test/yosupo/DataStructure/StaticRMQ.test.py +--- diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md new file mode 100644 index 0000000..5e1d663 --- /dev/null +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/unionfind + links: + - https://judge.yosupo.jp/problem/unionfind + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ + \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ + \ Tree import UnionFindTree\n\ndef main():\n n, q = map(int, input().split())\n\ + \n uf = UnionFindTree.UnionFind(n)\n\n for _ in range(q):\n t, u,\ + \ v = map(int, input().split())\n if t == 0:\n uf.merge(u, v)\n\ + \ elif t == 1:\n print(int(uf.same(u, v)))\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yosupo/DataStructure/Unionfind.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yosupo/DataStructure/Unionfind.test.py +layout: document +redirect_from: +- /verify/Test/yosupo/DataStructure/Unionfind.test.py +- /verify/Test/yosupo/DataStructure/Unionfind.test.py.html +title: Test/yosupo/DataStructure/Unionfind.test.py +--- diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md new file mode 100644 index 0000000..535cd8d --- /dev/null +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/aplusb + links: + - https://judge.yosupo.jp/problem/aplusb + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ + def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yosupo/Sample/A+B.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yosupo/Sample/A+B.test.py +layout: document +redirect_from: +- /verify/Test/yosupo/Sample/A+B.test.py +- /verify/Test/yosupo/Sample/A+B.test.py.html +title: Test/yosupo/Sample/A+B.test.py +--- diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md new file mode 100644 index 0000000..195b805 --- /dev/null +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/many_aplusb + links: + - https://judge.yosupo.jp/problem/many_aplusb + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ + \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ + \ A, B = map(int, input().split())\n print(A + B)\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yosupo/Sample/ManyA+B.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yosupo/Sample/ManyA+B.test.py +layout: document +redirect_from: +- /verify/Test/yosupo/Sample/ManyA+B.test.py +- /verify/Test/yosupo/Sample/ManyA+B.test.py.html +title: Test/yosupo/Sample/ManyA+B.test.py +--- diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md new file mode 100644 index 0000000..6203489 --- /dev/null +++ b/Test/yukicoder/1639.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Graph/Kruskal.py + title: Graph/Kruskal.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1639 + links: + - https://yukicoder.me/problems/no/1639 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ + import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ + \ng = []\nfor _ in range(n * (n - 1) // 2):\n a, b, c = map(int, input().split())\n\ + \ a -= 1\n b -= 1\n g.append((a, b, c))\n\nkruskal = Kruskal.Kruskal(n,\ + \ g)\nans = kruskal.cost(g)\n\nprint(max(ans))" + dependsOn: + - Graph/Kruskal.py + isVerificationFile: true + path: Test/yukicoder/1639.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1639.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1639.test.py +- /verify/Test/yukicoder/1639.test.py.html +title: Test/yukicoder/1639.test.py +--- diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md new file mode 100644 index 0000000..ccbeda4 --- /dev/null +++ b/Test/yukicoder/1737.test.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1737 + links: + - https://yukicoder.me/problems/no/1737 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ + import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ + \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ + \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" + dependsOn: + - MathLibrary/Factorization.py + isVerificationFile: true + path: Test/yukicoder/1737.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1737.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1737.test.py +- /verify/Test/yukicoder/1737.test.py.html +title: Test/yukicoder/1737.test.py +--- diff --git a/Test/yukicoder/182.test.py.md b/Test/yukicoder/182.test.py.md new file mode 100644 index 0000000..48be069 --- /dev/null +++ b/Test/yukicoder/182.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/182 + links: + - https://yukicoder.me/problems/no/182 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ + \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ + \nd = defaultdict(int)\nfor i in range(n):\n d[a[i]] += 1\n\nans = 0\nfor i\ + \ in d.values():\n ans += i == 1\n\nprint(ans)" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/182.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/182.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/182.test.py +- /verify/Test/yukicoder/182.test.py.html +title: Test/yukicoder/182.test.py +--- diff --git a/Test/yukicoder/677.test.py.md b/Test/yukicoder/677.test.py.md new file mode 100644 index 0000000..2af627d --- /dev/null +++ b/Test/yukicoder/677.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/677 + links: + - https://yukicoder.me/problems/no/677 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ + \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ + \ ans.append(2 ** i * 5 ** j)\n\nprint(*sorted(ans), sep='\\n')" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/677.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/677.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/677.test.py +- /verify/Test/yukicoder/677.test.py.html +title: Test/yukicoder/677.test.py +--- diff --git a/Test/yukicoder/847.test.py.md b/Test/yukicoder/847.test.py.md new file mode 100644 index 0000000..1705b8a --- /dev/null +++ b/Test/yukicoder/847.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/847 + links: + - https://yukicoder.me/problems/no/847 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\n\ + def dfs(a: list, now: int):\n \n global ans\n\n if len(a) == l and now\ + \ <= m:\n ans += 1\n return\n\n for i in range(fac[len(a)][1]\ + \ + 1):\n\n now *= fac[len(a)][0] ** i\n\n if now <= m:\n \ + \ dfs(a + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n\ + \ return\n\nn, k, m = map(int, input().split())\n\nfac = Factorization.factorization(n)\n\ + l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ + print(ans)" + dependsOn: + - MathLibrary/Factorization.py + isVerificationFile: true + path: Test/yukicoder/847.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/847.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/847.test.py +- /verify/Test/yukicoder/847.test.py.html +title: Test/yukicoder/847.test.py +--- diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md new file mode 100644 index 0000000..8948fc3 --- /dev/null +++ b/Tree/BinaryIndexedTree.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ + \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ + \ list) -> int:\n \"\u8EE2\u5012\u6570\u3092\u6C42\u3081\u308B\"\n cnt =\ + \ 0\n n = len(A)\n if n > 1:\n A1 = A[: n >> 1]\n A2 = A[n\ + \ >> 1 :]\n cnt += BIT(A1)\n cnt += BIT(A2)\n i1, i2 = 0,\ + \ 0\n for i in range(n):\n if i2 == len(A2):\n \ + \ A[i] = A1[i1]\n i1 += 1\n elif i1 == len(A1):\n\ + \ A[i] = A2[i2]\n i2 += 1\n elif A1[i1]\ + \ <= A2[i2]:\n A[i] = A1[i1]\n i1 += 1\n \ + \ else:\n A[i] = A2[i2]\n i2 += 1\n \ + \ cnt += n // 2 - i1\n return cnt\n\na = [2, 15, 23, 32, 7, 19]\nx =\ + \ copy.copy(a)\nans = BIT(x)\nprint(ans)" + dependsOn: [] + isVerificationFile: false + path: Tree/BinaryIndexedTree.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Tree/BinaryIndexedTree.py +layout: document +redirect_from: +- /library/Tree/BinaryIndexedTree.py +- /library/Tree/BinaryIndexedTree.py.html +title: Tree/BinaryIndexedTree.py +--- diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md new file mode 100644 index 0000000..70885c3 --- /dev/null +++ b/Tree/FindCenter.py.md @@ -0,0 +1,57 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ + \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ + \u9802\u70B9\u306E\u96C6\u5408\u3092\u6539\u884C\u533A\u5207\u308A\u3067\u51FA\ + \u529B\u3057\u307E\u3059\u3002\nfrom collections import deque\nfrom collections\ + \ import defaultdict\n\ndef bfs(s: int) -> tuple:\n \"\u5E45\u512A\u5148\u63A2\ + \u7D22\u3092\u884C\u3044\u3001\u9802\u70B9 s \u304B\u3089\u306E\u8DDD\u96E2\u3092\ + \u6C42\u3081\u308B\"\n dist = [10000] * N\n dist[s] = 0\n q = deque([s])\n\ + \n vertexmemo = defaultdict(list)\n vertexmemo[0].append(s)\n while q:\n\ + \ v = q.popleft()\n for nxt in g[v]:\n if dist[nxt] ==\ + \ 10000:\n dist[nxt] = dist[v] + 1\n vertexmemo[dist[nxt]].append(nxt)\n\ + \ q.append(nxt)\n \n return dist, vertexmemo\n\nN = int(input())\n\ + \ng = [[] for _ in range(N)]\nfor _ in range(N - 1):\n a, b = map(int, input().split())\n\ + \ a -= 1\n b -= 1\n g[a].append(b)\n g[b].append(a)\n\ndist, vmap\ + \ = bfs(0)\n\n#\u76F4\u5F84\u3092\u4E0E\u3048\u308B\u30D1\u30B9\u306E\u7AEF\u70B9\ + \u304B\u3089\u306E\u8DDD\u96E2\u306E\u30EA\u30B9\u30C8\u3068\u8DDD\u96E2d\u306B\ + \u3042\u308B\u9802\u70B9\u306E\u30EA\u30B9\u30C8\u3092\u5F97\u308B\u3002\nDlist,\ + \ FromA = bfs(vmap[max(dist)][0])\nDiameter = max(Dlist)\n\n#\u76F4\u5F84\u3092\ + \u4E0E\u3048\u308B\u30D1\u30B9\u306E\u3082\u3046\u7247\u65B9\u306E\u7AEF\u70B9\ + \u304B\u3089BFS\u3092\u884C\u3044\u3001\u8DDD\u96E2 d (0 <= d <= Diameter)\u306E\ + \u9802\u70B9\u306E\u30EA\u30B9\u30C8\u3092\u5F97\u308B\u3002\nFromB = bfs(FromA[Diameter][0])[1]\n\ + \n#\u7247\u65B9\u306E\u7AEF\u70B9\u304B\u3089ceil(Diameter/2), floor(Diameter/2)\u306E\ + \u8DDD\u96E2\u306B\u3042\u308B\u9802\u70B9\u3092\u5217\u6319\u3002\npre_center\ + \ = FromA[Diameter//2] if Diameter%2 == 0 else FromA[Diameter//2]+FromA[(Diameter+1)//2]\n\ + center = list()\n\n#\u4ED6\u65B9\u306E\u7AEF\u70B9\u304B\u3089ceil(Diameter/2),\ + \ floor(Diameter/2)\u306E\u8DDD\u96E2\u306B\u3042\u308B\u9802\u70B9\u3092\u5217\ + \u6319\u3002\u5171\u901A\u3059\u308B\u9802\u70B9(\u4E2D\u5FC3)\u3092\u5F97\u308B\ + \u3002\nfor i in FromB[Diameter//2] if Diameter%2 == 0 else FromB[Diameter//2]+FromB[(Diameter+1)//2]:\n\ + \ if i in pre_center:\n center.append(i+1)\n\nfor i in sorted(center):\n\ + \ print(i)" + dependsOn: [] + isVerificationFile: false + path: Tree/FindCenter.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Tree/FindCenter.py +layout: document +redirect_from: +- /library/Tree/FindCenter.py +- /library/Tree/FindCenter.py.html +title: Tree/FindCenter.py +--- diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md new file mode 100644 index 0000000..995283a --- /dev/null +++ b/Tree/FindDiameter.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ + \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ + \u3092\u884C\u3044\u3001\u9802\u70B9 s \u304B\u3089\u306E\u8DDD\u96E2\u3092\u6C42\ + \u3081\u308B\"\n dist = [10000] * N\n dist[s] = 0\n q = deque([s])\n\ + \ while q:\n v = q.popleft()\n for nxt in g[v]:\n \ + \ if dist[nxt] == 10000:\n dist[nxt] = dist[v] + 1\n \ + \ q.append(nxt)\n \n return dist\n\nN = int(input())\n\ng = [[] for\ + \ _ in range(N)]\nfor _ in range(N - 1):\n a, b = map(int, input().split())\n\ + \ a -= 1\n b -= 1\n g[a].append(b)\n g[b].append(a)\n\n\ndist = bfs(0)\n\ + \nmax_dist = max(dist)\nfor i in range(N):\n if dist[i] == max_dist:\n \ + \ start = i\n break\n\nprint(max(bfs(start)))" + dependsOn: [] + isVerificationFile: false + path: Tree/FindDiameter.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Tree/FindDiameter.py +layout: document +redirect_from: +- /library/Tree/FindDiameter.py +- /library/Tree/FindDiameter.py.html +title: Tree/FindDiameter.py +--- diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md new file mode 100644 index 0000000..044cbc3 --- /dev/null +++ b/Tree/LazySegTree.py.md @@ -0,0 +1,68 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ + \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ + \u308B\nquery(l, r): [l, r)\uFF08l <= k < r \u306E\u533A\u9593\uFF09\u304B\u3089\ + \u5024k\u3092\u53D6\u5F97\u3059\u308B\n\"\"\"\ndef segfunc(x: int, y: int) ->\ + \ int:\n \"\u3053\u3053\u3067\u6C42\u3081\u305F\u3044\u51E6\u7406\u3092\u884C\ + \u3046, max(x, y) \u3084 x ^ y \u306A\u3069\"\n return x ^ y\n\n\"\"\"\n\u301C\ + \u5358\u4F4D\u5143\u306E\u4E00\u89A7\u306B\u3064\u3044\u3066\u301C\n\u6700\u5C0F\ + \u5024\uFF1Afloat(\"inf\")\n\u6700\u5927\u5024\uFF1A-float(\"inf\")\nXOR\uFF1A\ + 0\n\u533A\u9593\u548C\uFF1A0\n\u533A\u9593\u7A4D\uFF1A1\n\u6700\u5927\u516C\u7D04\ + \u6570\uFF1A0\n\"\"\"\nide_ele = 0 # \u521D\u671F\u5024\uFF08\u5358\u4F4D\u5143\ + \uFF09\u306E\u8A2D\u5B9A\n\nclass LazySegmentTree:\n def __init__(self, init_val,\ + \ segfunc, ide_ele):\n n = len(init_val)\n self.segfunc = segfunc\n\ + \ self.ide_ele = ide_ele\n self.num = 1 << (n - 1).bit_length()\n\ + \ self.data = [ide_ele] * 2 * self.num\n self.lazy = [None] * 2\ + \ * self.num\n for i in range(n):\n self.data[self.num + i]\ + \ = init_val[i]\n for i in range(self.num - 1, 0, -1):\n self.data[i]\ + \ = self.segfunc(self.data[2 * i], self.data[2 * i + 1])\n\n def gindex(self,\ + \ l, r):\n l += self.num\n r += self.num\n lm = l >> (l &\ + \ -l).bit_length()\n rm = r >> (r & -r).bit_length()\n while l <\ + \ r:\n if l <= lm:\n yield l\n if r <= rm:\n\ + \ yield r\n r >>= 1\n l >>= 1\n while\ + \ l:\n yield l\n l >>= 1\n\n def propagates(self, *ids):\n\ + \ for i in reversed(ids):\n v = self.lazy[i]\n if\ + \ v is None:\n continue\n self.lazy[2 * i] = v\n \ + \ self.lazy[2 * i + 1] = v\n self.data[2 * i] = v\n \ + \ self.data[2 * i + 1] = v\n self.lazy[i] = None\n\n def update(self,\ + \ l, r, x):\n *ids, = self.gindex(l, r)\n self.propagates(*ids)\n\ + \ l += self.num\n r += self.num\n while l < r:\n \ + \ if l & 1:\n self.lazy[l] = x\n self.data[l]\ + \ = x\n l += 1\n if r & 1:\n self.lazy[r\ + \ - 1] = x\n self.data[r - 1] = x\n r >>= 1\n \ + \ l >>= 1\n for i in ids:\n self.data[i] = self.segfunc(self.data[2\ + \ * i], self.data[2 * i + 1])\n\n def query(self, l, r):\n *ids, = self.gindex(l,\ + \ r)\n self.propagates(*ids)\n res = self.ide_ele\n l +=\ + \ self.num\n r += self.num\n while l < r:\n if l & 1:\n\ + \ res = self.segfunc(res, self.data[l])\n l += 1\n\ + \ if r & 1:\n res = self.segfunc(res, self.data[r -\ + \ 1])\n l >>= 1\n r >>= 1\n return res\n\n# \u308F\ + \u304B\u3089\u306A\u304F\u306A\u3063\u305F\u3089\u5178\u578B90\u554F\u306E29\u3092\ + \u53C2\u8003\u306B\u3059\u308B\u3053\u3068" + dependsOn: [] + isVerificationFile: false + path: Tree/LazySegTree.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Tree/LazySegTree.py +layout: document +redirect_from: +- /library/Tree/LazySegTree.py +- /library/Tree/LazySegTree.py.html +title: Tree/LazySegTree.py +--- diff --git a/Tree/README.md b/Tree/README.md new file mode 100644 index 0000000..dad6a83 --- /dev/null +++ b/Tree/README.md @@ -0,0 +1,17 @@ +# AtCoder-Library + +[![Actions Status](https://github.com/ryusuke920/AtCoder-Library/workflows/verify/badge.svg)](https://github.com/ryusuke920/AtCoder-Library/actions) [![ryusuke_h](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2Fryusuke_h)](https://atcoder.jp/users/ryusuke_h) + +[AtCoder](https://atcoder.jp/) のライブラリを保管しています。 + +(*stores AtCoder-Library.*) + +## Tree +|File Name|Algorithm|Explanation| +|:--:|:--:|:--:| +|[BinaryIndexedTree.py](BinaryIndexedTree.py)|転倒数|転倒数を求められる| +|[FindCenter.py](FindCenter.py)|木の中心|木の中心を求められる| +|[FindDiameter.py](FindDiameter.py)|木の直径|木の直径を求められる| +|[LazySegTree.py](LazySegTree.py)|遅延評価セグメントツリー|区間全体に対して色々なことができる| +|[SegTree.py](SegTree.py)|セグメントツリー|区間に対して色々なことができる| +|[UnionFindTree.py](UnionFindTree.py)|Union-Find木|素集合に分割するアルゴリズム| diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md new file mode 100644 index 0000000..f6b9911 --- /dev/null +++ b/Tree/RangeMinimamQuery.py.md @@ -0,0 +1,58 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yosupo/DataStructure/StaticRMQ.test.py + title: Test/yosupo/DataStructure/StaticRMQ.test.py + - icon: ':heavy_check_mark:' + path: test/yosupo/DataStructure/StaticRMQ.test.py + title: test/yosupo/DataStructure/StaticRMQ.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ + \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ + \u308B\nquery(l, r): [l, r)\uFF08l <= k < r \u306E\u533A\u9593\uFF09\u304B\u3089\ + \u5024k\u3092\u53D6\u5F97\u3059\u308B\n\"\"\"\n\nclass SegTree:\n def __init__(self,\ + \ init_val, ide_ele) -> None:\n self.ide_ele = ide_ele\n self.n\ + \ = len(init_val)\n self.num = 2 ** self.n.bit_length()\n self.seg\ + \ = [self.ide_ele] * 2 * self.num\n for i in range(self.n):\n \ + \ self.seg[i + self.num - 1] = init_val[i]\n for i in range(self.num\ + \ - 2, -1, -1):\n self.seg[i] = self.segfunc(self.seg[2 * i + 1], self.seg[2\ + \ * i + 2])\n\n\n def segfunc(self, x: int, y: int) -> int:\n return\ + \ min(x, y)\n\n\n def update(self, k: int, x: int) -> None:\n k += self.num\ + \ - 1\n self.seg[k] = self.segfunc(self.seg[k], x)\n while k:\n\ + \ k = (k - 1) // 2\n self.seg[k] = self.segfunc(self.seg[k\ + \ * 2 + 1], self.seg[k * 2 + 2])\n\n\n def query(self, l: int, r: int):\n \ + \ if r <= l:\n return self.ide_ele\n l += self.num - 1\n\ + \ r += self.num - 2\n res = self.ide_ele\n while r - l >\ + \ 1:\n if l & 1 == 0:\n res = self.segfunc(res, self.seg[l])\n\ + \ if r & 1 == 1:\n res = self.segfunc(res, self.seg[r])\n\ + \ r -= 1\n l = l // 2\n r = (r - 1) // 2\n\ + \ if l == r:\n res = self.segfunc(res, self.seg[l])\n \ + \ else:\n res = self.segfunc(res, self.segfunc(self.seg[l], self.seg[r]))\n\ + \ \n return res" + dependsOn: [] + isVerificationFile: false + path: Tree/RangeMinimamQuery.py + requiredBy: [] + timestamp: '2022-08-09 15:54:34+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/yosupo/DataStructure/StaticRMQ.test.py + - test/yosupo/DataStructure/StaticRMQ.test.py +documentation_of: Tree/RangeMinimamQuery.py +layout: document +redirect_from: +- /library/Tree/RangeMinimamQuery.py +- /library/Tree/RangeMinimamQuery.py.html +title: Tree/RangeMinimamQuery.py +--- diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md new file mode 100644 index 0000000..7a98e5a --- /dev/null +++ b/Tree/SegTree.py.md @@ -0,0 +1,60 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ + \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ + \u3044\u65B9\u306B\u3064\u3044\u3066\u301C\nupdate(k, x): k\u756A\u76EE\u306E\u8981\ + \u7D20\u3092x\u306B\u66F4\u65B0\u3059\u308B\nquery(l, r): [l, r)\uFF08l <= k <\ + \ r \u306E\u533A\u9593\uFF09\u304B\u3089\u5024k\u3092\u53D6\u5F97\u3059\u308B\n\ + \"\"\"\ndef segfunc(x: int, y: int) -> int:\n \"\u3053\u3053\u3067\u6C42\u3081\ + \u305F\u3044\u51E6\u7406\u3092\u884C\u3046, max(x, y) \u3084 x ^ y \u306A\u3069\ + \"\n return x ^ y\n\n\"\"\"\n\u301C\u5358\u4F4D\u5143\u306E\u4E00\u89A7\u306B\ + \u3064\u3044\u3066\u301C\n\u6700\u5C0F\u5024\uFF1Afloat(\"inf\")\n\u6700\u5927\ + \u5024\uFF1A-float(\"inf\")\nXOR\uFF1A0\n\u533A\u9593\u548C\uFF1A0\n\u533A\u9593\ + \u7A4D\uFF1A1\n\u6700\u5927\u516C\u7D04\u6570\uFF1A0\n\"\"\"\nide_ele = 0 # \u521D\ + \u671F\u5024\uFF08\u5358\u4F4D\u5143\uFF09\u306E\u8A2D\u5B9A\n\nclass SegTree:\n\ + \ def __init__(self, segfunc, init_val, ide_ele):\n self.segfunc = segfunc\n\ + \ self.ide_ele = ide_ele\n self.num = 2 ** n.bit_length()\n \ + \ self.seg = [self.ide_ele] * 2 * self.num\n for i in range(n):\n \ + \ self.seg[i+self.num - 1] = init_val[i]\n for i in range(self.num\ + \ - 2, -1, -1):\n self.seg[i] = self.segfunc(self.seg[2 * i + 1], self.seg[2\ + \ * i + 2])\n\n def update(self, k, x):\n k += self.num - 1\n \ + \ self.seg[k] = self.segfunc(self.seg[k], x)\n while k:\n k\ + \ = (k - 1) // 2\n self.seg[k] = self.segfunc(self.seg[k * 2 + 1],\ + \ self.seg[k * 2 + 2])\n\n def query(self, l, r):\n \" l \u306F0index,\ + \ r \u306F1index\"\n if r <= l:\n return self.ide_ele\n \ + \ l += self.num - 1\n r += self.num - 2\n res = self.ide_ele\n\ + \ while r - l > 1:\n if l & 1 == 0:\n res = self.segfunc(res,\ + \ self.seg[l])\n if r & 1 == 1:\n res = self.segfunc(res,\ + \ self.seg[r])\n r -= 1\n l = l // 2\n r\ + \ = (r - 1) // 2\n if l == r:\n res = self.segfunc(res, self.seg[l])\n\ + \ else:\n res = self.segfunc(res, self.segfunc(self.seg[l],\ + \ self.seg[r]))\n return res\n\nn, q = map(int,input().split()) # \u914D\ + \u5217\u306E\u9577\u3055\u30FB\u30AF\u30A8\u30EA\u6570\na = list(map(int,input().split()))\ + \ # \u914D\u5217\nseg = SegTree(segfunc, a, ide_ele) # \u30AA\u30D6\u30B8\u30A7\ + \u30AF\u30C8\u306E\u4F5C\u6210" + dependsOn: [] + isVerificationFile: false + path: Tree/SegTree.py + requiredBy: [] + timestamp: '2022-02-06 18:58:27+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Tree/SegTree.py +layout: document +redirect_from: +- /library/Tree/SegTree.py +- /library/Tree/SegTree.py.html +title: Tree/SegTree.py +--- diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md new file mode 100644 index 0000000..431b252 --- /dev/null +++ b/Tree/UnionFindTree.py.md @@ -0,0 +1,48 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/DSL/DSL_1_A.test.py + title: Test/AOJ/DSL/DSL_1_A.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/DSL/DSL_1_A.test.py + title: test/AOJ/DSL/DSL_1_A.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "class UnionFind:\n def __init__(self, n):\n self.n = n\n \ + \ self.p = [-1] * n\n\n\n def leader(self, a):\n while self.p[a] >=\ + \ 0:\n a = self.p[a]\n return a\n\n\n def merge(self, a,\ + \ b):\n x = self.leader(a)\n y = self.leader(b)\n\n if x\ + \ == y:\n return x\n\n if self.p[x] > self.p[y]:\n \ + \ x, y = y, x\n\n self.p[x] += self.p[y]\n self.p[y] = x\n\n \ + \ return x\n\n def same(self, a, b):\n return self.leader(a) ==\ + \ self.leader(b)\n\n def size(self, a):\n return -self.p[self.leader(a)]\n\ + \ndef main() -> None:\n n, m = map(int, input().split())\n\n uf = UnionFind(n)\n\ + \n for _ in range(m):\n a, b = map(int,input().split())\n uf.merge(a\ + \ - 1, b - 1)\n\n ans = 0\n for i in range(n):\n ans = max(ans, uf.size(i))\n\ + \n print(ans)\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Tree/UnionFindTree.py + requiredBy: [] + timestamp: '2022-07-15 00:14:10+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/DSL/DSL_1_A.test.py + - test/AOJ/DSL/DSL_1_A.test.py +documentation_of: Tree/UnionFindTree.py +layout: document +redirect_from: +- /library/Tree/UnionFindTree.py +- /library/Tree/UnionFindTree.py.html +title: Tree/UnionFindTree.py +--- diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..0b6d8f2 --- /dev/null +++ b/_config.yml @@ -0,0 +1,5 @@ +description: This documentation is automatically generated by online-judge-tools/verification-helper +plugins: +- jemoji +- jekyll-redirect-from +theme: jekyll-theme-minimal diff --git a/_includes/document_body.html b/_includes/document_body.html new file mode 100644 index 0000000..20950a8 --- /dev/null +++ b/_includes/document_body.html @@ -0,0 +1,48 @@ +{% if page.data.dependsOn.size != 0 %} +

Depends on

+ +{% endif %} + + +{% if page.data.requiredBy.size != 0 %} +

Required by

+ +{% endif %} + + +{% if page.data.verifiedWith.size != 0 %} +

Verified with

+ +{% endif %} + + +

Code

+ + + + + + + +{% include highlight.html extension=page.data._pathExtension content=page.data.code %} + + +{% include highlight.html extension=page.data._pathExtension content=page.data.bundledCode %} diff --git a/_includes/document_footer.html b/_includes/document_footer.html new file mode 100644 index 0000000..0a0ee8c --- /dev/null +++ b/_includes/document_footer.html @@ -0,0 +1 @@ +Back to top page diff --git a/_includes/document_header.html b/_includes/document_header.html new file mode 100644 index 0000000..dc357ba --- /dev/null +++ b/_includes/document_header.html @@ -0,0 +1,39 @@ +

{{ page.data._verificationStatusIcon }} {{ page.title }} + {% if page.title != page.data.path %}
({{ page.data.path }}){% endif %} +

+ + + +{% if page.data._pathExtension == "hpp" %} + +{% endif %} diff --git a/_includes/highlight.html b/_includes/highlight.html new file mode 100644 index 0000000..1666405 --- /dev/null +++ b/_includes/highlight.html @@ -0,0 +1,66 @@ +{% comment %} + This file is a workaround for Jekyll's `highlight` block. + We cannot pass language to the `highlight` block as a parameter, so we need to list `if` blocks. Please feel free to add new languages. +{% endcomment %} + +{% if include.extension == "py" %} +{% highlight python %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "rs" %} +{% highlight rust %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "java" %} +{% highlight java %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "cs" || include.extension == "csx" %} +{% highlight csharp %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "fs" || include.extension == "fsx" %} +{% highlight fsharp %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "go" %} +{% highlight go %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "rb" %} +{% highlight ruby %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "d" %} +{% highlight csharp %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "nim" %} +{% highlight nim %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "awk" %} +{% highlight awk %} +{{ include.content }} +{% endhighlight %} + +{% elsif include.extension == "bf" || include.extension == "brainfuck" %} +{% highlight brainfuck %} +{{ include.content }} +{% endhighlight %} + +{% else %} +{% highlight cpp %} +{{ include.content }} +{% endhighlight %} + +{% endif %} diff --git a/_includes/mathjax.html b/_includes/mathjax.html new file mode 100644 index 0000000..820416f --- /dev/null +++ b/_includes/mathjax.html @@ -0,0 +1,14 @@ + + diff --git a/_includes/theme_fix.html b/_includes/theme_fix.html new file mode 100644 index 0000000..e9c2a5f --- /dev/null +++ b/_includes/theme_fix.html @@ -0,0 +1,25 @@ +{% if site.theme == "jekyll-theme-minimal" %} + +{% endif %} diff --git a/_includes/toppage_body.html b/_includes/toppage_body.html new file mode 100644 index 0000000..562ea7d --- /dev/null +++ b/_includes/toppage_body.html @@ -0,0 +1,25 @@ +

Library Files

+ +{% for category in page.data.libraryCategories %} +

{{ category.name }}

+ +{% endfor %} + +

Verification Files

+ +{% for category in page.data.verificationCategories %} +

{{ category.name }}

+ +{% endfor %} diff --git a/_includes/toppage_header.html b/_includes/toppage_header.html new file mode 100644 index 0000000..3092f32 --- /dev/null +++ b/_includes/toppage_header.html @@ -0,0 +1,3 @@ +

{{ site.title }}

+ + diff --git a/_layouts/document.html b/_layouts/document.html new file mode 100644 index 0000000..8d5fc50 --- /dev/null +++ b/_layouts/document.html @@ -0,0 +1,11 @@ +--- +layout: page +--- + +{% include document_header.html %} + +{{ content }} + +{% include document_body.html %} + +{% include document_footer.html %} diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..b3353fb --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,9 @@ +--- +layout: default +--- + +{% include mathjax.html %} + +{% include theme_fix.html %} + +{{ content }} diff --git a/_layouts/toppage.html b/_layouts/toppage.html new file mode 100644 index 0000000..cce9501 --- /dev/null +++ b/_layouts/toppage.html @@ -0,0 +1,19 @@ +--- +layout: page +--- + +{% include toppage_header.html %} + +{% if content %} + {{ content }} +{% else %} +

+ {% if site.github.project_tagline %} + {{ site.github.project_tagline }} + {% else %} + This documentation is automatically generated by online-judge-tools/verification-helper. + {% endif %} +

+{% endif %} + +{% include toppage_body.html %} diff --git a/assets/css/copy-button.css b/assets/css/copy-button.css new file mode 100644 index 0000000..2886a0f --- /dev/null +++ b/assets/css/copy-button.css @@ -0,0 +1,22 @@ +.code-btn { + position: absolute; + border: 1px solid #ccc; + background-color: #fff; + width: 6em; + line-height: 1.2em; + font-size: 0.8em; + cursor: pointer; +} +.code-btn:hover { + color: #fff; + background-color: #267cb9; +} +.code-copy-btn { + top: 0px; + right: 0px; +} +.code-bundle-btn { + top: 0px; + right: 6em; + border-radius: 0 0 0 6px; +} diff --git a/assets/js/copy-button.js b/assets/js/copy-button.js new file mode 100644 index 0000000..475ef47 --- /dev/null +++ b/assets/js/copy-button.js @@ -0,0 +1,60 @@ +window.addEventListener('load', function(){ + const unbundle = function () { + $('#unbundled').each(function(index, element) { + $(element).parent().next().show(); + }); + $('#bundled').each(function(index, element) { + $(element).parent().next().hide(); + }); + $('.code-bundle-btn').each(function(index, element) { + $(element).text("Bundle"); + }); + }; + const bundle = function () { + $('#unbundled').each(function(index, element) { + $(element).parent().next().hide(); + }); + $('#bundled').each(function(index, element) { + $(element).parent().next().show(); + }); + $('.code-bundle-btn').each(function(index, element) { + $(element).text("Unbundle"); + }); + }; + // bundle されたコードは最初は非表示に + let is_bundled = false; + unbundle(); + + // ボタンを実装 + $('pre > code').each(function(index, element) { + $(element).parent().wrap('
'); + $(element).parent().parent().append(''); + $(element).parent().parent().append(''); + }); + + $('.code-copy-btn').on('click',function(){ + // テキスト要素を選択&クリップボードにコピー + var textElem = $(this).siblings(':first'); + window.getSelection().selectAllChildren(textElem[0]); + document.execCommand("copy"); + window.getSelection().removeAllRanges(); + + // コピー完了した後の処理 + // トースト通知とかすると親切かも... + $(this).showBalloon(); + const this_ = this; + setTimeout(function() { + $(this_).hideBalloon(); + }, 300); + }); + + $('.code-bundle-btn').on('click', function(){ + // bundle / unbundle の切り替え + if (is_bundled) { + unbundle(); + } else { + bundle(); + } + is_bundled = ! is_bundled; + }); +}); diff --git a/index.md b/index.md new file mode 100644 index 0000000..daa4d72 --- /dev/null +++ b/index.md @@ -0,0 +1,326 @@ +--- +data: + libraryCategories: + - name: DP + pages: + - icon: ':warning:' + path: DP/LongestCommonSubsequence.py + title: DP/LongestCommonSubsequence.py + - icon: ':warning:' + path: DP/LongestIncreasingSubsequence.py + title: DP/LongestIncreasingSubsequence.py + - name: Geometry + pages: + - icon: ':warning:' + path: Geometry/RotateLeft.py + title: Geometry/RotateLeft.py + - icon: ':warning:' + path: Geometry/RotateReverse.py + title: Geometry/RotateReverse.py + - icon: ':warning:' + path: Geometry/RotateRight.py + title: Geometry/RotateRight.py + - icon: ':warning:' + path: Geometry/RotateTranspose.py + title: Geometry/RotateTranspose.py + - icon: ':warning:' + path: Geometry/SharedPoint.py + title: Geometry/SharedPoint.py + - name: Graph + pages: + - icon: ':warning:' + path: Graph/BellmanFord.py + title: Graph/BellmanFord.py + - icon: ':warning:' + path: Graph/EulerTour.py + title: Graph/EulerTour.py + - icon: ':heavy_check_mark:' + path: Graph/Kruskal.py + title: Graph/Kruskal.py + - icon: ':warning:' + path: Graph/LowestCommonAncestor.py + title: Graph/LowestCommonAncestor.py + - icon: ':warning:' + path: Graph/Prim.py + title: Graph/Prim.py + - icon: ':warning:' + path: Graph/StronglyConnectedComponent.py + title: Graph/StronglyConnectedComponent.py + - icon: ':warning:' + path: Graph/TopologicalSort.py + title: Graph/TopologicalSort.py + - icon: ':warning:' + path: Graph/dijkstra.py + title: Graph/dijkstra.py + - icon: ':warning:' + path: Graph/warshall_floyd.py + title: Graph/warshall_floyd.py + - name: MathLibrary + pages: + - icon: ':warning:' + path: MathLibrary/BinaryToDecimal.py + title: MathLibrary/BinaryToDecimal.py + - icon: ':warning:' + path: MathLibrary/CumulativeSum.py + title: MathLibrary/CumulativeSum.py + - icon: ':warning:' + path: MathLibrary/DecimalToBinary.py + title: MathLibrary/DecimalToBinary.py + - icon: ':warning:' + path: MathLibrary/DigitSum_int.py + title: MathLibrary/DigitSum_int.py + - icon: ':warning:' + path: MathLibrary/DigitSum_str.py + title: MathLibrary/DigitSum_str.py + - icon: ':warning:' + path: MathLibrary/ExtGCD.py + title: MathLibrary/ExtGCD.py + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py + - icon: ':warning:' + path: MathLibrary/FromFloatToInt.py + title: MathLibrary/FromFloatToInt.py + - icon: ':warning:' + path: MathLibrary/ManhattanDistanceSearch.py + title: MathLibrary/ManhattanDistanceSearch.py + - icon: ':warning:' + path: MathLibrary/MaxCumulativeSum.py + title: MathLibrary/MaxCumulativeSum.py + - icon: ':warning:' + path: MathLibrary/NFactorizarition.py + title: MathLibrary/NFactorizarition.py + - icon: ':heavy_check_mark:' + path: MathLibrary/PrimaryCheck.py + title: MathLibrary/PrimaryCheck.py + - icon: ':warning:' + path: MathLibrary/SieveOfEratosthenes.py + title: MathLibrary/SieveOfEratosthenes.py + - icon: ':warning:' + path: MathLibrary/SortedMultiset.py + title: MathLibrary/SortedMultiset.py + - icon: ':warning:' + path: MathLibrary/SortedSet.py + title: MathLibrary/SortedSet.py + - icon: ':warning:' + path: MathLibrary/XorToN.py + title: MathLibrary/XorToN.py + - icon: ':warning:' + path: MathLibrary/divisor.py + title: MathLibrary/divisor.py + - icon: ':warning:' + path: MathLibrary/doubling.py + title: MathLibrary/doubling.py + - icon: ':warning:' + path: MathLibrary/factorization.py + title: MathLibrary/factorization.py + - icon: ':warning:' + path: MathLibrary/nCk.py + title: MathLibrary/nCk.py + - icon: ':warning:' + path: MathLibrary/nCkFactorization.py + title: MathLibrary/nCkFactorization.py + - name: Other + pages: + - icon: ':warning:' + path: Other/debug.py + title: Other/debug.py + - name: Search + pages: + - icon: ':warning:' + path: Search/BinarySearch.py + title: Search/BinarySearch.py + - icon: ':warning:' + path: Search/BitSearch.py + title: Search/BitSearch.py + - icon: ':warning:' + path: Search/BreadthFirstSearch_graph.py + title: Search/BreadthFirstSearch_graph.py + - icon: ':warning:' + path: Search/BreadthFirstSearch_grid.py + title: Search/BreadthFirstSearch_grid.py + - name: String + pages: + - icon: ':warning:' + path: String/BoyerMoore.py + title: String/BoyerMoore.py + - icon: ':warning:' + path: String/CoordinateCompression.py + title: String/CoordinateCompression.py + - icon: ':warning:' + path: String/RunLengthEncoding.py + title: String/RunLengthEncoding.py + - name: Template + pages: + - icon: ':warning:' + path: Template/Template.py + title: Template/Template.py + - icon: ':warning:' + path: Template/VerifyHelperTemplate.py + title: Template/VerifyHelperTemplate.py + - name: Test/yosupo/DataStructure + pages: + - icon: ':warning:' + path: Test/yosupo/DataStructure/AssociativeArray.py + title: Test/yosupo/DataStructure/AssociativeArray.py + - name: Tree + pages: + - icon: ':warning:' + path: Tree/BinaryIndexedTree.py + title: Tree/BinaryIndexedTree.py + - icon: ':warning:' + path: Tree/FindCenter.py + title: Tree/FindCenter.py + - icon: ':warning:' + path: Tree/FindDiameter.py + title: Tree/FindDiameter.py + - icon: ':warning:' + path: Tree/LazySegTree.py + title: Tree/LazySegTree.py + - icon: ':heavy_check_mark:' + path: Tree/RangeMinimamQuery.py + title: Tree/RangeMinimamQuery.py + - icon: ':warning:' + path: Tree/SegTree.py + title: Tree/SegTree.py + - icon: ':heavy_check_mark:' + path: Tree/UnionFindTree.py + title: Tree/UnionFindTree.py + - name: test/yosupo/DataStructure + pages: + - icon: ':warning:' + path: test/yosupo/DataStructure/AssociativeArray.py + title: test/yosupo/DataStructure/AssociativeArray.py + verificationCategories: + - name: Test/AOJ/ALDS1 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_13_A.test.py + title: Test/AOJ/ALDS1/ALDS1_13_A.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_1_B.test.py + title: Test/AOJ/ALDS1/ALDS1_1_B.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_1_C.test.py + title: Test/AOJ/ALDS1/ALDS1_1_C.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_4_B.test.py + title: Test/AOJ/ALDS1/ALDS1_4_B.test.py + - name: Test/AOJ/DSL + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/DSL/DSL_1_A.test.py + title: Test/AOJ/DSL/DSL_1_A.test.py + - name: Test/AOJ/GRL + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/GRL/GRL_1_B.test.py + title: Test/AOJ/GRL/GRL_1_B.test.py + - name: Test/AOJ/Volume0 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume0/0000.test.py + title: Test/AOJ/Volume0/0000.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume0/0001.test.py + title: Test/AOJ/Volume0/0001.test.py + - name: Test/yosupo/DataStructure + pages: + - icon: ':heavy_check_mark:' + path: Test/yosupo/DataStructure/StaticRMQ.test.py + title: Test/yosupo/DataStructure/StaticRMQ.test.py + - icon: ':heavy_check_mark:' + path: Test/yosupo/DataStructure/Unionfind.test.py + title: Test/yosupo/DataStructure/Unionfind.test.py + - name: Test/yosupo/Sample + pages: + - icon: ':heavy_check_mark:' + path: Test/yosupo/Sample/A+B.test.py + title: Test/yosupo/Sample/A+B.test.py + - icon: ':heavy_check_mark:' + path: Test/yosupo/Sample/ManyA+B.test.py + title: Test/yosupo/Sample/ManyA+B.test.py + - name: Test/yukicoder + pages: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1639.test.py + title: Test/yukicoder/1639.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1737.test.py + title: Test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/182.test.py + title: Test/yukicoder/182.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/677.test.py + title: Test/yukicoder/677.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/847.test.py + title: Test/yukicoder/847.test.py + - name: test/AOJ/ALDS1 + pages: + - icon: ':heavy_check_mark:' + path: test/AOJ/ALDS1/ALDS1_13_A.test.py + title: test/AOJ/ALDS1/ALDS1_13_A.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/ALDS1/ALDS1_1_B.test.py + title: test/AOJ/ALDS1/ALDS1_1_B.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/ALDS1/ALDS1_1_C.test.py + title: test/AOJ/ALDS1/ALDS1_1_C.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/ALDS1/ALDS1_4_B.test.py + title: test/AOJ/ALDS1/ALDS1_4_B.test.py + - name: test/AOJ/DSL + pages: + - icon: ':heavy_check_mark:' + path: test/AOJ/DSL/DSL_1_A.test.py + title: test/AOJ/DSL/DSL_1_A.test.py + - name: test/AOJ/GRL + pages: + - icon: ':heavy_check_mark:' + path: test/AOJ/GRL/GRL_1_B.test.py + title: test/AOJ/GRL/GRL_1_B.test.py + - name: test/AOJ/Volume0 + pages: + - icon: ':heavy_check_mark:' + path: test/AOJ/Volume0/0000.test.py + title: test/AOJ/Volume0/0000.test.py + - icon: ':heavy_check_mark:' + path: test/AOJ/Volume0/0001.test.py + title: test/AOJ/Volume0/0001.test.py + - name: test/yosupo/DataStructure + pages: + - icon: ':heavy_check_mark:' + path: test/yosupo/DataStructure/StaticRMQ.test.py + title: test/yosupo/DataStructure/StaticRMQ.test.py + - icon: ':heavy_check_mark:' + path: test/yosupo/DataStructure/Unionfind.test.py + title: test/yosupo/DataStructure/Unionfind.test.py + - name: test/yosupo/Sample + pages: + - icon: ':heavy_check_mark:' + path: test/yosupo/Sample/A+B.test.py + title: test/yosupo/Sample/A+B.test.py + - icon: ':heavy_check_mark:' + path: test/yosupo/Sample/ManyA+B.test.py + title: test/yosupo/Sample/ManyA+B.test.py + - name: test/yukicoder + pages: + - icon: ':heavy_check_mark:' + path: test/yukicoder/1639.test.py + title: test/yukicoder/1639.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/1737.test.py + title: test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/182.test.py + title: test/yukicoder/182.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/677.test.py + title: test/yukicoder/677.test.py + - icon: ':heavy_check_mark:' + path: test/yukicoder/847.test.py + title: test/yukicoder/847.test.py +layout: toppage +--- diff --git a/test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/test/AOJ/ALDS1/ALDS1_13_A.test.py.md new file mode 100644 index 0000000..c186a79 --- /dev/null +++ b/test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ + \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ + \ input().split())) for _ in range(k)]\n\nfor p in permutations(range(8)):\n \ + \ flag = True\n for i, j in rc:\n if p[i] != j:\n flag\ + \ = False\n\n if not flag:\n continue\n\n for k in range(8):\n \ + \ for l in range(8):\n if k == l:\n continue\n\ + \ if abs(p[k] - p[l]) == abs(k - l):\n flag = False\n\ + \n if flag:\n for i in p:\n ans = [\".\"] * 8\n \ + \ ans[i] = \"Q\"\n print(\"\".join(ans))" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/ALDS1/ALDS1_13_A.test.py + requiredBy: [] + timestamp: '2022-08-10 17:34:36+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/ALDS1/ALDS1_13_A.test.py +layout: document +redirect_from: +- /verify/test/AOJ/ALDS1/ALDS1_13_A.test.py +- /verify/test/AOJ/ALDS1/ALDS1_13_A.test.py.html +title: test/AOJ/ALDS1/ALDS1_13_A.test.py +--- diff --git a/test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/test/AOJ/ALDS1/ALDS1_1_B.test.py.md new file mode 100644 index 0000000..738ba89 --- /dev/null +++ b/test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ + \ x, y = map(int, input().split())\n print(gcd(x, y))\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/ALDS1/ALDS1_1_B.test.py + requiredBy: [] + timestamp: '2022-08-09 16:25:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/ALDS1/ALDS1_1_B.test.py +layout: document +redirect_from: +- /verify/test/AOJ/ALDS1/ALDS1_1_B.test.py +- /verify/test/AOJ/ALDS1/ALDS1_1_B.test.py.html +title: test/AOJ/ALDS1/ALDS1_1_B.test.py +--- diff --git a/test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/test/AOJ/ALDS1/ALDS1_1_C.test.py.md new file mode 100644 index 0000000..a8b7640 --- /dev/null +++ b/test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/PrimaryCheck.py + title: MathLibrary/PrimaryCheck.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ + \ndef main() -> None:\n ans = 0\n\n n = int(input())\n for _ in range(n):\n\ + \ ans += int(PrimaryCheck.PrimaryCheck(int(input())))\n \n print(ans)\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - MathLibrary/PrimaryCheck.py + isVerificationFile: true + path: test/AOJ/ALDS1/ALDS1_1_C.test.py + requiredBy: [] + timestamp: '2022-08-09 16:25:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/ALDS1/ALDS1_1_C.test.py +layout: document +redirect_from: +- /verify/test/AOJ/ALDS1/ALDS1_1_C.test.py +- /verify/test/AOJ/ALDS1/ALDS1_1_C.test.py.html +title: test/AOJ/ALDS1/ALDS1_1_C.test.py +--- diff --git a/test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/test/AOJ/ALDS1/ALDS1_4_B.test.py.md new file mode 100644 index 0000000..80cfeaf --- /dev/null +++ b/test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ + \ s = set(list(map(int, input().split())))\n q = int(input())\n t = set(list(map(int,\ + \ input().split())))\n \n print(len(s & t))\n\n\nif __name__ == \"__main__\"\ + :\n main()\n" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/ALDS1/ALDS1_4_B.test.py + requiredBy: [] + timestamp: '2022-08-09 16:25:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/ALDS1/ALDS1_4_B.test.py +layout: document +redirect_from: +- /verify/test/AOJ/ALDS1/ALDS1_4_B.test.py +- /verify/test/AOJ/ALDS1/ALDS1_4_B.test.py.html +title: test/AOJ/ALDS1/ALDS1_4_B.test.py +--- diff --git a/test/AOJ/DSL/DSL_1_A.test.py.md b/test/AOJ/DSL/DSL_1_A.test.py.md new file mode 100644 index 0000000..b9ddfca --- /dev/null +++ b/test/AOJ/DSL/DSL_1_A.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Tree/UnionFindTree.py + title: Tree/UnionFindTree.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ + \ndef main():\n n, q = map(int, input().split())\n\n uf = UnionFindTree.UnionFind(n)\n\ + \n for _ in range(q):\n com, x, y = map(int, input().split())\n \ + \ if com == 0:\n uf.merge(x, y)\n elif com == 1:\n \ + \ print(int(uf.same(x, y)))\n\n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: + - Tree/UnionFindTree.py + isVerificationFile: true + path: test/AOJ/DSL/DSL_1_A.test.py + requiredBy: [] + timestamp: '2022-08-10 17:34:36+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/DSL/DSL_1_A.test.py +layout: document +redirect_from: +- /verify/test/AOJ/DSL/DSL_1_A.test.py +- /verify/test/AOJ/DSL/DSL_1_A.test.py.html +title: test/AOJ/DSL/DSL_1_A.test.py +--- diff --git a/test/AOJ/GRL/GRL_1_B.test.py.md b/test/AOJ/GRL/GRL_1_B.test.py.md new file mode 100644 index 0000000..452d6be --- /dev/null +++ b/test/AOJ/GRL/GRL_1_B.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ + from Search import BreadthFirstSearch_graph\n\ndef main() -> None:\n V, E,\ + \ r = map(int, input().split())\n s, t, d = [0] * E, [0] * E, [0] * E\n\n \ + \ g = [[] for _ in range(V)]\n for i in range(E):\n s[i], t[i], d[i]\ + \ = map(int, input().split())\n g[s[i]].append(t[i])\n\n dist = BreadthFirstSearch_graph.bfs(V,\ + \ g, r)\n judge = [False] * V\n\n for i in range(V):\n if dist[i]\ + \ != float('inf'):\n judge[i] = True\n \n g = []\n for i in\ + \ range(E):\n if judge[s[i]]:\n g.append((s[i], t[i], d[i]))\n\ + \n ans = BellmanFord.bellman_ford(V, g, r)\n if ans == -1:\n print('NEGATIVE\ + \ CYCLE')\n else:\n for i in range(V):\n if ans[i] == float('inf'):\n\ + \ print('INF')\n else:\n print(ans[i])\n\ + \n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/GRL/GRL_1_B.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/GRL/GRL_1_B.test.py +layout: document +redirect_from: +- /verify/test/AOJ/GRL/GRL_1_B.test.py +- /verify/test/AOJ/GRL/GRL_1_B.test.py.html +title: test/AOJ/GRL/GRL_1_B.test.py +--- diff --git a/test/AOJ/Volume0/0000.test.py.md b/test/AOJ/Volume0/0000.test.py.md new file mode 100644 index 0000000..865a6a5 --- /dev/null +++ b/test/AOJ/Volume0/0000.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ + \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ + \ print(f\"{i}x{j}={i * j}\")\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/Volume0/0000.test.py + requiredBy: [] + timestamp: '2022-08-09 01:59:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/Volume0/0000.test.py +layout: document +redirect_from: +- /verify/test/AOJ/Volume0/0000.test.py +- /verify/test/AOJ/Volume0/0000.test.py.html +title: test/AOJ/Volume0/0000.test.py +--- diff --git a/test/AOJ/Volume0/0001.test.py.md b/test/AOJ/Volume0/0001.test.py.md new file mode 100644 index 0000000..c18b10b --- /dev/null +++ b/test/AOJ/Volume0/0001.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ + \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ + \ sep='\\n')\n\n\nif __name__ == \"__main__\":\n main()\n" + dependsOn: [] + isVerificationFile: true + path: test/AOJ/Volume0/0001.test.py + requiredBy: [] + timestamp: '2022-07-20 09:42:30+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/AOJ/Volume0/0001.test.py +layout: document +redirect_from: +- /verify/test/AOJ/Volume0/0001.test.py +- /verify/test/AOJ/Volume0/0001.test.py.html +title: test/AOJ/Volume0/0001.test.py +--- diff --git a/test/yosupo/DataStructure/AssociativeArray.py.md b/test/yosupo/DataStructure/AssociativeArray.py.md new file mode 100644 index 0000000..b140aa9 --- /dev/null +++ b/test/yosupo/DataStructure/AssociativeArray.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/associative_array + links: + - https://judge.yosupo.jp/problem/associative_array + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ + \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ + \ndef main() -> None:\n d = defaultdict(int)\n\n Q = int(input())\n for\ + \ _ in range(Q):\n query = list(map(int, input().split()))\n if\ + \ query[0] == 0:\n d[query[1]] = query[2]\n elif query[0] ==\ + \ 1:\n print(d[query[1]])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: test/yosupo/DataStructure/AssociativeArray.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: test/yosupo/DataStructure/AssociativeArray.py +layout: document +redirect_from: +- /library/test/yosupo/DataStructure/AssociativeArray.py +- /library/test/yosupo/DataStructure/AssociativeArray.py.html +title: test/yosupo/DataStructure/AssociativeArray.py +--- diff --git a/test/yosupo/DataStructure/StaticRMQ.test.py.md b/test/yosupo/DataStructure/StaticRMQ.test.py.md new file mode 100644 index 0000000..928f56f --- /dev/null +++ b/test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Tree/RangeMinimamQuery.py + title: Tree/RangeMinimamQuery.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/staticrmq + links: + - https://judge.yosupo.jp/problem/staticrmq + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ + \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ + from Tree import RangeMinimamQuery\n\ndef main():\n N, Q = map(int,input().split())\n\ + \ a = list(map(int,input().split()))\n seg = RangeMinimamQuery.SegTree(a,\ + \ float('inf'))\n\n for _ in range(Q):\n l, r = map(int, input().split())\n\ + \ print(seg.query(l, r))\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Tree/RangeMinimamQuery.py + isVerificationFile: true + path: test/yosupo/DataStructure/StaticRMQ.test.py + requiredBy: [] + timestamp: '2022-08-09 15:54:34+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yosupo/DataStructure/StaticRMQ.test.py +layout: document +redirect_from: +- /verify/test/yosupo/DataStructure/StaticRMQ.test.py +- /verify/test/yosupo/DataStructure/StaticRMQ.test.py.html +title: test/yosupo/DataStructure/StaticRMQ.test.py +--- diff --git a/test/yosupo/DataStructure/Unionfind.test.py.md b/test/yosupo/DataStructure/Unionfind.test.py.md new file mode 100644 index 0000000..f61bd98 --- /dev/null +++ b/test/yosupo/DataStructure/Unionfind.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/unionfind + links: + - https://judge.yosupo.jp/problem/unionfind + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ + \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ + \ Tree import UnionFindTree\n\ndef main():\n n, q = map(int, input().split())\n\ + \n uf = UnionFindTree.UnionFind(n)\n\n for _ in range(q):\n t, u,\ + \ v = map(int, input().split())\n if t == 0:\n uf.merge(u, v)\n\ + \ elif t == 1:\n print(int(uf.same(u, v)))\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: test/yosupo/DataStructure/Unionfind.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yosupo/DataStructure/Unionfind.test.py +layout: document +redirect_from: +- /verify/test/yosupo/DataStructure/Unionfind.test.py +- /verify/test/yosupo/DataStructure/Unionfind.test.py.html +title: test/yosupo/DataStructure/Unionfind.test.py +--- diff --git a/test/yosupo/Sample/A+B.test.py.md b/test/yosupo/Sample/A+B.test.py.md new file mode 100644 index 0000000..3b7fd2a --- /dev/null +++ b/test/yosupo/Sample/A+B.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/aplusb + links: + - https://judge.yosupo.jp/problem/aplusb + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ + def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: test/yosupo/Sample/A+B.test.py + requiredBy: [] + timestamp: '2022-08-08 22:10:29+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yosupo/Sample/A+B.test.py +layout: document +redirect_from: +- /verify/test/yosupo/Sample/A+B.test.py +- /verify/test/yosupo/Sample/A+B.test.py.html +title: test/yosupo/Sample/A+B.test.py +--- diff --git a/test/yosupo/Sample/ManyA+B.test.py.md b/test/yosupo/Sample/ManyA+B.test.py.md new file mode 100644 index 0000000..3e59451 --- /dev/null +++ b/test/yosupo/Sample/ManyA+B.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.yosupo.jp/problem/many_aplusb + links: + - https://judge.yosupo.jp/problem/many_aplusb + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ + \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ + \ A, B = map(int, input().split())\n print(A + B)\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: test/yosupo/Sample/ManyA+B.test.py + requiredBy: [] + timestamp: '2022-08-08 22:10:29+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yosupo/Sample/ManyA+B.test.py +layout: document +redirect_from: +- /verify/test/yosupo/Sample/ManyA+B.test.py +- /verify/test/yosupo/Sample/ManyA+B.test.py.html +title: test/yosupo/Sample/ManyA+B.test.py +--- diff --git a/test/yukicoder/1639.test.py.md b/test/yukicoder/1639.test.py.md new file mode 100644 index 0000000..966f2a9 --- /dev/null +++ b/test/yukicoder/1639.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Graph/Kruskal.py + title: Graph/Kruskal.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1639 + links: + - https://yukicoder.me/problems/no/1639 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ + import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ + \ng = []\nfor _ in range(n * (n - 1) // 2):\n a, b, c = map(int, input().split())\n\ + \ a -= 1\n b -= 1\n g.append((a, b, c))\n\nkruskal = Kruskal.Kruskal(n,\ + \ g)\nans = kruskal.cost(g)\n\nprint(max(ans))" + dependsOn: + - Graph/Kruskal.py + isVerificationFile: true + path: test/yukicoder/1639.test.py + requiredBy: [] + timestamp: '2022-08-10 23:47:40+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yukicoder/1639.test.py +layout: document +redirect_from: +- /verify/test/yukicoder/1639.test.py +- /verify/test/yukicoder/1639.test.py.html +title: test/yukicoder/1639.test.py +--- diff --git a/test/yukicoder/1737.test.py.md b/test/yukicoder/1737.test.py.md new file mode 100644 index 0000000..35796b3 --- /dev/null +++ b/test/yukicoder/1737.test.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1737 + links: + - https://yukicoder.me/problems/no/1737 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ + import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ + \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ + \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" + dependsOn: + - MathLibrary/Factorization.py + isVerificationFile: true + path: test/yukicoder/1737.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yukicoder/1737.test.py +layout: document +redirect_from: +- /verify/test/yukicoder/1737.test.py +- /verify/test/yukicoder/1737.test.py.html +title: test/yukicoder/1737.test.py +--- diff --git a/test/yukicoder/182.test.py.md b/test/yukicoder/182.test.py.md new file mode 100644 index 0000000..30c86d4 --- /dev/null +++ b/test/yukicoder/182.test.py.md @@ -0,0 +1,34 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/182 + links: + - https://yukicoder.me/problems/no/182 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ + \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ + \nd = defaultdict(int)\nfor i in range(n):\n d[a[i]] += 1\n\nans = 0\nfor i\ + \ in d.values():\n ans += i == 1\n\nprint(ans)" + dependsOn: [] + isVerificationFile: true + path: test/yukicoder/182.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yukicoder/182.test.py +layout: document +redirect_from: +- /verify/test/yukicoder/182.test.py +- /verify/test/yukicoder/182.test.py.html +title: test/yukicoder/182.test.py +--- diff --git a/test/yukicoder/677.test.py.md b/test/yukicoder/677.test.py.md new file mode 100644 index 0000000..dda7eb1 --- /dev/null +++ b/test/yukicoder/677.test.py.md @@ -0,0 +1,33 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/677 + links: + - https://yukicoder.me/problems/no/677 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ + \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ + \ ans.append(2 ** i * 5 ** j)\n\nprint(*sorted(ans), sep='\\n')" + dependsOn: [] + isVerificationFile: true + path: test/yukicoder/677.test.py + requiredBy: [] + timestamp: '2022-08-10 23:10:28+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yukicoder/677.test.py +layout: document +redirect_from: +- /verify/test/yukicoder/677.test.py +- /verify/test/yukicoder/677.test.py.html +title: test/yukicoder/677.test.py +--- diff --git a/test/yukicoder/847.test.py.md b/test/yukicoder/847.test.py.md new file mode 100644 index 0000000..6415a2c --- /dev/null +++ b/test/yukicoder/847.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/847 + links: + - https://yukicoder.me/problems/no/847 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\n\ + def dfs(a: list, now: int):\n \n global ans\n\n if len(a) == l and now\ + \ <= m:\n ans += 1\n return\n\n for i in range(fac[len(a)][1]\ + \ + 1):\n\n now *= fac[len(a)][0] ** i\n\n if now <= m:\n \ + \ dfs(a + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n\ + \ return\n\nn, k, m = map(int, input().split())\n\nfac = Factorization.factorization(n)\n\ + l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ + print(ans)" + dependsOn: + - MathLibrary/Factorization.py + isVerificationFile: true + path: test/yukicoder/847.test.py + requiredBy: [] + timestamp: '2022-08-11 00:02:49+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: test/yukicoder/847.test.py +layout: document +redirect_from: +- /verify/test/yukicoder/847.test.py +- /verify/test/yukicoder/847.test.py.html +title: test/yukicoder/847.test.py +--- From d5932433892da5fe035280d9a0e0cf28b6d00848 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 10 Aug 2022 16:30:20 +0000 Subject: [PATCH 02/38] [auto-verifier] docs commit 12c38c3e2ae239e23a3ab87e39641a4dedaa9ec0 --- Test/AOJ/hoge/hoge.py.md | 29 +++++++++++++++++++++++++++++ index.md | 5 +++++ 2 files changed, 34 insertions(+) create mode 100644 Test/AOJ/hoge/hoge.py.md diff --git a/Test/AOJ/hoge/hoge.py.md b/Test/AOJ/hoge/hoge.py.md new file mode 100644 index 0000000..a3b2b39 --- /dev/null +++ b/Test/AOJ/hoge/hoge.py.md @@ -0,0 +1,29 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: '' + dependsOn: [] + isVerificationFile: false + path: Test/AOJ/hoge/hoge.py + requiredBy: [] + timestamp: '2022-08-11 01:27:53+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Test/AOJ/hoge/hoge.py +layout: document +redirect_from: +- /library/Test/AOJ/hoge/hoge.py +- /library/Test/AOJ/hoge/hoge.py.html +title: Test/AOJ/hoge/hoge.py +--- diff --git a/index.md b/index.md index daa4d72..04538ed 100644 --- a/index.md +++ b/index.md @@ -158,6 +158,11 @@ data: - icon: ':warning:' path: Template/VerifyHelperTemplate.py title: Template/VerifyHelperTemplate.py + - name: Test/AOJ/hoge + pages: + - icon: ':warning:' + path: Test/AOJ/hoge/hoge.py + title: Test/AOJ/hoge/hoge.py - name: Test/yosupo/DataStructure pages: - icon: ':warning:' From 3a223df2f1e07a7b1709b3d2c5399346ba00ffee Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 10 Aug 2022 16:40:19 +0000 Subject: [PATCH 03/38] [auto-verifier] docs commit aaca720a5cf787d23241cb24f8513fe5cbdb9922 --- Graph/Kruskal.py.md | 4 -- MathLibrary/Factorization.py.md | 8 --- MathLibrary/PrimaryCheck.py.md | 4 -- Tree/RangeMinimamQuery.py.md | 4 -- Tree/UnionFindTree.py.md | 4 -- index.md | 70 ------------------- test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 39 ----------- test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 34 --------- test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 39 ----------- test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 35 ---------- test/AOJ/DSL/DSL_1_A.test.py.md | 40 ----------- test/AOJ/GRL/GRL_1_B.test.py.md | 43 ------------ test/AOJ/Volume0/0000.test.py.md | 34 --------- test/AOJ/Volume0/0001.test.py.md | 33 --------- .../DataStructure/AssociativeArray.py.md | 36 ---------- .../yosupo/DataStructure/StaticRMQ.test.py.md | 40 ----------- .../yosupo/DataStructure/Unionfind.test.py.md | 37 ---------- test/yosupo/Sample/A+B.test.py.md | 33 --------- test/yosupo/Sample/ManyA+B.test.py.md | 34 --------- test/yukicoder/1639.test.py.md | 39 ----------- test/yukicoder/1737.test.py.md | 38 ---------- test/yukicoder/182.test.py.md | 34 --------- test/yukicoder/677.test.py.md | 33 --------- test/yukicoder/847.test.py.md | 43 ------------ 24 files changed, 758 deletions(-) delete mode 100644 test/AOJ/ALDS1/ALDS1_13_A.test.py.md delete mode 100644 test/AOJ/ALDS1/ALDS1_1_B.test.py.md delete mode 100644 test/AOJ/ALDS1/ALDS1_1_C.test.py.md delete mode 100644 test/AOJ/ALDS1/ALDS1_4_B.test.py.md delete mode 100644 test/AOJ/DSL/DSL_1_A.test.py.md delete mode 100644 test/AOJ/GRL/GRL_1_B.test.py.md delete mode 100644 test/AOJ/Volume0/0000.test.py.md delete mode 100644 test/AOJ/Volume0/0001.test.py.md delete mode 100644 test/yosupo/DataStructure/AssociativeArray.py.md delete mode 100644 test/yosupo/DataStructure/StaticRMQ.test.py.md delete mode 100644 test/yosupo/DataStructure/Unionfind.test.py.md delete mode 100644 test/yosupo/Sample/A+B.test.py.md delete mode 100644 test/yosupo/Sample/ManyA+B.test.py.md delete mode 100644 test/yukicoder/1639.test.py.md delete mode 100644 test/yukicoder/1737.test.py.md delete mode 100644 test/yukicoder/182.test.py.md delete mode 100644 test/yukicoder/677.test.py.md delete mode 100644 test/yukicoder/847.test.py.md diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 0653bcb..33d039c 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -6,9 +6,6 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/1639.test.py title: Test/yukicoder/1639.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/1639.test.py - title: test/yukicoder/1639.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -42,7 +39,6 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yukicoder/1639.test.py - - test/yukicoder/1639.test.py documentation_of: Graph/Kruskal.py layout: document redirect_from: diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md index aaf58b6..08ac019 100644 --- a/MathLibrary/Factorization.py.md +++ b/MathLibrary/Factorization.py.md @@ -9,12 +9,6 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/847.test.py title: Test/yukicoder/847.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/1737.test.py - title: test/yukicoder/1737.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/847.test.py - title: test/yukicoder/847.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -39,8 +33,6 @@ data: verifiedWith: - Test/yukicoder/1737.test.py - Test/yukicoder/847.test.py - - test/yukicoder/1737.test.py - - test/yukicoder/847.test.py documentation_of: MathLibrary/Factorization.py layout: document redirect_from: diff --git a/MathLibrary/PrimaryCheck.py.md b/MathLibrary/PrimaryCheck.py.md index 79eaa33..fc5d4b7 100644 --- a/MathLibrary/PrimaryCheck.py.md +++ b/MathLibrary/PrimaryCheck.py.md @@ -6,9 +6,6 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_1_C.test.py title: Test/AOJ/ALDS1/ALDS1_1_C.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/ALDS1/ALDS1_1_C.test.py - title: test/AOJ/ALDS1/ALDS1_1_C.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -29,7 +26,6 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/ALDS1/ALDS1_1_C.test.py - - test/AOJ/ALDS1/ALDS1_1_C.test.py documentation_of: MathLibrary/PrimaryCheck.py layout: document redirect_from: diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index f6b9911..c5d80bc 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -6,9 +6,6 @@ data: - icon: ':heavy_check_mark:' path: Test/yosupo/DataStructure/StaticRMQ.test.py title: Test/yosupo/DataStructure/StaticRMQ.test.py - - icon: ':heavy_check_mark:' - path: test/yosupo/DataStructure/StaticRMQ.test.py - title: test/yosupo/DataStructure/StaticRMQ.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -48,7 +45,6 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yosupo/DataStructure/StaticRMQ.test.py - - test/yosupo/DataStructure/StaticRMQ.test.py documentation_of: Tree/RangeMinimamQuery.py layout: document redirect_from: diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index 431b252..c34b275 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -6,9 +6,6 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/DSL/DSL_1_A.test.py title: Test/AOJ/DSL/DSL_1_A.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/DSL/DSL_1_A.test.py - title: test/AOJ/DSL/DSL_1_A.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -38,7 +35,6 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/DSL/DSL_1_A.test.py - - test/AOJ/DSL/DSL_1_A.test.py documentation_of: Tree/UnionFindTree.py layout: document redirect_from: diff --git a/index.md b/index.md index 04538ed..a2c4657 100644 --- a/index.md +++ b/index.md @@ -191,11 +191,6 @@ data: - icon: ':heavy_check_mark:' path: Tree/UnionFindTree.py title: Tree/UnionFindTree.py - - name: test/yosupo/DataStructure - pages: - - icon: ':warning:' - path: test/yosupo/DataStructure/AssociativeArray.py - title: test/yosupo/DataStructure/AssociativeArray.py verificationCategories: - name: Test/AOJ/ALDS1 pages: @@ -262,70 +257,5 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/847.test.py title: Test/yukicoder/847.test.py - - name: test/AOJ/ALDS1 - pages: - - icon: ':heavy_check_mark:' - path: test/AOJ/ALDS1/ALDS1_13_A.test.py - title: test/AOJ/ALDS1/ALDS1_13_A.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/ALDS1/ALDS1_1_B.test.py - title: test/AOJ/ALDS1/ALDS1_1_B.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/ALDS1/ALDS1_1_C.test.py - title: test/AOJ/ALDS1/ALDS1_1_C.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/ALDS1/ALDS1_4_B.test.py - title: test/AOJ/ALDS1/ALDS1_4_B.test.py - - name: test/AOJ/DSL - pages: - - icon: ':heavy_check_mark:' - path: test/AOJ/DSL/DSL_1_A.test.py - title: test/AOJ/DSL/DSL_1_A.test.py - - name: test/AOJ/GRL - pages: - - icon: ':heavy_check_mark:' - path: test/AOJ/GRL/GRL_1_B.test.py - title: test/AOJ/GRL/GRL_1_B.test.py - - name: test/AOJ/Volume0 - pages: - - icon: ':heavy_check_mark:' - path: test/AOJ/Volume0/0000.test.py - title: test/AOJ/Volume0/0000.test.py - - icon: ':heavy_check_mark:' - path: test/AOJ/Volume0/0001.test.py - title: test/AOJ/Volume0/0001.test.py - - name: test/yosupo/DataStructure - pages: - - icon: ':heavy_check_mark:' - path: test/yosupo/DataStructure/StaticRMQ.test.py - title: test/yosupo/DataStructure/StaticRMQ.test.py - - icon: ':heavy_check_mark:' - path: test/yosupo/DataStructure/Unionfind.test.py - title: test/yosupo/DataStructure/Unionfind.test.py - - name: test/yosupo/Sample - pages: - - icon: ':heavy_check_mark:' - path: test/yosupo/Sample/A+B.test.py - title: test/yosupo/Sample/A+B.test.py - - icon: ':heavy_check_mark:' - path: test/yosupo/Sample/ManyA+B.test.py - title: test/yosupo/Sample/ManyA+B.test.py - - name: test/yukicoder - pages: - - icon: ':heavy_check_mark:' - path: test/yukicoder/1639.test.py - title: test/yukicoder/1639.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/1737.test.py - title: test/yukicoder/1737.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/182.test.py - title: test/yukicoder/182.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/677.test.py - title: test/yukicoder/677.test.py - - icon: ':heavy_check_mark:' - path: test/yukicoder/847.test.py - title: test/yukicoder/847.test.py layout: toppage --- diff --git a/test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/test/AOJ/ALDS1/ALDS1_13_A.test.py.md deleted file mode 100644 index c186a79..0000000 --- a/test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ - \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ - \ input().split())) for _ in range(k)]\n\nfor p in permutations(range(8)):\n \ - \ flag = True\n for i, j in rc:\n if p[i] != j:\n flag\ - \ = False\n\n if not flag:\n continue\n\n for k in range(8):\n \ - \ for l in range(8):\n if k == l:\n continue\n\ - \ if abs(p[k] - p[l]) == abs(k - l):\n flag = False\n\ - \n if flag:\n for i in p:\n ans = [\".\"] * 8\n \ - \ ans[i] = \"Q\"\n print(\"\".join(ans))" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/ALDS1/ALDS1_13_A.test.py - requiredBy: [] - timestamp: '2022-08-10 17:34:36+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/ALDS1/ALDS1_13_A.test.py -layout: document -redirect_from: -- /verify/test/AOJ/ALDS1/ALDS1_13_A.test.py -- /verify/test/AOJ/ALDS1/ALDS1_13_A.test.py.html -title: test/AOJ/ALDS1/ALDS1_13_A.test.py ---- diff --git a/test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/test/AOJ/ALDS1/ALDS1_1_B.test.py.md deleted file mode 100644 index 738ba89..0000000 --- a/test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ - \ x, y = map(int, input().split())\n print(gcd(x, y))\n\n\nif __name__ ==\ - \ \"__main__\":\n main()" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/ALDS1/ALDS1_1_B.test.py - requiredBy: [] - timestamp: '2022-08-09 16:25:06+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/ALDS1/ALDS1_1_B.test.py -layout: document -redirect_from: -- /verify/test/AOJ/ALDS1/ALDS1_1_B.test.py -- /verify/test/AOJ/ALDS1/ALDS1_1_B.test.py.html -title: test/AOJ/ALDS1/ALDS1_1_B.test.py ---- diff --git a/test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/test/AOJ/ALDS1/ALDS1_1_C.test.py.md deleted file mode 100644 index a8b7640..0000000 --- a/test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/PrimaryCheck.py - title: MathLibrary/PrimaryCheck.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ - \ndef main() -> None:\n ans = 0\n\n n = int(input())\n for _ in range(n):\n\ - \ ans += int(PrimaryCheck.PrimaryCheck(int(input())))\n \n print(ans)\n\ - \n\nif __name__ == \"__main__\":\n main()" - dependsOn: - - MathLibrary/PrimaryCheck.py - isVerificationFile: true - path: test/AOJ/ALDS1/ALDS1_1_C.test.py - requiredBy: [] - timestamp: '2022-08-09 16:25:06+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/ALDS1/ALDS1_1_C.test.py -layout: document -redirect_from: -- /verify/test/AOJ/ALDS1/ALDS1_1_C.test.py -- /verify/test/AOJ/ALDS1/ALDS1_1_C.test.py.html -title: test/AOJ/ALDS1/ALDS1_1_C.test.py ---- diff --git a/test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/test/AOJ/ALDS1/ALDS1_4_B.test.py.md deleted file mode 100644 index 80cfeaf..0000000 --- a/test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ - \ s = set(list(map(int, input().split())))\n q = int(input())\n t = set(list(map(int,\ - \ input().split())))\n \n print(len(s & t))\n\n\nif __name__ == \"__main__\"\ - :\n main()\n" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/ALDS1/ALDS1_4_B.test.py - requiredBy: [] - timestamp: '2022-08-09 16:25:06+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/ALDS1/ALDS1_4_B.test.py -layout: document -redirect_from: -- /verify/test/AOJ/ALDS1/ALDS1_4_B.test.py -- /verify/test/AOJ/ALDS1/ALDS1_4_B.test.py.html -title: test/AOJ/ALDS1/ALDS1_4_B.test.py ---- diff --git a/test/AOJ/DSL/DSL_1_A.test.py.md b/test/AOJ/DSL/DSL_1_A.test.py.md deleted file mode 100644 index b9ddfca..0000000 --- a/test/AOJ/DSL/DSL_1_A.test.py.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: Tree/UnionFindTree.py - title: Tree/UnionFindTree.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ - \ndef main():\n n, q = map(int, input().split())\n\n uf = UnionFindTree.UnionFind(n)\n\ - \n for _ in range(q):\n com, x, y = map(int, input().split())\n \ - \ if com == 0:\n uf.merge(x, y)\n elif com == 1:\n \ - \ print(int(uf.same(x, y)))\n\n\nif __name__ == \"__main__\":\n main()\n" - dependsOn: - - Tree/UnionFindTree.py - isVerificationFile: true - path: test/AOJ/DSL/DSL_1_A.test.py - requiredBy: [] - timestamp: '2022-08-10 17:34:36+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/DSL/DSL_1_A.test.py -layout: document -redirect_from: -- /verify/test/AOJ/DSL/DSL_1_A.test.py -- /verify/test/AOJ/DSL/DSL_1_A.test.py.html -title: test/AOJ/DSL/DSL_1_A.test.py ---- diff --git a/test/AOJ/GRL/GRL_1_B.test.py.md b/test/AOJ/GRL/GRL_1_B.test.py.md deleted file mode 100644 index 452d6be..0000000 --- a/test/AOJ/GRL/GRL_1_B.test.py.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ - from Search import BreadthFirstSearch_graph\n\ndef main() -> None:\n V, E,\ - \ r = map(int, input().split())\n s, t, d = [0] * E, [0] * E, [0] * E\n\n \ - \ g = [[] for _ in range(V)]\n for i in range(E):\n s[i], t[i], d[i]\ - \ = map(int, input().split())\n g[s[i]].append(t[i])\n\n dist = BreadthFirstSearch_graph.bfs(V,\ - \ g, r)\n judge = [False] * V\n\n for i in range(V):\n if dist[i]\ - \ != float('inf'):\n judge[i] = True\n \n g = []\n for i in\ - \ range(E):\n if judge[s[i]]:\n g.append((s[i], t[i], d[i]))\n\ - \n ans = BellmanFord.bellman_ford(V, g, r)\n if ans == -1:\n print('NEGATIVE\ - \ CYCLE')\n else:\n for i in range(V):\n if ans[i] == float('inf'):\n\ - \ print('INF')\n else:\n print(ans[i])\n\ - \n\nif __name__ == \"__main__\":\n main()\n" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/GRL/GRL_1_B.test.py - requiredBy: [] - timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/GRL/GRL_1_B.test.py -layout: document -redirect_from: -- /verify/test/AOJ/GRL/GRL_1_B.test.py -- /verify/test/AOJ/GRL/GRL_1_B.test.py.html -title: test/AOJ/GRL/GRL_1_B.test.py ---- diff --git a/test/AOJ/Volume0/0000.test.py.md b/test/AOJ/Volume0/0000.test.py.md deleted file mode 100644 index 865a6a5..0000000 --- a/test/AOJ/Volume0/0000.test.py.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ - \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ - \ print(f\"{i}x{j}={i * j}\")\n\n\nif __name__ == \"__main__\":\n \ - \ main()" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/Volume0/0000.test.py - requiredBy: [] - timestamp: '2022-08-09 01:59:06+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/Volume0/0000.test.py -layout: document -redirect_from: -- /verify/test/AOJ/Volume0/0000.test.py -- /verify/test/AOJ/Volume0/0000.test.py.html -title: test/AOJ/Volume0/0000.test.py ---- diff --git a/test/AOJ/Volume0/0001.test.py.md b/test/AOJ/Volume0/0001.test.py.md deleted file mode 100644 index c18b10b..0000000 --- a/test/AOJ/Volume0/0001.test.py.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ - \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ - \ sep='\\n')\n\n\nif __name__ == \"__main__\":\n main()\n" - dependsOn: [] - isVerificationFile: true - path: test/AOJ/Volume0/0001.test.py - requiredBy: [] - timestamp: '2022-07-20 09:42:30+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/AOJ/Volume0/0001.test.py -layout: document -redirect_from: -- /verify/test/AOJ/Volume0/0001.test.py -- /verify/test/AOJ/Volume0/0001.test.py.html -title: test/AOJ/Volume0/0001.test.py ---- diff --git a/test/yosupo/DataStructure/AssociativeArray.py.md b/test/yosupo/DataStructure/AssociativeArray.py.md deleted file mode 100644 index b140aa9..0000000 --- a/test/yosupo/DataStructure/AssociativeArray.py.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':warning:' - attributes: - PROBLEM: https://judge.yosupo.jp/problem/associative_array - links: - - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ - \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ - \ndef main() -> None:\n d = defaultdict(int)\n\n Q = int(input())\n for\ - \ _ in range(Q):\n query = list(map(int, input().split()))\n if\ - \ query[0] == 0:\n d[query[1]] = query[2]\n elif query[0] ==\ - \ 1:\n print(d[query[1]])\n\n\nif __name__ == \"__main__\":\n main()" - dependsOn: [] - isVerificationFile: false - path: test/yosupo/DataStructure/AssociativeArray.py - requiredBy: [] - timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] -documentation_of: test/yosupo/DataStructure/AssociativeArray.py -layout: document -redirect_from: -- /library/test/yosupo/DataStructure/AssociativeArray.py -- /library/test/yosupo/DataStructure/AssociativeArray.py.html -title: test/yosupo/DataStructure/AssociativeArray.py ---- diff --git a/test/yosupo/DataStructure/StaticRMQ.test.py.md b/test/yosupo/DataStructure/StaticRMQ.test.py.md deleted file mode 100644 index 928f56f..0000000 --- a/test/yosupo/DataStructure/StaticRMQ.test.py.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: Tree/RangeMinimamQuery.py - title: Tree/RangeMinimamQuery.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.yosupo.jp/problem/staticrmq - links: - - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ - \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ - from Tree import RangeMinimamQuery\n\ndef main():\n N, Q = map(int,input().split())\n\ - \ a = list(map(int,input().split()))\n seg = RangeMinimamQuery.SegTree(a,\ - \ float('inf'))\n\n for _ in range(Q):\n l, r = map(int, input().split())\n\ - \ print(seg.query(l, r))\n\nif __name__ == \"__main__\":\n main()" - dependsOn: - - Tree/RangeMinimamQuery.py - isVerificationFile: true - path: test/yosupo/DataStructure/StaticRMQ.test.py - requiredBy: [] - timestamp: '2022-08-09 15:54:34+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yosupo/DataStructure/StaticRMQ.test.py -layout: document -redirect_from: -- /verify/test/yosupo/DataStructure/StaticRMQ.test.py -- /verify/test/yosupo/DataStructure/StaticRMQ.test.py.html -title: test/yosupo/DataStructure/StaticRMQ.test.py ---- diff --git a/test/yosupo/DataStructure/Unionfind.test.py.md b/test/yosupo/DataStructure/Unionfind.test.py.md deleted file mode 100644 index f61bd98..0000000 --- a/test/yosupo/DataStructure/Unionfind.test.py.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.yosupo.jp/problem/unionfind - links: - - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ - \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ - \ Tree import UnionFindTree\n\ndef main():\n n, q = map(int, input().split())\n\ - \n uf = UnionFindTree.UnionFind(n)\n\n for _ in range(q):\n t, u,\ - \ v = map(int, input().split())\n if t == 0:\n uf.merge(u, v)\n\ - \ elif t == 1:\n print(int(uf.same(u, v)))\n\nif __name__ ==\ - \ \"__main__\":\n main()" - dependsOn: [] - isVerificationFile: true - path: test/yosupo/DataStructure/Unionfind.test.py - requiredBy: [] - timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yosupo/DataStructure/Unionfind.test.py -layout: document -redirect_from: -- /verify/test/yosupo/DataStructure/Unionfind.test.py -- /verify/test/yosupo/DataStructure/Unionfind.test.py.html -title: test/yosupo/DataStructure/Unionfind.test.py ---- diff --git a/test/yosupo/Sample/A+B.test.py.md b/test/yosupo/Sample/A+B.test.py.md deleted file mode 100644 index 3b7fd2a..0000000 --- a/test/yosupo/Sample/A+B.test.py.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.yosupo.jp/problem/aplusb - links: - - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ - def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ - if __name__ == \"__main__\":\n main()" - dependsOn: [] - isVerificationFile: true - path: test/yosupo/Sample/A+B.test.py - requiredBy: [] - timestamp: '2022-08-08 22:10:29+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yosupo/Sample/A+B.test.py -layout: document -redirect_from: -- /verify/test/yosupo/Sample/A+B.test.py -- /verify/test/yosupo/Sample/A+B.test.py.html -title: test/yosupo/Sample/A+B.test.py ---- diff --git a/test/yosupo/Sample/ManyA+B.test.py.md b/test/yosupo/Sample/ManyA+B.test.py.md deleted file mode 100644 index 3e59451..0000000 --- a/test/yosupo/Sample/ManyA+B.test.py.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://judge.yosupo.jp/problem/many_aplusb - links: - - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ - \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ - \ A, B = map(int, input().split())\n print(A + B)\n\nif __name__ ==\ - \ \"__main__\":\n main()" - dependsOn: [] - isVerificationFile: true - path: test/yosupo/Sample/ManyA+B.test.py - requiredBy: [] - timestamp: '2022-08-08 22:10:29+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yosupo/Sample/ManyA+B.test.py -layout: document -redirect_from: -- /verify/test/yosupo/Sample/ManyA+B.test.py -- /verify/test/yosupo/Sample/ManyA+B.test.py.html -title: test/yosupo/Sample/ManyA+B.test.py ---- diff --git a/test/yukicoder/1639.test.py.md b/test/yukicoder/1639.test.py.md deleted file mode 100644 index 966f2a9..0000000 --- a/test/yukicoder/1639.test.py.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: Graph/Kruskal.py - title: Graph/Kruskal.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/1639 - links: - - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ - import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ - \ng = []\nfor _ in range(n * (n - 1) // 2):\n a, b, c = map(int, input().split())\n\ - \ a -= 1\n b -= 1\n g.append((a, b, c))\n\nkruskal = Kruskal.Kruskal(n,\ - \ g)\nans = kruskal.cost(g)\n\nprint(max(ans))" - dependsOn: - - Graph/Kruskal.py - isVerificationFile: true - path: test/yukicoder/1639.test.py - requiredBy: [] - timestamp: '2022-08-10 23:47:40+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yukicoder/1639.test.py -layout: document -redirect_from: -- /verify/test/yukicoder/1639.test.py -- /verify/test/yukicoder/1639.test.py.html -title: test/yukicoder/1639.test.py ---- diff --git a/test/yukicoder/1737.test.py.md b/test/yukicoder/1737.test.py.md deleted file mode 100644 index 35796b3..0000000 --- a/test/yukicoder/1737.test.py.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/1737 - links: - - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ - import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ - \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ - \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" - dependsOn: - - MathLibrary/Factorization.py - isVerificationFile: true - path: test/yukicoder/1737.test.py - requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yukicoder/1737.test.py -layout: document -redirect_from: -- /verify/test/yukicoder/1737.test.py -- /verify/test/yukicoder/1737.test.py.html -title: test/yukicoder/1737.test.py ---- diff --git a/test/yukicoder/182.test.py.md b/test/yukicoder/182.test.py.md deleted file mode 100644 index 30c86d4..0000000 --- a/test/yukicoder/182.test.py.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/182 - links: - - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ - \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ - \nd = defaultdict(int)\nfor i in range(n):\n d[a[i]] += 1\n\nans = 0\nfor i\ - \ in d.values():\n ans += i == 1\n\nprint(ans)" - dependsOn: [] - isVerificationFile: true - path: test/yukicoder/182.test.py - requiredBy: [] - timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yukicoder/182.test.py -layout: document -redirect_from: -- /verify/test/yukicoder/182.test.py -- /verify/test/yukicoder/182.test.py.html -title: test/yukicoder/182.test.py ---- diff --git a/test/yukicoder/677.test.py.md b/test/yukicoder/677.test.py.md deleted file mode 100644 index dda7eb1..0000000 --- a/test/yukicoder/677.test.py.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/677 - links: - - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ - \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ - \ ans.append(2 ** i * 5 ** j)\n\nprint(*sorted(ans), sep='\\n')" - dependsOn: [] - isVerificationFile: true - path: test/yukicoder/677.test.py - requiredBy: [] - timestamp: '2022-08-10 23:10:28+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yukicoder/677.test.py -layout: document -redirect_from: -- /verify/test/yukicoder/677.test.py -- /verify/test/yukicoder/677.test.py.html -title: test/yukicoder/677.test.py ---- diff --git a/test/yukicoder/847.test.py.md b/test/yukicoder/847.test.py.md deleted file mode 100644 index 6415a2c..0000000 --- a/test/yukicoder/847.test.py.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/847 - links: - - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\n\ - def dfs(a: list, now: int):\n \n global ans\n\n if len(a) == l and now\ - \ <= m:\n ans += 1\n return\n\n for i in range(fac[len(a)][1]\ - \ + 1):\n\n now *= fac[len(a)][0] ** i\n\n if now <= m:\n \ - \ dfs(a + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n\ - \ return\n\nn, k, m = map(int, input().split())\n\nfac = Factorization.factorization(n)\n\ - l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ - print(ans)" - dependsOn: - - MathLibrary/Factorization.py - isVerificationFile: true - path: test/yukicoder/847.test.py - requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' - verificationStatus: TEST_ACCEPTED - verifiedWith: [] -documentation_of: test/yukicoder/847.test.py -layout: document -redirect_from: -- /verify/test/yukicoder/847.test.py -- /verify/test/yukicoder/847.test.py.html -title: test/yukicoder/847.test.py ---- From 21b9b72fd16025efa024fd65058fa09f4cc5af98 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 10 Aug 2022 16:43:22 +0000 Subject: [PATCH 04/38] [auto-verifier] docs commit 1d8aaacd2be84ddb355f620a957ccf62f6af3404 --- Other/debug.py.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Other/debug.py.md b/Other/debug.py.md index 2b93a35..3435b0d 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -16,14 +16,13 @@ data: \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ \u51FA\u529B\u306B\u306A\u308B\u306E\u3067\u3001print\u3057\u3066\u3082\u30B8\u30E3\ \u30C3\u30B8\u306B\u53CD\u6620\u3055\u308C\u306A\u3044\n\"\"\"\n\na = [1, 2, 3,\ - \ 4, 5]\nword = \"ryusuke\"\ndebug(a, word)\n\n# ABC199\u306EA\u3092\u89E3\u3044\ - \u3066\u307F\u308B\nA, B, C = map(int,input().split())\nif A ** 2 + B ** 2 < C\ - \ ** 2:\n print(\"Yes\")\nelse:\n print(\"No\")" + \ 4, 5]\nword = \"ryusuke\"\ndebug(a, word)\n\n\nA, B, C = map(int, input().split())\n\ + if A ** 2 + B ** 2 < C ** 2:\n print(\"Yes\")\nelse:\n print(\"No\")" dependsOn: [] isVerificationFile: false path: Other/debug.py requiredBy: [] - timestamp: '2022-02-06 18:58:27+09:00' + timestamp: '2022-08-11 01:40:44+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] documentation_of: Other/debug.py From edf9012a74303d02891204afda34066258adfbff Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 10 Aug 2022 16:52:22 +0000 Subject: [PATCH 05/38] [auto-verifier] docs commit 39942177e5b9d2d3a2bc8a7f72125658d3b1286b --- Search/BreadthFirstSearch_graph.py.md | 8 ++++---- Search/BreadthFirstSearch_grid.py.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index 059bdea..e91660e 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -16,11 +16,11 @@ data: \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ \ \n q = deque()\n q.append(s)\n\n while q:\n prev = q.popleft()\n\ \ for nxt in g[prev]:\n if dist[nxt] != INF: continue\n \ - \ dist[nxt] = dist[prev] + 1\n q.append(nxt)\n \n return\ + \ dist[nxt] = dist[prev] + 1\n q.append(nxt)\n\n\n return\ \ dist\n\ndef main() -> None:\n n = int(input())\n\n g = [[] for _ in range(n)]\n\ - \ for _ in range(n - 1):\n u, v = map(int, input().split())\n \ - \ u -= 1\n v -= 1\n g[u].append(v)\n g[v].append(u)\n \ - \ \n bfs(0, g)\n\n\n\nif __name__ == \"__main__\":\n main()" + \ for _ in range(n - 1):\n u, v = map(lambda x: int(x) - 1, input().split())\n\ + \ g[u].append(v)\n g[v].append(u)\n\n bfs(0, g)\n\n\n\nif __name__\ + \ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Search/BreadthFirstSearch_graph.py diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index a6a0a5e..ddd2c82 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -21,8 +21,8 @@ data: \ vy + dy\n x = vx + dx\n if not (0 <= x < w and 0 <= y\ \ < h):continue\n if grid[y][x] == '#': continue\n if dist[y][x]\ \ != INF: continue\n dist[y][x] = dist[vy][vx] + 1\n q.append((y,\ - \ x))\n \n return dist\n\ndef main() -> None:\n global h, w, grid\n\n\ - \ h, w = map(int, input().split())\n grid = [list(input()) for _ in range(h)]\n\ + \ x))\n\n\n return dist\n\ndef main() -> None:\n global h, w, grid\n\n \ + \ h, w = map(int, input().split())\n grid = [list(input()) for _ in range(h)]\n\ \n dist = bfs(0, 0)\n print(*dist, sep='\\n')\n\nif __name__ == \"__main__\"\ :\n main()" dependsOn: [] From 72dd3e12e9b77146c17daf2f0453b41944b0da0d Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 30 Aug 2022 13:39:07 +0000 Subject: [PATCH 06/38] [auto-verifier] docs commit 50b6e4094edbf844499ef0fd2308927077eb914f --- MathLibrary/Factorization.py.md | 2 +- Test/yukicoder/1009.test.py.md | 36 +++++++++++++++++++++++++++++++++ Test/yukicoder/2034.test.py.md | 35 ++++++++++++++++++++++++++++++++ index.md | 6 ++++++ 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 Test/yukicoder/1009.test.py.md create mode 100644 Test/yukicoder/2034.test.py.md diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md index 08ac019..0bcbdb3 100644 --- a/MathLibrary/Factorization.py.md +++ b/MathLibrary/Factorization.py.md @@ -31,8 +31,8 @@ data: timestamp: '2022-08-11 00:02:49+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/1737.test.py - Test/yukicoder/847.test.py + - Test/yukicoder/1737.test.py documentation_of: MathLibrary/Factorization.py layout: document redirect_from: diff --git a/Test/yukicoder/1009.test.py.md b/Test/yukicoder/1009.test.py.md new file mode 100644 index 0000000..472c07f --- /dev/null +++ b/Test/yukicoder/1009.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1009 + links: + - https://yukicoder.me/problems/no/1009 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: '# verification-helper: PROBLEM https://yukicoder.me/problems/no/1009 + + + a, b = map(int, input().split()) + + print((b - a) ** 3 / 6)' + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1009.test.py + requiredBy: [] + timestamp: '2022-08-30 22:36:33+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/yukicoder/1009.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1009.test.py +- /verify/Test/yukicoder/1009.test.py.html +title: Test/yukicoder/1009.test.py +--- diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md new file mode 100644 index 0000000..cf8eea7 --- /dev/null +++ b/Test/yukicoder/2034.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2034 + links: + - https://yukicoder.me/problems/no/2034 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ + from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ + rev_d = defaultdict(int)\nfor i, j in enumerate(\"abcdefghijklmnopqrstuvwxyz\"\ + ):\n d[j] = i\n rev_d[i] = j\n\nans = []\nfor i in s:\n ans.append(rev_d[26\ + \ - d[i] - 1])\n\nprint(*ans, sep='')" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2034.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2034.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2034.test.py +- /verify/Test/yukicoder/2034.test.py.html +title: Test/yukicoder/2034.test.py +--- diff --git a/index.md b/index.md index a2c4657..7c1edce 100644 --- a/index.md +++ b/index.md @@ -242,6 +242,9 @@ data: title: Test/yosupo/Sample/ManyA+B.test.py - name: Test/yukicoder pages: + - icon: ':x:' + path: Test/yukicoder/1009.test.py + title: Test/yukicoder/1009.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1639.test.py title: Test/yukicoder/1639.test.py @@ -251,6 +254,9 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/182.test.py title: Test/yukicoder/182.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2034.test.py + title: Test/yukicoder/2034.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/677.test.py title: Test/yukicoder/677.test.py From 97a3cafb84406296e9818aba1eee41c8b7abebb5 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 18 Apr 2023 05:51:18 +0000 Subject: [PATCH 07/38] [auto-verifier] docs commit 8a0af4de78b120f0f72229a73183b382be7eaff4 --- DP/LongestCommonSubsequence.py.md | 6 ++- DP/LongestIncreasingSubsequence.py.md | 6 ++- Geometry/RotateLeft.py.md | 6 ++- Geometry/RotateReverse.py.md | 6 ++- Geometry/RotateRight.py.md | 6 ++- Geometry/RotateTranspose.py.md | 6 ++- Geometry/SharedPoint.py.md | 6 ++- Graph/BellmanFord.py.md | 6 ++- Graph/EulerTour.py.md | 6 ++- Graph/Kruskal.py.md | 6 ++- Graph/LowestCommonAncestor.py.md | 6 ++- Graph/Prim.py.md | 6 ++- Graph/StronglyConnectedComponent.py.md | 6 ++- Graph/TopologicalSort.py.md | 6 ++- Graph/dijkstra.py.md | 6 ++- Graph/warshall_floyd.py.md | 6 ++- MathLibrary/BinaryToDecimal.py.md | 6 ++- MathLibrary/CumulativeSum.py.md | 6 ++- MathLibrary/DecimalToBinary.py.md | 6 ++- MathLibrary/DigitSum_int.py.md | 6 ++- MathLibrary/DigitSum_str.py.md | 6 ++- MathLibrary/ExtGCD.py.md | 6 ++- MathLibrary/Factorization.py.md | 10 ++--- MathLibrary/FromFloatToInt.py.md | 6 ++- MathLibrary/ManhattanDistanceSearch.py.md | 6 ++- MathLibrary/MaxCumulativeSum.py.md | 6 ++- MathLibrary/NFactorizarition.py.md | 6 ++- MathLibrary/PrimaryCheck.py.md | 6 ++- MathLibrary/SieveOfEratosthenes.py.md | 6 ++- MathLibrary/SortedMultiset.py.md | 6 ++- MathLibrary/SortedSet.py.md | 6 ++- MathLibrary/XorToN.py.md | 6 ++- MathLibrary/divisor.py.md | 6 ++- MathLibrary/doubling.py.md | 6 ++- MathLibrary/factorization.py.md | 22 +++++++--- MathLibrary/nCk.py.md | 6 ++- MathLibrary/nCkFactorization.py.md | 6 ++- Other/debug.py.md | 6 ++- Search/BinarySearch.py.md | 6 ++- Search/BitSearch.py.md | 6 ++- Search/BreadthFirstSearch_graph.py.md | 6 ++- Search/BreadthFirstSearch_grid.py.md | 6 ++- String/BoyerMoore.py.md | 6 ++- String/CoordinateCompression.py.md | 6 ++- String/RunLengthEncoding.py.md | 6 ++- Template/Template.py.md | 6 ++- Template/VerifyHelperTemplate.py.md | 6 ++- Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 6 ++- Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 6 ++- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 6 ++- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 6 ++- Test/AOJ/DSL/DSL_1_A.test.py.md | 6 ++- Test/AOJ/GRL/GRL_1_B.test.py.md | 6 ++- Test/AOJ/Volume0/0000.test.py.md | 6 ++- Test/AOJ/Volume0/0001.test.py.md | 6 ++- Test/AOJ/hoge/hoge.py.md | 6 ++- .../DataStructure/AssociativeArray.py.md | 6 ++- .../yosupo/DataStructure/StaticRMQ.test.py.md | 6 ++- .../yosupo/DataStructure/Unionfind.test.py.md | 6 ++- Test/yosupo/Sample/A+B.test.py.md | 6 ++- Test/yosupo/Sample/ManyA+B.test.py.md | 6 ++- Test/yukicoder/0002.test.py.md | 42 +++++++++++++++++++ .../{182.test.py.md => 0182.test.py.md} | 16 +++---- .../{677.test.py.md => 0677.test.py.md} | 18 ++++---- .../{847.test.py.md => 0847.test.py.md} | 28 +++++++------ Test/yukicoder/1009.test.py.md | 6 ++- Test/yukicoder/1639.test.py.md | 6 ++- Test/yukicoder/1737.test.py.md | 6 ++- Test/yukicoder/2034.test.py.md | 6 ++- Tree/BinaryIndexedTree.py.md | 6 ++- Tree/FindCenter.py.md | 6 ++- Tree/FindDiameter.py.md | 6 ++- Tree/LazySegTree.py.md | 6 ++- Tree/RangeMinimamQuery.py.md | 6 ++- Tree/SegTree.py.md | 6 ++- Tree/UnionFindTree.py.md | 6 ++- index.md | 23 +++++----- 77 files changed, 389 insertions(+), 190 deletions(-) create mode 100644 Test/yukicoder/0002.test.py.md rename Test/yukicoder/{182.test.py.md => 0182.test.py.md} (69%) rename Test/yukicoder/{677.test.py.md => 0677.test.py.md} (65%) rename Test/yukicoder/{847.test.py.md => 0847.test.py.md} (67%) diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md index b84cd2f..b034958 100644 --- a/DP/LongestCommonSubsequence.py.md +++ b/DP/LongestCommonSubsequence.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md index 13f631a..26ade26 100644 --- a/DP/LongestIncreasingSubsequence.py.md +++ b/DP/LongestIncreasingSubsequence.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md index cac5fd0..cf94d0b 100644 --- a/Geometry/RotateLeft.py.md +++ b/Geometry/RotateLeft.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md index 43fc736..80a07cb 100644 --- a/Geometry/RotateReverse.py.md +++ b/Geometry/RotateReverse.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md index 0c70c05..0ca0ac8 100644 --- a/Geometry/RotateRight.py.md +++ b/Geometry/RotateRight.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md index 963072c..210d949 100644 --- a/Geometry/RotateTranspose.py.md +++ b/Geometry/RotateTranspose.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md index 6783eba..b19c207 100644 --- a/Geometry/SharedPoint.py.md +++ b/Geometry/SharedPoint.py.md @@ -10,9 +10,11 @@ data: links: - https://atcoder.jp/contests/abc259/submissions/33150317 - https://atcoder.jp/contests/abc259/tasks/abc259_d - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md index c47f803..ad8503e 100644 --- a/Graph/BellmanFord.py.md +++ b/Graph/BellmanFord.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md index f9e26b2..3483459 100644 --- a/Graph/EulerTour.py.md +++ b/Graph/EulerTour.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 33d039c..521b201 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -11,9 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md index c52f798..72a86d8 100644 --- a/Graph/LowestCommonAncestor.py.md +++ b/Graph/LowestCommonAncestor.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md index 5ba5ee2..b380f4f 100644 --- a/Graph/Prim.py.md +++ b/Graph/Prim.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md index 63bfc4f..860d013 100644 --- a/Graph/StronglyConnectedComponent.py.md +++ b/Graph/StronglyConnectedComponent.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md index 0ba0302..bb38a99 100644 --- a/Graph/TopologicalSort.py.md +++ b/Graph/TopologicalSort.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ diff --git a/Graph/dijkstra.py.md b/Graph/dijkstra.py.md index a17065f..40e727c 100644 --- a/Graph/dijkstra.py.md +++ b/Graph/dijkstra.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int) -> list:\n \ \ INF = 10 ** 18\n dist = [INF] * n\n dist[s] = 0\n q = [(0, s)]\n \ diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md index 4c3e77f..6907727 100644 --- a/Graph/warshall_floyd.py.md +++ b/Graph/warshall_floyd.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ \ for i in range(n):\n for j in range(n):\n dist[i][j]\ diff --git a/MathLibrary/BinaryToDecimal.py.md b/MathLibrary/BinaryToDecimal.py.md index c7cc517..faccbc1 100644 --- a/MathLibrary/BinaryToDecimal.py.md +++ b/MathLibrary/BinaryToDecimal.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ diff --git a/MathLibrary/CumulativeSum.py.md b/MathLibrary/CumulativeSum.py.md index e02e1fa..0362660 100644 --- a/MathLibrary/CumulativeSum.py.md +++ b/MathLibrary/CumulativeSum.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ diff --git a/MathLibrary/DecimalToBinary.py.md b/MathLibrary/DecimalToBinary.py.md index d1cdd1c..57cca3a 100644 --- a/MathLibrary/DecimalToBinary.py.md +++ b/MathLibrary/DecimalToBinary.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ diff --git a/MathLibrary/DigitSum_int.py.md b/MathLibrary/DigitSum_int.py.md index e2ad715..659e18a 100644 --- a/MathLibrary/DigitSum_int.py.md +++ b/MathLibrary/DigitSum_int.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ diff --git a/MathLibrary/DigitSum_str.py.md b/MathLibrary/DigitSum_str.py.md index 028225d..3e6ed9c 100644 --- a/MathLibrary/DigitSum_str.py.md +++ b/MathLibrary/DigitSum_str.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ diff --git a/MathLibrary/ExtGCD.py.md b/MathLibrary/ExtGCD.py.md index 072c196..ea0a216 100644 --- a/MathLibrary/ExtGCD.py.md +++ b/MathLibrary/ExtGCD.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md index 0bcbdb3..75c9517 100644 --- a/MathLibrary/Factorization.py.md +++ b/MathLibrary/Factorization.py.md @@ -6,17 +6,16 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/1737.test.py title: Test/yukicoder/1737.test.py - - icon: ':heavy_check_mark:' - path: Test/yukicoder/847.test.py - title: Test/yukicoder/847.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ @@ -31,7 +30,6 @@ data: timestamp: '2022-08-11 00:02:49+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/847.test.py - Test/yukicoder/1737.test.py documentation_of: MathLibrary/Factorization.py layout: document diff --git a/MathLibrary/FromFloatToInt.py.md b/MathLibrary/FromFloatToInt.py.md index ea184f7..0da2086 100644 --- a/MathLibrary/FromFloatToInt.py.md +++ b/MathLibrary/FromFloatToInt.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ diff --git a/MathLibrary/ManhattanDistanceSearch.py.md b/MathLibrary/ManhattanDistanceSearch.py.md index 763b9d7..ae7a8b9 100644 --- a/MathLibrary/ManhattanDistanceSearch.py.md +++ b/MathLibrary/ManhattanDistanceSearch.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ diff --git a/MathLibrary/MaxCumulativeSum.py.md b/MathLibrary/MaxCumulativeSum.py.md index e83f62d..445c813 100644 --- a/MathLibrary/MaxCumulativeSum.py.md +++ b/MathLibrary/MaxCumulativeSum.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u306E\u90E8\u5206\u548C\u306E\u6700\ \u5927\u5024\u3092\u6C42\u3081\u308B\ndef MaxCumulativeSum(num_array, k): # \u914D\ diff --git a/MathLibrary/NFactorizarition.py.md b/MathLibrary/NFactorizarition.py.md index 0fbd2d0..a444fd7 100644 --- a/MathLibrary/NFactorizarition.py.md +++ b/MathLibrary/NFactorizarition.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ diff --git a/MathLibrary/PrimaryCheck.py.md b/MathLibrary/PrimaryCheck.py.md index fc5d4b7..64ed411 100644 --- a/MathLibrary/PrimaryCheck.py.md +++ b/MathLibrary/PrimaryCheck.py.md @@ -11,9 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ diff --git a/MathLibrary/SieveOfEratosthenes.py.md b/MathLibrary/SieveOfEratosthenes.py.md index d87a22c..fc6b61f 100644 --- a/MathLibrary/SieveOfEratosthenes.py.md +++ b/MathLibrary/SieveOfEratosthenes.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ diff --git a/MathLibrary/SortedMultiset.py.md b/MathLibrary/SortedMultiset.py.md index a1fc01f..d591105 100644 --- a/MathLibrary/SortedMultiset.py.md +++ b/MathLibrary/SortedMultiset.py.md @@ -11,9 +11,11 @@ data: - https://atcoder.jp/contests/abc253/tasks/abc253_c - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ diff --git a/MathLibrary/SortedSet.py.md b/MathLibrary/SortedSet.py.md index c18fa40..5d25c70 100644 --- a/MathLibrary/SortedSet.py.md +++ b/MathLibrary/SortedSet.py.md @@ -14,9 +14,11 @@ data: - https://atcoder.jp/contests/abc260/tasks/abc260_d - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ diff --git a/MathLibrary/XorToN.py.md b/MathLibrary/XorToN.py.md index a4a9675..27272b5 100644 --- a/MathLibrary/XorToN.py.md +++ b/MathLibrary/XorToN.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ diff --git a/MathLibrary/divisor.py.md b/MathLibrary/divisor.py.md index d1367fe..7a47f2c 100644 --- a/MathLibrary/divisor.py.md +++ b/MathLibrary/divisor.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def divisors(n):\n divisor = []\n for i in range(1, int(n ** 0.5) +\ \ 1):\n if n % i == 0:\n divisor.append(i)\n if i\ diff --git a/MathLibrary/doubling.py.md b/MathLibrary/doubling.py.md index de8b215..a28e175 100644 --- a/MathLibrary/doubling.py.md +++ b/MathLibrary/doubling.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ diff --git a/MathLibrary/factorization.py.md b/MathLibrary/factorization.py.md index d742a4d..b79f1c5 100644 --- a/MathLibrary/factorization.py.md +++ b/MathLibrary/factorization.py.md @@ -2,15 +2,23 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0002.test.py + title: Test/yukicoder/0002.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0847.test.py + title: Test/yukicoder/0847.test.py _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ @@ -23,8 +31,10 @@ data: path: MathLibrary/factorization.py requiredBy: [] timestamp: '2022-08-10 23:10:28+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/yukicoder/0847.test.py + - Test/yukicoder/0002.test.py documentation_of: MathLibrary/factorization.py layout: document redirect_from: diff --git a/MathLibrary/nCk.py.md b/MathLibrary/nCk.py.md index a05607f..8d183e0 100644 --- a/MathLibrary/nCk.py.md +++ b/MathLibrary/nCk.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ diff --git a/MathLibrary/nCkFactorization.py.md b/MathLibrary/nCkFactorization.py.md index 22ddcb5..fadef0e 100644 --- a/MathLibrary/nCkFactorization.py.md +++ b/MathLibrary/nCkFactorization.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ diff --git a/Other/debug.py.md b/Other/debug.py.md index 3435b0d..cd5f7cb 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md index 4880787..da075fc 100644 --- a/Search/BinarySearch.py.md +++ b/Search/BinarySearch.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def check(arg):\n if 1:\n return True\n else:\n return\ \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md index 28c3bd6..363405d 100644 --- a/Search/BitSearch.py.md +++ b/Search/BitSearch.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index e91660e..f98866b 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index ddd2c82..c983d95 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(sy: int, sx: int) -> list:\n \ \ INF = float('inf')\n dist = [[INF] * w for _ in range(h)]\n dist[sy][sx]\ diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md index 114c06c..94472a4 100644 --- a/String/BoyerMoore.py.md +++ b/String/BoyerMoore.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md index bb244cd..8cd08ea 100644 --- a/String/CoordinateCompression.py.md +++ b/String/CoordinateCompression.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md index c30c9eb..ccd851a 100644 --- a/String/RunLengthEncoding.py.md +++ b/String/RunLengthEncoding.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ diff --git a/Template/Template.py.md b/Template/Template.py.md index 1cca840..e0bb1d9 100644 --- a/Template/Template.py.md +++ b/Template/Template.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md index 8b62c5d..1aac293 100644 --- a/Template/VerifyHelperTemplate.py.md +++ b/Template/VerifyHelperTemplate.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md index bca4f49..92aec57 100644 --- a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md index bc9296c..b4d19c8 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 33e6be0..68618e8 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -13,9 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index c105e96..4a1a2ae 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md index ca2d9ae..f26d60f 100644 --- a/Test/AOJ/DSL/DSL_1_A.test.py.md +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -13,9 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index 6c33ef8..f13d2ab 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md index a418f32..05ca683 100644 --- a/Test/AOJ/Volume0/0000.test.py.md +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index 087cc00..d647b45 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ diff --git a/Test/AOJ/hoge/hoge.py.md b/Test/AOJ/hoge/hoge.py.md index a3b2b39..b8e386f 100644 --- a/Test/AOJ/hoge/hoge.py.md +++ b/Test/AOJ/hoge/hoge.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: '' dependsOn: [] diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md index a6a7eb3..e80ef09 100644 --- a/Test/yosupo/DataStructure/AssociativeArray.py.md +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/associative_array links: - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md index 7dc9ba2..efdc466 100644 --- a/Test/yosupo/DataStructure/StaticRMQ.test.py.md +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -13,9 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/staticrmq links: - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index 5e1d663..356879e 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/unionfind links: - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index 535cd8d..0b31d7d 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/aplusb links: - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index 195b805..76bbf8d 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/many_aplusb links: - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md new file mode 100644 index 0000000..5c8ad8e --- /dev/null +++ b/Test/yukicoder/0002.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/factorization.py + title: MathLibrary/factorization.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2 + links: + - https://yukicoder.me/problems/no/2 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ + def main() -> None:\n n = int(input())\n a = factorization.factorization(n)\n\ + \n or_ = 0\n for i in range(len(a)):\n or_ ^= a[i][1]\n\n print(\"\ + Alice\") if or_ != 0 else print(\"Bob\")\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: + - MathLibrary/factorization.py + isVerificationFile: true + path: Test/yukicoder/0002.test.py + requiredBy: [] + timestamp: '2023-04-18 14:48:46+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0002.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0002.test.py +- /verify/Test/yukicoder/0002.test.py.html +title: Test/yukicoder/0002.test.py +--- diff --git a/Test/yukicoder/182.test.py.md b/Test/yukicoder/0182.test.py.md similarity index 69% rename from Test/yukicoder/182.test.py.md rename to Test/yukicoder/0182.test.py.md index 48be069..4c800ee 100644 --- a/Test/yukicoder/182.test.py.md +++ b/Test/yukicoder/0182.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/182 links: - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ @@ -20,15 +22,15 @@ data: \ in d.values():\n ans += i == 1\n\nprint(ans)" dependsOn: [] isVerificationFile: true - path: Test/yukicoder/182.test.py + path: Test/yukicoder/0182.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] -documentation_of: Test/yukicoder/182.test.py +documentation_of: Test/yukicoder/0182.test.py layout: document redirect_from: -- /verify/Test/yukicoder/182.test.py -- /verify/Test/yukicoder/182.test.py.html -title: Test/yukicoder/182.test.py +- /verify/Test/yukicoder/0182.test.py +- /verify/Test/yukicoder/0182.test.py.html +title: Test/yukicoder/0182.test.py --- diff --git a/Test/yukicoder/677.test.py.md b/Test/yukicoder/0677.test.py.md similarity index 65% rename from Test/yukicoder/677.test.py.md rename to Test/yukicoder/0677.test.py.md index 2af627d..9c8bbcf 100644 --- a/Test/yukicoder/677.test.py.md +++ b/Test/yukicoder/0677.test.py.md @@ -10,24 +10,26 @@ data: PROBLEM: https://yukicoder.me/problems/no/677 links: - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ \ ans.append(2 ** i * 5 ** j)\n\nprint(*sorted(ans), sep='\\n')" dependsOn: [] isVerificationFile: true - path: Test/yukicoder/677.test.py + path: Test/yukicoder/0677.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-04-18 14:48:46+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] -documentation_of: Test/yukicoder/677.test.py +documentation_of: Test/yukicoder/0677.test.py layout: document redirect_from: -- /verify/Test/yukicoder/677.test.py -- /verify/Test/yukicoder/677.test.py.html -title: Test/yukicoder/677.test.py +- /verify/Test/yukicoder/0677.test.py +- /verify/Test/yukicoder/0677.test.py.html +title: Test/yukicoder/0677.test.py --- diff --git a/Test/yukicoder/847.test.py.md b/Test/yukicoder/0847.test.py.md similarity index 67% rename from Test/yukicoder/847.test.py.md rename to Test/yukicoder/0847.test.py.md index 1705b8a..00aa7da 100644 --- a/Test/yukicoder/847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -2,8 +2,8 @@ data: _extendedDependsOn: - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py + path: MathLibrary/factorization.py + title: MathLibrary/factorization.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -13,31 +13,33 @@ data: PROBLEM: https://yukicoder.me/problems/no/847 links: - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\n\ + \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ def dfs(a: list, now: int):\n \n global ans\n\n if len(a) == l and now\ \ <= m:\n ans += 1\n return\n\n for i in range(fac[len(a)][1]\ \ + 1):\n\n now *= fac[len(a)][0] ** i\n\n if now <= m:\n \ \ dfs(a + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n\ - \ return\n\nn, k, m = map(int, input().split())\n\nfac = Factorization.factorization(n)\n\ + \ return\n\nn, k, m = map(int, input().split())\n\nfac = factorization.factorization(n)\n\ l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ print(ans)" dependsOn: - - MathLibrary/Factorization.py + - MathLibrary/factorization.py isVerificationFile: true - path: Test/yukicoder/847.test.py + path: Test/yukicoder/0847.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-04-18 14:48:46+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] -documentation_of: Test/yukicoder/847.test.py +documentation_of: Test/yukicoder/0847.test.py layout: document redirect_from: -- /verify/Test/yukicoder/847.test.py -- /verify/Test/yukicoder/847.test.py.html -title: Test/yukicoder/847.test.py +- /verify/Test/yukicoder/0847.test.py +- /verify/Test/yukicoder/0847.test.py.html +title: Test/yukicoder/0847.test.py --- diff --git a/Test/yukicoder/1009.test.py.md b/Test/yukicoder/1009.test.py.md index 472c07f..c1a0c1c 100644 --- a/Test/yukicoder/1009.test.py.md +++ b/Test/yukicoder/1009.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1009 links: - https://yukicoder.me/problems/no/1009 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: '# verification-helper: PROBLEM https://yukicoder.me/problems/no/1009 diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md index 6203489..d311594 100644 --- a/Test/yukicoder/1639.test.py.md +++ b/Test/yukicoder/1639.test.py.md @@ -13,9 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1639 links: - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index ccbeda4..3d2f820 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -13,9 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1737 links: - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index cf8eea7..13c7377 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -10,9 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2034 links: - https://yukicoder.me/problems/no/2034 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index 8948fc3..40b2655 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md index 70885c3..0b0a138 100644 --- a/Tree/FindCenter.py.md +++ b/Tree/FindCenter.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md index 995283a..f903c4f 100644 --- a/Tree/FindDiameter.py.md +++ b/Tree/FindDiameter.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md index 044cbc3..19cf627 100644 --- a/Tree/LazySegTree.py.md +++ b/Tree/LazySegTree.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index c5d80bc..1bbf271 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -11,9 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md index 7a98e5a..c7aad8e 100644 --- a/Tree/SegTree.py.md +++ b/Tree/SegTree.py.md @@ -8,9 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index c34b275..463efd2 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -11,9 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n File \"/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py\"\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class UnionFind:\n def __init__(self, n):\n self.n = n\n \ \ self.p = [-1] * n\n\n\n def leader(self, a):\n while self.p[a] >=\ diff --git a/index.md b/index.md index 7c1edce..928d2f0 100644 --- a/index.md +++ b/index.md @@ -111,7 +111,7 @@ data: - icon: ':warning:' path: MathLibrary/doubling.py title: MathLibrary/doubling.py - - icon: ':warning:' + - icon: ':heavy_check_mark:' path: MathLibrary/factorization.py title: MathLibrary/factorization.py - icon: ':warning:' @@ -242,6 +242,18 @@ data: title: Test/yosupo/Sample/ManyA+B.test.py - name: Test/yukicoder pages: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0002.test.py + title: Test/yukicoder/0002.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0182.test.py + title: Test/yukicoder/0182.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0677.test.py + title: Test/yukicoder/0677.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0847.test.py + title: Test/yukicoder/0847.test.py - icon: ':x:' path: Test/yukicoder/1009.test.py title: Test/yukicoder/1009.test.py @@ -251,17 +263,8 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/1737.test.py title: Test/yukicoder/1737.test.py - - icon: ':heavy_check_mark:' - path: Test/yukicoder/182.test.py - title: Test/yukicoder/182.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/2034.test.py title: Test/yukicoder/2034.test.py - - icon: ':heavy_check_mark:' - path: Test/yukicoder/677.test.py - title: Test/yukicoder/677.test.py - - icon: ':heavy_check_mark:' - path: Test/yukicoder/847.test.py - title: Test/yukicoder/847.test.py layout: toppage --- From 9b40beaa289d60ba8cfa6b764209b2e414c5ada4 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 18 Apr 2023 08:17:28 +0000 Subject: [PATCH 08/38] [auto-verifier] docs commit 5261a75a2f7757d234c18838bb6cb266205efdab --- MathLibrary/Factorization.py.md | 40 ------------------------------ MathLibrary/factorization.py.md | 44 --------------------------------- Test/yukicoder/0002.test.py.md | 8 ++---- Test/yukicoder/0847.test.py.md | 8 ++---- Test/yukicoder/1737.test.py.md | 8 ++---- index.md | 6 ----- 6 files changed, 6 insertions(+), 108 deletions(-) delete mode 100644 MathLibrary/Factorization.py.md delete mode 100644 MathLibrary/factorization.py.md diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md deleted file mode 100644 index 75c9517..0000000 --- a/MathLibrary/Factorization.py.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: - - icon: ':heavy_check_mark:' - path: Test/yukicoder/1737.test.py - title: Test/yukicoder/1737.test.py - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ - \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ - \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ - \ while tmp % i == 0:\n cnt += 1\n tmp\ - \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ - \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ - \n\nif __name__ == \"__main\":\n main()" - dependsOn: [] - isVerificationFile: false - path: MathLibrary/Factorization.py - requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' - verificationStatus: LIBRARY_ALL_AC - verifiedWith: - - Test/yukicoder/1737.test.py -documentation_of: MathLibrary/Factorization.py -layout: document -redirect_from: -- /library/MathLibrary/Factorization.py -- /library/MathLibrary/Factorization.py.html -title: MathLibrary/Factorization.py ---- diff --git a/MathLibrary/factorization.py.md b/MathLibrary/factorization.py.md deleted file mode 100644 index b79f1c5..0000000 --- a/MathLibrary/factorization.py.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: - - icon: ':heavy_check_mark:' - path: Test/yukicoder/0002.test.py - title: Test/yukicoder/0002.test.py - - icon: ':heavy_check_mark:' - path: Test/yukicoder/0847.test.py - title: Test/yukicoder/0847.test.py - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' - attributes: - links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ - \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ - \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ - \ while tmp % i == 0:\n cnt += 1\n tmp\ - \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ - \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ - \n\nif __name__ == \"__main\":\n main()" - dependsOn: [] - isVerificationFile: false - path: MathLibrary/factorization.py - requiredBy: [] - timestamp: '2022-08-10 23:10:28+09:00' - verificationStatus: LIBRARY_ALL_AC - verifiedWith: - - Test/yukicoder/0847.test.py - - Test/yukicoder/0002.test.py -documentation_of: MathLibrary/factorization.py -layout: document -redirect_from: -- /library/MathLibrary/factorization.py -- /library/MathLibrary/factorization.py.html -title: MathLibrary/factorization.py ---- diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 5c8ad8e..3375088 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -1,9 +1,6 @@ --- data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/factorization.py - title: MathLibrary/factorization.py + _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -25,8 +22,7 @@ data: \n or_ = 0\n for i in range(len(a)):\n or_ ^= a[i][1]\n\n print(\"\ Alice\") if or_ != 0 else print(\"Bob\")\n\n\nif __name__ == \"__main__\":\n \ \ main()" - dependsOn: - - MathLibrary/factorization.py + dependsOn: [] isVerificationFile: true path: Test/yukicoder/0002.test.py requiredBy: [] diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index 00aa7da..7ce7e9e 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -1,9 +1,6 @@ --- data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/factorization.py - title: MathLibrary/factorization.py + _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -28,8 +25,7 @@ data: \ return\n\nn, k, m = map(int, input().split())\n\nfac = factorization.factorization(n)\n\ l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ print(ans)" - dependsOn: - - MathLibrary/factorization.py + dependsOn: [] isVerificationFile: true path: Test/yukicoder/0847.test.py requiredBy: [] diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 3d2f820..472c98b 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -1,9 +1,6 @@ --- data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py + _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -23,8 +20,7 @@ data: import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" - dependsOn: - - MathLibrary/Factorization.py + dependsOn: [] isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] diff --git a/index.md b/index.md index 928d2f0..1aa4cab 100644 --- a/index.md +++ b/index.md @@ -75,9 +75,6 @@ data: - icon: ':warning:' path: MathLibrary/ExtGCD.py title: MathLibrary/ExtGCD.py - - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py - icon: ':warning:' path: MathLibrary/FromFloatToInt.py title: MathLibrary/FromFloatToInt.py @@ -111,9 +108,6 @@ data: - icon: ':warning:' path: MathLibrary/doubling.py title: MathLibrary/doubling.py - - icon: ':heavy_check_mark:' - path: MathLibrary/factorization.py - title: MathLibrary/factorization.py - icon: ':warning:' path: MathLibrary/nCk.py title: MathLibrary/nCk.py From be372620b202e424e7f875fa8907d2db3e36193b Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 18 Apr 2023 11:43:24 +0000 Subject: [PATCH 09/38] [auto-verifier] docs commit 75ad85833fd0f5d4a7f6a81f627440a7f91f25b2 --- MathLibrary/Factorization.py.md | 40 ++++++++++++++++++++++++++++++++ Test/yukicoder/1009.test.py.md | 38 ------------------------------ Test/yukicoder/1737.test.py.md | 10 +++++--- Test/yukicoder/1808.test.py.md | 41 +++++++++++++++++++++++++++++++++ index.md | 9 +++++--- 5 files changed, 94 insertions(+), 44 deletions(-) create mode 100644 MathLibrary/Factorization.py.md delete mode 100644 Test/yukicoder/1009.test.py.md create mode 100644 Test/yukicoder/1808.test.py.md diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md new file mode 100644 index 0000000..f5495e1 --- /dev/null +++ b/MathLibrary/Factorization.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1737.test.py + title: Test/yukicoder/1737.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ + \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ + \ while tmp % i == 0:\n cnt += 1\n tmp\ + \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ + \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ + \n\nif __name__ == \"__main\":\n main()" + dependsOn: [] + isVerificationFile: false + path: MathLibrary/Factorization.py + requiredBy: [] + timestamp: '2023-04-18 17:15:42+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/yukicoder/1737.test.py +documentation_of: MathLibrary/Factorization.py +layout: document +redirect_from: +- /library/MathLibrary/Factorization.py +- /library/MathLibrary/Factorization.py.html +title: MathLibrary/Factorization.py +--- diff --git a/Test/yukicoder/1009.test.py.md b/Test/yukicoder/1009.test.py.md deleted file mode 100644 index c1a0c1c..0000000 --- a/Test/yukicoder/1009.test.py.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: true - _pathExtension: py - _verificationStatusIcon: ':x:' - attributes: - PROBLEM: https://yukicoder.me/problems/no/1009 - links: - - https://yukicoder.me/problems/no/1009 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ - \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: '# verification-helper: PROBLEM https://yukicoder.me/problems/no/1009 - - - a, b = map(int, input().split()) - - print((b - a) ** 3 / 6)' - dependsOn: [] - isVerificationFile: true - path: Test/yukicoder/1009.test.py - requiredBy: [] - timestamp: '2022-08-30 22:36:33+09:00' - verificationStatus: TEST_WRONG_ANSWER - verifiedWith: [] -documentation_of: Test/yukicoder/1009.test.py -layout: document -redirect_from: -- /verify/Test/yukicoder/1009.test.py -- /verify/Test/yukicoder/1009.test.py.html -title: Test/yukicoder/1009.test.py ---- diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 472c98b..15101b4 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -1,6 +1,9 @@ --- data: - _extendedDependsOn: [] + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -20,11 +23,12 @@ data: import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" - dependsOn: [] + dependsOn: + - MathLibrary/Factorization.py isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-04-18 17:15:42+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/1737.test.py diff --git a/Test/yukicoder/1808.test.py.md b/Test/yukicoder/1808.test.py.md new file mode 100644 index 0000000..fd38609 --- /dev/null +++ b/Test/yukicoder/1808.test.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1808 + links: + - https://yukicoder.me/problems/no/1808 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1808\n\n\ + def is_ok(k: int) -> bool:\n check = True\n cnt = 0\n for i in range(n):\n\ + \ cnt += a[i]\n if cnt >= k * (i + 1): continue\n check =\ + \ False\n\n return check\n\n\ndef binary_search(left: int, right: int) -> int:\n\ + \ while right - left > 1:\n mid = (left + right) // 2\n if is_ok(mid):\n\ + \ left = mid\n else:\n right = mid\n\n return\ + \ left\n\n\ndef main():\n global n, a\n\n n, m = map(int, input().split())\n\ + \ a = list(map(int, input().split()))\n\n print(binary_search(-1, 10**18)\ + \ // m)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1808.test.py + requiredBy: [] + timestamp: '2023-04-18 20:40:05+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1808.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1808.test.py +- /verify/Test/yukicoder/1808.test.py.html +title: Test/yukicoder/1808.test.py +--- diff --git a/index.md b/index.md index 1aa4cab..68234f8 100644 --- a/index.md +++ b/index.md @@ -75,6 +75,9 @@ data: - icon: ':warning:' path: MathLibrary/ExtGCD.py title: MathLibrary/ExtGCD.py + - icon: ':heavy_check_mark:' + path: MathLibrary/Factorization.py + title: MathLibrary/Factorization.py - icon: ':warning:' path: MathLibrary/FromFloatToInt.py title: MathLibrary/FromFloatToInt.py @@ -248,15 +251,15 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py - - icon: ':x:' - path: Test/yukicoder/1009.test.py - title: Test/yukicoder/1009.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1639.test.py title: Test/yukicoder/1639.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1737.test.py title: Test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1808.test.py + title: Test/yukicoder/1808.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/2034.test.py title: Test/yukicoder/2034.test.py From e634843b5a17002c0e8a3a92235610a45b171374 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 21 Apr 2023 05:38:27 +0000 Subject: [PATCH 10/38] [auto-verifier] docs commit 86a1f641393b676f0ba96fd5648f840e28b2c895 --- Search/BreadthFirstSearch_grid.py.md | 23 ++++++------- Test/yukicoder/0697.test.py.md | 50 ++++++++++++++++++++++++++++ index.md | 3 ++ 3 files changed, 63 insertions(+), 13 deletions(-) create mode 100644 Test/yukicoder/0697.test.py.md diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index c983d95..e6cfff1 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -14,19 +14,16 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "from collections import deque\n\ndef bfs(sy: int, sx: int) -> list:\n \ - \ INF = float('inf')\n dist = [[INF] * w for _ in range(h)]\n dist[sy][sx]\ - \ = 0\n \n for i in range(h):\n for j in range(w):\n if\ - \ grid[i][j] == '#':\n dist[i][j] = -1\n \n d = ((0, 1),\ - \ (0, -1), (1, 0), (-1, 0))\n q = deque()\n q.append((sy, sx))\n\n while\ - \ q:\n vy, vx = q.popleft()\n for dy, dx in d:\n y =\ - \ vy + dy\n x = vx + dx\n if not (0 <= x < w and 0 <= y\ - \ < h):continue\n if grid[y][x] == '#': continue\n if dist[y][x]\ - \ != INF: continue\n dist[y][x] = dist[vy][vx] + 1\n q.append((y,\ - \ x))\n\n\n return dist\n\ndef main() -> None:\n global h, w, grid\n\n \ - \ h, w = map(int, input().split())\n grid = [list(input()) for _ in range(h)]\n\ - \n dist = bfs(0, 0)\n print(*dist, sep='\\n')\n\nif __name__ == \"__main__\"\ - :\n main()" + code: "from collections import deque\n\ndef bfs(sy: int, sx: int, dist: list) ->\ + \ list:\n INF = float('inf')\n d = ((0, 1), (0, -1), (1, 0), (-1, 0))\n\ + \ q = deque()\n q.append((sy, sx))\n\n while q:\n vy, vx = q.popleft()\n\ + \ for dy, dx in d:\n y = vy + dy\n x = vx + dx\n\ + \ if not (0 <= x < w and 0 <= y < h):continue\n if grid[y][x]\ + \ == '#': continue\n if dist[y][x] != INF: continue\n dist[y][x]\ + \ = dist[vy][vx] + 1\n q.append((y, x))\n\n\n return dist\n\ndef\ + \ main() -> None:\n global h, w, grid\n\n h, w = map(int, input().split())\n\ + \ grid = [list(input()) for _ in range(h)]\n\n dist = bfs(0, 0)\n print(*dist,\ + \ sep='\\n')\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Search/BreadthFirstSearch_grid.py diff --git a/Test/yukicoder/0697.test.py.md b/Test/yukicoder/0697.test.py.md new file mode 100644 index 0000000..c195b3a --- /dev/null +++ b/Test/yukicoder/0697.test.py.md @@ -0,0 +1,50 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/697 + links: + - https://yukicoder.me/problems/no/697 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/697\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom collections import deque\n\nh, w =\ + \ map(int, input().split())\na = [list(map(int, input().split())) for _ in range(h)]\n\ + \n# dist[i][j] := INF -> \u6C60\u3067\u307E\u3060\u898B\u3066\u306A\u3044, -1\ + \ -> \u5730\u9762\u3067\u901A\u308C\u306A\u3044\ndist = [[-1] * w for _ in range(h)]\n\ + for i in range(h):\n for j in range(w):\n if a[i][j]:\n dist[i][j]\ + \ = 0\n\ncnt = 1 # \u4ECA\u898B\u3066\u3044\u308B\u6C60\u306E\u756A\u53F7\nq =\ + \ deque()\nfor i in range(h):\n for j in range(w):\n if a[i][j]:\n \ + \ q.append((i, j))\n dist[i][j] = cnt\n break\n\ + \ break\n\nd = ((1, 0), (-1, 0), (0, 1), (0, -1))\nfor i in range(h):\n \ + \ for j in range(w):\n if not (dist[i][j] == 0 or dist[i][j] == cnt): continue\n\ + \ if dist[i][j] == 0:\n q.append((i, j))\n while q:\n\ + \ vy, vx = q.popleft()\n dist[vy][vx] = cnt\n \ + \ for dy, dx in d:\n y = vy + dy\n x = vx + dx\n\ + \ if not (0 <= x < w and 0 <= y < h): continue\n \ + \ if dist[y][x] != 0: continue\n dist[y][x] = dist[vy][vx]\n \ + \ q.append((y, x))\n cnt += 1\n\nans = 0\nfor i in range(h):\n\ + \ for j in range(w):\n ans = max(ans, dist[i][j])\n\nprint(ans)" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0697.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0697.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0697.test.py +- /verify/Test/yukicoder/0697.test.py.html +title: Test/yukicoder/0697.test.py +--- diff --git a/index.md b/index.md index 68234f8..7a10518 100644 --- a/index.md +++ b/index.md @@ -248,6 +248,9 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0677.test.py title: Test/yukicoder/0677.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0697.test.py + title: Test/yukicoder/0697.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py From df13741bdbde950107dc69f374461b9ee856ae3b Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 21 Apr 2023 09:33:28 +0000 Subject: [PATCH 11/38] [auto-verifier] docs commit 63047ad9b1309b5893ccfc5cefa7ae4aeecc50c3 --- MathLibrary/divisor.py.md | 35 ----------------------------------- index.md | 3 --- 2 files changed, 38 deletions(-) delete mode 100644 MathLibrary/divisor.py.md diff --git a/MathLibrary/divisor.py.md b/MathLibrary/divisor.py.md deleted file mode 100644 index 7a47f2c..0000000 --- a/MathLibrary/divisor.py.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -data: - _extendedDependsOn: [] - _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false - _pathExtension: py - _verificationStatusIcon: ':warning:' - attributes: - links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ - , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ - \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ - \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ - , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "def divisors(n):\n divisor = []\n for i in range(1, int(n ** 0.5) +\ - \ 1):\n if n % i == 0:\n divisor.append(i)\n if i\ - \ != n // i:\n divisor.append(n // i)\n\n divisor.sort()\n \ - \ return divisor\n\nx = divisors(10 ** 12)\ny = divisors(136)\nprint(len(x))\n\ - print(y)" - dependsOn: [] - isVerificationFile: false - path: MathLibrary/divisor.py - requiredBy: [] - timestamp: '2021-12-06 01:43:34+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] -documentation_of: MathLibrary/divisor.py -layout: document -redirect_from: -- /library/MathLibrary/divisor.py -- /library/MathLibrary/divisor.py.html -title: MathLibrary/divisor.py ---- diff --git a/index.md b/index.md index 7a10518..07dd587 100644 --- a/index.md +++ b/index.md @@ -105,9 +105,6 @@ data: - icon: ':warning:' path: MathLibrary/XorToN.py title: MathLibrary/XorToN.py - - icon: ':warning:' - path: MathLibrary/divisor.py - title: MathLibrary/divisor.py - icon: ':warning:' path: MathLibrary/doubling.py title: MathLibrary/doubling.py From 30927a1dc6bebac511affbc4ea248f390fc5c14b Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 21 Apr 2023 09:39:11 +0000 Subject: [PATCH 12/38] [auto-verifier] docs commit 6d97abdab293614b998ffb47f90a57ffcec285f2 --- .../hoge.py.md => MathLibrary/Divisor.py.md | 32 +++++++++------ Test/AOJ/ITP1/ITP1_3_D.test.py.md | 41 +++++++++++++++++++ index.md | 13 +++--- 3 files changed, 69 insertions(+), 17 deletions(-) rename Test/AOJ/hoge/hoge.py.md => MathLibrary/Divisor.py.md (50%) create mode 100644 Test/AOJ/ITP1/ITP1_3_D.test.py.md diff --git a/Test/AOJ/hoge/hoge.py.md b/MathLibrary/Divisor.py.md similarity index 50% rename from Test/AOJ/hoge/hoge.py.md rename to MathLibrary/Divisor.py.md index b8e386f..7831306 100644 --- a/Test/AOJ/hoge/hoge.py.md +++ b/MathLibrary/Divisor.py.md @@ -2,10 +2,13 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false + _extendedVerifiedWith: + - icon: ':x:' + path: Test/AOJ/ITP1/ITP1_3_D.test.py + title: Test/AOJ/ITP1/ITP1_3_D.test.py + _isVerificationFailed: true _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':x:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -14,18 +17,23 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: '' + code: "def divisors(n):\n divisor = []\n for i in range(1, int(n ** 0.5) +\ + \ 1):\n if n % i == 0:\n divisor.append(i)\n if i\ + \ != n // i:\n divisor.append(n // i)\n\n divisor.sort()\n \ + \ return divisor\n\nx = divisors(10 ** 12)\ny = divisors(136)\nprint(len(x))\n\ + print(y)" dependsOn: [] isVerificationFile: false - path: Test/AOJ/hoge/hoge.py + path: MathLibrary/Divisor.py requiredBy: [] - timestamp: '2022-08-11 01:27:53+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] -documentation_of: Test/AOJ/hoge/hoge.py + timestamp: '2023-04-21 18:29:54+09:00' + verificationStatus: LIBRARY_ALL_WA + verifiedWith: + - Test/AOJ/ITP1/ITP1_3_D.test.py +documentation_of: MathLibrary/Divisor.py layout: document redirect_from: -- /library/Test/AOJ/hoge/hoge.py -- /library/Test/AOJ/hoge/hoge.py.html -title: Test/AOJ/hoge/hoge.py +- /library/MathLibrary/Divisor.py +- /library/MathLibrary/Divisor.py.html +title: MathLibrary/Divisor.py --- diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md new file mode 100644 index 0000000..5ac529c --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: + - icon: ':x:' + path: MathLibrary/Divisor.py + title: MathLibrary/Divisor.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ + \nimport sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Divisor\n\ + \ndef main() -> None:\n a, b, c = map(int, input().split())\n\n ans = 0\n\ + \ for i in Divisor.divisors(c):\n if a <= i <= b:\n ans +=\ + \ 1\n \n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - MathLibrary/Divisor.py + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_3_D.test.py + requiredBy: [] + timestamp: '2023-04-21 18:34:35+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_3_D.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_3_D.test.py +- /verify/Test/AOJ/ITP1/ITP1_3_D.test.py.html +title: Test/AOJ/ITP1/ITP1_3_D.test.py +--- diff --git a/index.md b/index.md index 07dd587..106fa32 100644 --- a/index.md +++ b/index.md @@ -72,6 +72,9 @@ data: - icon: ':warning:' path: MathLibrary/DigitSum_str.py title: MathLibrary/DigitSum_str.py + - icon: ':x:' + path: MathLibrary/Divisor.py + title: MathLibrary/Divisor.py - icon: ':warning:' path: MathLibrary/ExtGCD.py title: MathLibrary/ExtGCD.py @@ -152,11 +155,6 @@ data: - icon: ':warning:' path: Template/VerifyHelperTemplate.py title: Template/VerifyHelperTemplate.py - - name: Test/AOJ/hoge - pages: - - icon: ':warning:' - path: Test/AOJ/hoge/hoge.py - title: Test/AOJ/hoge/hoge.py - name: Test/yosupo/DataStructure pages: - icon: ':warning:' @@ -210,6 +208,11 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/GRL/GRL_1_B.test.py title: Test/AOJ/GRL/GRL_1_B.test.py + - name: Test/AOJ/ITP1 + pages: + - icon: ':x:' + path: Test/AOJ/ITP1/ITP1_3_D.test.py + title: Test/AOJ/ITP1/ITP1_3_D.test.py - name: Test/AOJ/Volume0 pages: - icon: ':heavy_check_mark:' From 46e75667b5d2d0b900e29baf3390487d3bb5b653 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 21 Apr 2023 09:46:35 +0000 Subject: [PATCH 13/38] [auto-verifier] docs commit 1882f28ec5827cdcf153af608a8852e2ee43bebd --- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index 5ac529c..11baad3 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -20,7 +20,7 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ - \nimport sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Divisor\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import Divisor\n\ \ndef main() -> None:\n a, b, c = map(int, input().split())\n\n ans = 0\n\ \ for i in Divisor.divisors(c):\n if a <= i <= b:\n ans +=\ \ 1\n \n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" @@ -29,7 +29,7 @@ data: isVerificationFile: true path: Test/AOJ/ITP1/ITP1_3_D.test.py requiredBy: [] - timestamp: '2023-04-21 18:34:35+09:00' + timestamp: '2023-04-21 18:41:50+09:00' verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/AOJ/ITP1/ITP1_3_D.test.py From 788a69921ab05c24b2fbd4f9db2ad60839a01ff9 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 24 Apr 2023 01:16:39 +0000 Subject: [PATCH 14/38] [auto-verifier] docs commit 94d199584f9f3cb76be930947d524fcc919f2316 --- MathLibrary/Divisor.py.md | 19 +++++++++---------- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 10 +++++----- index.md | 4 ++-- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/MathLibrary/Divisor.py.md b/MathLibrary/Divisor.py.md index 7831306..28bb673 100644 --- a/MathLibrary/Divisor.py.md +++ b/MathLibrary/Divisor.py.md @@ -3,12 +3,12 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -17,17 +17,16 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "def divisors(n):\n divisor = []\n for i in range(1, int(n ** 0.5) +\ - \ 1):\n if n % i == 0:\n divisor.append(i)\n if i\ - \ != n // i:\n divisor.append(n // i)\n\n divisor.sort()\n \ - \ return divisor\n\nx = divisors(10 ** 12)\ny = divisors(136)\nprint(len(x))\n\ - print(y)" + code: "def divisors(n: int) -> list:\n divisor = []\n for i in range(1, int(n**0.5)\ + \ + 1):\n if n % i == 0:\n divisor.append(i)\n if\ + \ i != n // i:\n divisor.append(n // i)\n\n divisor.sort()\n\ + \ return divisor" dependsOn: [] isVerificationFile: false path: MathLibrary/Divisor.py requiredBy: [] - timestamp: '2023-04-21 18:29:54+09:00' - verificationStatus: LIBRARY_ALL_WA + timestamp: '2023-04-24 10:12:14+09:00' + verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/ITP1/ITP1_3_D.test.py documentation_of: MathLibrary/Divisor.py diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index 11baad3..de270d7 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -1,14 +1,14 @@ --- data: _extendedDependsOn: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: MathLibrary/Divisor.py title: MathLibrary/Divisor.py _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D links: @@ -29,8 +29,8 @@ data: isVerificationFile: true path: Test/AOJ/ITP1/ITP1_3_D.test.py requiredBy: [] - timestamp: '2023-04-21 18:41:50+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-04-24 10:12:14+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ITP1/ITP1_3_D.test.py layout: document diff --git a/index.md b/index.md index 106fa32..b158e9a 100644 --- a/index.md +++ b/index.md @@ -72,7 +72,7 @@ data: - icon: ':warning:' path: MathLibrary/DigitSum_str.py title: MathLibrary/DigitSum_str.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: MathLibrary/Divisor.py title: MathLibrary/Divisor.py - icon: ':warning:' @@ -210,7 +210,7 @@ data: title: Test/AOJ/GRL/GRL_1_B.test.py - name: Test/AOJ/ITP1 pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py - name: Test/AOJ/Volume0 From 2dec84ebe97ae2a6e743f3ad1f6de3e215e2c016 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 24 Apr 2023 06:09:13 +0000 Subject: [PATCH 15/38] [auto-verifier] docs commit c358cfd462de063025c21205b426e80656f7f26b --- Graph/dijkstra.py.md | 13 ++++++----- Test/AOJ/GRL/GRL_1_A.test.py.md | 39 +++++++++++++++++++++++++++++++++ Test/AOJ/GRL/GRL_1_B.test.py.md | 2 +- Test/yukicoder/2034.test.py.md | 6 ++--- index.md | 5 ++++- 5 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 Test/AOJ/GRL/GRL_1_A.test.py.md diff --git a/Graph/dijkstra.py.md b/Graph/dijkstra.py.md index 40e727c..ceb77ec 100644 --- a/Graph/dijkstra.py.md +++ b/Graph/dijkstra.py.md @@ -14,14 +14,15 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int) -> list:\n \ - \ INF = 10 ** 18\n dist = [INF] * n\n dist[s] = 0\n q = [(0, s)]\n \ - \ while q:\n pre = heappop(q)[1]\n for nxt, cost in g[pre]:\n\ + code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int, g: list, INF=10**18)\ + \ -> list:\n n = len(g)\n dist = [INF] * n\n dist[s] = 0\n q = [(0,\ + \ s)]\n while q:\n pre = heappop(q)[1]\n for nxt, cost in g[pre]:\n\ \ if dist[nxt] < dist[pre] + cost: continue\n dist[nxt]\ \ = dist[pre] + cost\n heappush(q, (dist[nxt], nxt))\n\n return\ - \ dist\n\nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nfor _\ - \ in range(m):\n x, y, cost = map(int,input().split())\n x -= 1\n y -=\ - \ 1\n g[x].append((y, cost))\n g[y].append((x, cost))\n\nd = dijkstra(0)" + \ dist\n\n\ndef main():\n n, m = map(int,input().split())\n g = [[] for\ + \ _ in range(n)]\n for _ in range(m):\n x, y, cost = map(int,input().split())\n\ + \ x -= 1\n y -= 1\n g[x].append((y, cost))\n g[y].append((x,\ + \ cost))\n\n d = dijkstra(0, g)\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Graph/dijkstra.py diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md new file mode 100644 index 0000000..ebd8782 --- /dev/null +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import Dijkstra\n\n\ + \ndef main():\n V, E, r = map(int, input().split())\n g = [[] for _ in range(V)]\n\ + \ INF = 10**18\n for _ in range(E):\n s, t, d = map(int, input().split())\n\ + \ g[s].append((t, d))\n\n dist = Dijkstra.dijkstra(r, g)\n for i\ + \ in range(V):\n print(dist[i]) if dist[i] != INF else print(\"INF\")\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/GRL/GRL_1_A.test.py + requiredBy: [] + timestamp: '2023-04-24 15:04:25+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/GRL/GRL_1_A.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/GRL/GRL_1_A.test.py +- /verify/Test/AOJ/GRL/GRL_1_A.test.py.html +title: Test/AOJ/GRL/GRL_1_A.test.py +--- diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index f13d2ab..37b3c91 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -28,7 +28,7 @@ data: \n ans = BellmanFord.bellman_ford(V, g, r)\n if ans == -1:\n print('NEGATIVE\ \ CYCLE')\n else:\n for i in range(V):\n if ans[i] == float('inf'):\n\ \ print('INF')\n else:\n print(ans[i])\n\ - \n\nif __name__ == \"__main__\":\n main()\n" + \n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/GRL/GRL_1_B.test.py diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index 13c7377..a114c80 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: false + _isVerificationFailed: true _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' + _verificationStatusIcon: ':x:' attributes: PROBLEM: https://yukicoder.me/problems/no/2034 links: @@ -26,7 +26,7 @@ data: path: Test/yukicoder/2034.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_ACCEPTED + verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/yukicoder/2034.test.py layout: document diff --git a/index.md b/index.md index b158e9a..1fe8f58 100644 --- a/index.md +++ b/index.md @@ -205,6 +205,9 @@ data: title: Test/AOJ/DSL/DSL_1_A.test.py - name: Test/AOJ/GRL pages: + - icon: ':x:' + path: Test/AOJ/GRL/GRL_1_A.test.py + title: Test/AOJ/GRL/GRL_1_A.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/GRL/GRL_1_B.test.py title: Test/AOJ/GRL/GRL_1_B.test.py @@ -263,7 +266,7 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/1808.test.py title: Test/yukicoder/1808.test.py - - icon: ':heavy_check_mark:' + - icon: ':x:' path: Test/yukicoder/2034.test.py title: Test/yukicoder/2034.test.py layout: toppage From 9ac90398ac36d4a5e135df98233992de5eb02de4 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 24 Apr 2023 06:24:48 +0000 Subject: [PATCH 16/38] [auto-verifier] docs commit 26c3611e9dff510662457919eeed16cb723b3acf --- Graph/{dijkstra.py.md => Dijkstra.py.md} | 10 +++++----- Test/AOJ/GRL/GRL_1_A.test.py.md | 8 ++++---- Test/yukicoder/2034.test.py.md | 6 +++--- index.md | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) rename Graph/{dijkstra.py.md => Dijkstra.py.md} (92%) diff --git a/Graph/dijkstra.py.md b/Graph/Dijkstra.py.md similarity index 92% rename from Graph/dijkstra.py.md rename to Graph/Dijkstra.py.md index ceb77ec..18fad01 100644 --- a/Graph/dijkstra.py.md +++ b/Graph/Dijkstra.py.md @@ -25,15 +25,15 @@ data: \ cost))\n\n d = dijkstra(0, g)\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false - path: Graph/dijkstra.py + path: Graph/Dijkstra.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: Graph/dijkstra.py +documentation_of: Graph/Dijkstra.py layout: document redirect_from: -- /library/Graph/dijkstra.py -- /library/Graph/dijkstra.py.html -title: Graph/dijkstra.py +- /library/Graph/Dijkstra.py +- /library/Graph/Dijkstra.py.html +title: Graph/Dijkstra.py --- diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md index ebd8782..92c29bd 100644 --- a/Test/AOJ/GRL/GRL_1_A.test.py.md +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A links: @@ -27,8 +27,8 @@ data: isVerificationFile: true path: Test/AOJ/GRL/GRL_1_A.test.py requiredBy: [] - timestamp: '2023-04-24 15:04:25+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/GRL/GRL_1_A.test.py layout: document diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index a114c80..13c7377 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://yukicoder.me/problems/no/2034 links: @@ -26,7 +26,7 @@ data: path: Test/yukicoder/2034.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_WRONG_ANSWER + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/2034.test.py layout: document diff --git a/index.md b/index.md index 1fe8f58..be1f821 100644 --- a/index.md +++ b/index.md @@ -31,6 +31,9 @@ data: - icon: ':warning:' path: Graph/BellmanFord.py title: Graph/BellmanFord.py + - icon: ':warning:' + path: Graph/Dijkstra.py + title: Graph/Dijkstra.py - icon: ':warning:' path: Graph/EulerTour.py title: Graph/EulerTour.py @@ -49,9 +52,6 @@ data: - icon: ':warning:' path: Graph/TopologicalSort.py title: Graph/TopologicalSort.py - - icon: ':warning:' - path: Graph/dijkstra.py - title: Graph/dijkstra.py - icon: ':warning:' path: Graph/warshall_floyd.py title: Graph/warshall_floyd.py @@ -205,7 +205,7 @@ data: title: Test/AOJ/DSL/DSL_1_A.test.py - name: Test/AOJ/GRL pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/GRL/GRL_1_A.test.py title: Test/AOJ/GRL/GRL_1_A.test.py - icon: ':heavy_check_mark:' @@ -266,7 +266,7 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/1808.test.py title: Test/yukicoder/1808.test.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/yukicoder/2034.test.py title: Test/yukicoder/2034.test.py layout: toppage From 9c2e5888e95070c95b2c2aae669e33c6d153c966 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 28 Jun 2023 07:06:57 +0000 Subject: [PATCH 17/38] [auto-verifier] docs commit a734a776b369b4f5395f94da512ecc460196a22c --- DP/LongestCommonSubsequence.py.md | 4 +-- DP/LongestIncreasingSubsequence.py.md | 4 +-- Geometry/RotateLeft.py.md | 4 +-- Geometry/RotateReverse.py.md | 4 +-- Geometry/RotateRight.py.md | 4 +-- Geometry/RotateTranspose.py.md | 4 +-- Geometry/SharedPoint.py.md | 4 +-- Graph/BellmanFord.py.md | 4 +-- Graph/Dijkstra.py.md | 4 +-- Graph/EulerTour.py.md | 4 +-- Graph/Kruskal.py.md | 4 +-- Graph/LowestCommonAncestor.py.md | 4 +-- Graph/Prim.py.md | 4 +-- Graph/StronglyConnectedComponent.py.md | 4 +-- Graph/TopologicalSort.py.md | 4 +-- Graph/warshall_floyd.py.md | 4 +-- MathLibrary/BinaryToDecimal.py.md | 4 +-- MathLibrary/CumulativeSum.py.md | 4 +-- MathLibrary/DecimalToBinary.py.md | 4 +-- MathLibrary/DigitSum_int.py.md | 4 +-- MathLibrary/DigitSum_str.py.md | 4 +-- MathLibrary/Divisor.py.md | 4 +-- MathLibrary/ExtGCD.py.md | 4 +-- MathLibrary/Factorization.py.md | 4 +-- MathLibrary/FromFloatToInt.py.md | 4 +-- MathLibrary/ManhattanDistanceSearch.py.md | 4 +-- MathLibrary/MaxCumulativeSum.py.md | 4 +-- MathLibrary/NFactorizarition.py.md | 4 +-- MathLibrary/PrimaryCheck.py.md | 4 +-- MathLibrary/SieveOfEratosthenes.py.md | 4 +-- MathLibrary/SortedMultiset.py.md | 4 +-- MathLibrary/SortedSet.py.md | 4 +-- MathLibrary/XorToN.py.md | 4 +-- MathLibrary/doubling.py.md | 4 +-- MathLibrary/nCk.py.md | 4 +-- MathLibrary/nCkFactorization.py.md | 4 +-- Other/debug.py.md | 4 +-- Search/BinarySearch.py.md | 4 +-- Search/BitSearch.py.md | 4 +-- Search/BreadthFirstSearch_graph.py.md | 4 +-- Search/BreadthFirstSearch_grid.py.md | 4 +-- String/BoyerMoore.py.md | 4 +-- String/CoordinateCompression.py.md | 4 +-- String/RunLengthEncoding.py.md | 4 +-- Template/Template.py.md | 4 +-- Template/VerifyHelperTemplate.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 4 +-- Test/AOJ/DSL/DSL_1_A.test.py.md | 4 +-- Test/AOJ/GRL/GRL_1_A.test.py.md | 4 +-- Test/AOJ/GRL/GRL_1_B.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 4 +-- Test/AOJ/Volume0/0000.test.py.md | 4 +-- Test/AOJ/Volume0/0001.test.py.md | 4 +-- Test/AOJ/Volume10/1000.test.py.md | 35 +++++++++++++++++++ .../DataStructure/AssociativeArray.py.md | 4 +-- .../yosupo/DataStructure/StaticRMQ.test.py.md | 4 +-- .../yosupo/DataStructure/Unionfind.test.py.md | 4 +-- Test/yosupo/Sample/A+B.test.py.md | 4 +-- Test/yosupo/Sample/ManyA+B.test.py.md | 4 +-- Test/yukicoder/0002.test.py.md | 4 +-- Test/yukicoder/0182.test.py.md | 4 +-- Test/yukicoder/0677.test.py.md | 4 +-- Test/yukicoder/0697.test.py.md | 4 +-- Test/yukicoder/0847.test.py.md | 4 +-- Test/yukicoder/1639.test.py.md | 4 +-- Test/yukicoder/1737.test.py.md | 4 +-- Test/yukicoder/1808.test.py.md | 4 +-- Test/yukicoder/2034.test.py.md | 4 +-- Tree/BinaryIndexedTree.py.md | 4 +-- Tree/FindCenter.py.md | 4 +-- Tree/FindDiameter.py.md | 4 +-- Tree/LazySegTree.py.md | 4 +-- Tree/RangeMinimamQuery.py.md | 4 +-- Tree/SegTree.py.md | 4 +-- Tree/UnionFindTree.py.md | 4 +-- index.md | 5 +++ 79 files changed, 194 insertions(+), 154 deletions(-) create mode 100644 Test/AOJ/Volume10/1000.test.py.md diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md index b034958..09b6335 100644 --- a/DP/LongestCommonSubsequence.py.md +++ b/DP/LongestCommonSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md index 26ade26..2f11be7 100644 --- a/DP/LongestIncreasingSubsequence.py.md +++ b/DP/LongestIncreasingSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md index cf94d0b..f11f7e0 100644 --- a/Geometry/RotateLeft.py.md +++ b/Geometry/RotateLeft.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md index 80a07cb..d6f8d11 100644 --- a/Geometry/RotateReverse.py.md +++ b/Geometry/RotateReverse.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md index 0ca0ac8..82c41ba 100644 --- a/Geometry/RotateRight.py.md +++ b/Geometry/RotateRight.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md index 210d949..514288d 100644 --- a/Geometry/RotateTranspose.py.md +++ b/Geometry/RotateTranspose.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md index b19c207..319466f 100644 --- a/Geometry/SharedPoint.py.md +++ b/Geometry/SharedPoint.py.md @@ -10,11 +10,11 @@ data: links: - https://atcoder.jp/contests/abc259/submissions/33150317 - https://atcoder.jp/contests/abc259/tasks/abc259_d - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md index ad8503e..2eec9ec 100644 --- a/Graph/BellmanFord.py.md +++ b/Graph/BellmanFord.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Graph/Dijkstra.py.md b/Graph/Dijkstra.py.md index 18fad01..81dfe16 100644 --- a/Graph/Dijkstra.py.md +++ b/Graph/Dijkstra.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int, g: list, INF=10**18)\ \ -> list:\n n = len(g)\n dist = [INF] * n\n dist[s] = 0\n q = [(0,\ diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md index 3483459..2f6a487 100644 --- a/Graph/EulerTour.py.md +++ b/Graph/EulerTour.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 521b201..32ba8a1 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md index 72a86d8..719075a 100644 --- a/Graph/LowestCommonAncestor.py.md +++ b/Graph/LowestCommonAncestor.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md index b380f4f..56fb8a9 100644 --- a/Graph/Prim.py.md +++ b/Graph/Prim.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md index 860d013..65e2f2d 100644 --- a/Graph/StronglyConnectedComponent.py.md +++ b/Graph/StronglyConnectedComponent.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md index bb38a99..86e40ae 100644 --- a/Graph/TopologicalSort.py.md +++ b/Graph/TopologicalSort.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md index 6907727..41d11be 100644 --- a/Graph/warshall_floyd.py.md +++ b/Graph/warshall_floyd.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ \ for i in range(n):\n for j in range(n):\n dist[i][j]\ diff --git a/MathLibrary/BinaryToDecimal.py.md b/MathLibrary/BinaryToDecimal.py.md index faccbc1..a04615d 100644 --- a/MathLibrary/BinaryToDecimal.py.md +++ b/MathLibrary/BinaryToDecimal.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ diff --git a/MathLibrary/CumulativeSum.py.md b/MathLibrary/CumulativeSum.py.md index 0362660..af6c9b9 100644 --- a/MathLibrary/CumulativeSum.py.md +++ b/MathLibrary/CumulativeSum.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ diff --git a/MathLibrary/DecimalToBinary.py.md b/MathLibrary/DecimalToBinary.py.md index 57cca3a..8260e16 100644 --- a/MathLibrary/DecimalToBinary.py.md +++ b/MathLibrary/DecimalToBinary.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ diff --git a/MathLibrary/DigitSum_int.py.md b/MathLibrary/DigitSum_int.py.md index 659e18a..8b2e228 100644 --- a/MathLibrary/DigitSum_int.py.md +++ b/MathLibrary/DigitSum_int.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ diff --git a/MathLibrary/DigitSum_str.py.md b/MathLibrary/DigitSum_str.py.md index 3e6ed9c..3366213 100644 --- a/MathLibrary/DigitSum_str.py.md +++ b/MathLibrary/DigitSum_str.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ diff --git a/MathLibrary/Divisor.py.md b/MathLibrary/Divisor.py.md index 28bb673..1cf4b14 100644 --- a/MathLibrary/Divisor.py.md +++ b/MathLibrary/Divisor.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def divisors(n: int) -> list:\n divisor = []\n for i in range(1, int(n**0.5)\ \ + 1):\n if n % i == 0:\n divisor.append(i)\n if\ diff --git a/MathLibrary/ExtGCD.py.md b/MathLibrary/ExtGCD.py.md index ea0a216..45c5931 100644 --- a/MathLibrary/ExtGCD.py.md +++ b/MathLibrary/ExtGCD.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ diff --git a/MathLibrary/Factorization.py.md b/MathLibrary/Factorization.py.md index f5495e1..014e41c 100644 --- a/MathLibrary/Factorization.py.md +++ b/MathLibrary/Factorization.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ diff --git a/MathLibrary/FromFloatToInt.py.md b/MathLibrary/FromFloatToInt.py.md index 0da2086..a3d9609 100644 --- a/MathLibrary/FromFloatToInt.py.md +++ b/MathLibrary/FromFloatToInt.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ diff --git a/MathLibrary/ManhattanDistanceSearch.py.md b/MathLibrary/ManhattanDistanceSearch.py.md index ae7a8b9..cecca32 100644 --- a/MathLibrary/ManhattanDistanceSearch.py.md +++ b/MathLibrary/ManhattanDistanceSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ diff --git a/MathLibrary/MaxCumulativeSum.py.md b/MathLibrary/MaxCumulativeSum.py.md index 445c813..672a89c 100644 --- a/MathLibrary/MaxCumulativeSum.py.md +++ b/MathLibrary/MaxCumulativeSum.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u306E\u90E8\u5206\u548C\u306E\u6700\ \u5927\u5024\u3092\u6C42\u3081\u308B\ndef MaxCumulativeSum(num_array, k): # \u914D\ diff --git a/MathLibrary/NFactorizarition.py.md b/MathLibrary/NFactorizarition.py.md index a444fd7..aeca520 100644 --- a/MathLibrary/NFactorizarition.py.md +++ b/MathLibrary/NFactorizarition.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ diff --git a/MathLibrary/PrimaryCheck.py.md b/MathLibrary/PrimaryCheck.py.md index 64ed411..fa98458 100644 --- a/MathLibrary/PrimaryCheck.py.md +++ b/MathLibrary/PrimaryCheck.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ diff --git a/MathLibrary/SieveOfEratosthenes.py.md b/MathLibrary/SieveOfEratosthenes.py.md index fc6b61f..0cde2c5 100644 --- a/MathLibrary/SieveOfEratosthenes.py.md +++ b/MathLibrary/SieveOfEratosthenes.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ diff --git a/MathLibrary/SortedMultiset.py.md b/MathLibrary/SortedMultiset.py.md index d591105..4412687 100644 --- a/MathLibrary/SortedMultiset.py.md +++ b/MathLibrary/SortedMultiset.py.md @@ -11,11 +11,11 @@ data: - https://atcoder.jp/contests/abc253/tasks/abc253_c - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ diff --git a/MathLibrary/SortedSet.py.md b/MathLibrary/SortedSet.py.md index 5d25c70..ea22e29 100644 --- a/MathLibrary/SortedSet.py.md +++ b/MathLibrary/SortedSet.py.md @@ -14,11 +14,11 @@ data: - https://atcoder.jp/contests/abc260/tasks/abc260_d - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ diff --git a/MathLibrary/XorToN.py.md b/MathLibrary/XorToN.py.md index 27272b5..6979066 100644 --- a/MathLibrary/XorToN.py.md +++ b/MathLibrary/XorToN.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ diff --git a/MathLibrary/doubling.py.md b/MathLibrary/doubling.py.md index a28e175..30b24a5 100644 --- a/MathLibrary/doubling.py.md +++ b/MathLibrary/doubling.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ diff --git a/MathLibrary/nCk.py.md b/MathLibrary/nCk.py.md index 8d183e0..5fde9dd 100644 --- a/MathLibrary/nCk.py.md +++ b/MathLibrary/nCk.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ diff --git a/MathLibrary/nCkFactorization.py.md b/MathLibrary/nCkFactorization.py.md index fadef0e..34fafca 100644 --- a/MathLibrary/nCkFactorization.py.md +++ b/MathLibrary/nCkFactorization.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ diff --git a/Other/debug.py.md b/Other/debug.py.md index cd5f7cb..41b3ff4 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md index da075fc..362d779 100644 --- a/Search/BinarySearch.py.md +++ b/Search/BinarySearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def check(arg):\n if 1:\n return True\n else:\n return\ \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md index 363405d..7634b87 100644 --- a/Search/BitSearch.py.md +++ b/Search/BitSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index f98866b..677c999 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index e6cfff1..535e579 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(sy: int, sx: int, dist: list) ->\ \ list:\n INF = float('inf')\n d = ((0, 1), (0, -1), (1, 0), (-1, 0))\n\ diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md index 94472a4..d4ce1b2 100644 --- a/String/BoyerMoore.py.md +++ b/String/BoyerMoore.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md index 8cd08ea..07ecdfd 100644 --- a/String/CoordinateCompression.py.md +++ b/String/CoordinateCompression.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md index ccd851a..aeb3d4b 100644 --- a/String/RunLengthEncoding.py.md +++ b/String/RunLengthEncoding.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ diff --git a/Template/Template.py.md b/Template/Template.py.md index e0bb1d9..b05b85f 100644 --- a/Template/Template.py.md +++ b/Template/Template.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md index 1aac293..b388731 100644 --- a/Template/VerifyHelperTemplate.py.md +++ b/Template/VerifyHelperTemplate.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md index 92aec57..1a9092a 100644 --- a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md index b4d19c8..76d7449 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 68618e8..19783a4 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index 4a1a2ae..3f95af8 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md index f26d60f..1374f83 100644 --- a/Test/AOJ/DSL/DSL_1_A.test.py.md +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md index 92c29bd..1b769e7 100644 --- a/Test/AOJ/GRL/GRL_1_A.test.py.md +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import Dijkstra\n\n\ diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index 37b3c91..d3ec532 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index de270d7..54c4fa9 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import Divisor\n\ diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md index 05ca683..beb9927 100644 --- a/Test/AOJ/Volume0/0000.test.py.md +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index d647b45..7e42fe6 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md new file mode 100644 index 0000000..ca85895 --- /dev/null +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ + \n\ndef main():\n try:\n a, b = map(int, input().split())\n print(a\ + \ + b)\n except:\n exit()\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume10/1000.test.py + requiredBy: [] + timestamp: '2023-06-28 16:02:03+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/Volume10/1000.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume10/1000.test.py +- /verify/Test/AOJ/Volume10/1000.test.py.html +title: Test/AOJ/Volume10/1000.test.py +--- diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md index e80ef09..04d8759 100644 --- a/Test/yosupo/DataStructure/AssociativeArray.py.md +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/associative_array links: - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md index efdc466..714d643 100644 --- a/Test/yosupo/DataStructure/StaticRMQ.test.py.md +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/staticrmq links: - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index 356879e..b4e9250 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/unionfind links: - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index 0b31d7d..d97b353 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/aplusb links: - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index 76bbf8d..7a4745c 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/many_aplusb links: - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 3375088..08c4012 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2 links: - https://yukicoder.me/problems/no/2 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ diff --git a/Test/yukicoder/0182.test.py.md b/Test/yukicoder/0182.test.py.md index 4c800ee..2b8ab8e 100644 --- a/Test/yukicoder/0182.test.py.md +++ b/Test/yukicoder/0182.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/182 links: - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0677.test.py.md b/Test/yukicoder/0677.test.py.md index 9c8bbcf..1e4b6e1 100644 --- a/Test/yukicoder/0677.test.py.md +++ b/Test/yukicoder/0677.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/677 links: - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ diff --git a/Test/yukicoder/0697.test.py.md b/Test/yukicoder/0697.test.py.md index c195b3a..bd706a2 100644 --- a/Test/yukicoder/0697.test.py.md +++ b/Test/yukicoder/0697.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/697 links: - https://yukicoder.me/problems/no/697 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/697\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom collections import deque\n\nh, w =\ diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index 7ce7e9e..ca717d7 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/847 links: - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md index d311594..12ec227 100644 --- a/Test/yukicoder/1639.test.py.md +++ b/Test/yukicoder/1639.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1639 links: - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 15101b4..c65b065 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1737 links: - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ diff --git a/Test/yukicoder/1808.test.py.md b/Test/yukicoder/1808.test.py.md index fd38609..e037fad 100644 --- a/Test/yukicoder/1808.test.py.md +++ b/Test/yukicoder/1808.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1808 links: - https://yukicoder.me/problems/no/1808 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1808\n\n\ def is_ok(k: int) -> bool:\n check = True\n cnt = 0\n for i in range(n):\n\ diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index 13c7377..3459f1d 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2034 links: - https://yukicoder.me/problems/no/2034 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index 40b2655..ba3f8e3 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md index 0b0a138..77b45b2 100644 --- a/Tree/FindCenter.py.md +++ b/Tree/FindCenter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md index f903c4f..a7d1ccc 100644 --- a/Tree/FindDiameter.py.md +++ b/Tree/FindDiameter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md index 19cf627..cc50b12 100644 --- a/Tree/LazySegTree.py.md +++ b/Tree/LazySegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index 1bbf271..7e2b799 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md index c7aad8e..1acb552 100644 --- a/Tree/SegTree.py.md +++ b/Tree/SegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index 463efd2..25a4918 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class UnionFind:\n def __init__(self, n):\n self.n = n\n \ \ self.p = [-1] * n\n\n\n def leader(self, a):\n while self.p[a] >=\ diff --git a/index.md b/index.md index be1f821..d8e39d8 100644 --- a/index.md +++ b/index.md @@ -224,6 +224,11 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume0/0001.test.py title: Test/AOJ/Volume0/0001.test.py + - name: Test/AOJ/Volume10 + pages: + - icon: ':x:' + path: Test/AOJ/Volume10/1000.test.py + title: Test/AOJ/Volume10/1000.test.py - name: Test/yosupo/DataStructure pages: - icon: ':heavy_check_mark:' From 61e708fbefe2f27a6e21d5330409db663b2f5722 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 28 Jun 2023 15:44:17 +0000 Subject: [PATCH 18/38] [auto-verifier] docs commit 75fd789bc439c4d7a9b02df01fa7369718b003a9 --- {MathLibrary => Math}/BinaryToDecimal.py.md | 12 +- {MathLibrary => Math}/CumulativeSum.py.md | 12 +- {MathLibrary => Math}/DecimalToBinary.py.md | 12 +- Math/Dice.py.md | 78 ++++++++++++ {MathLibrary => Math}/DigitSum_int.py.md | 12 +- {MathLibrary => Math}/DigitSum_str.py.md | 12 +- {MathLibrary => Math}/Divisor.py.md | 12 +- {MathLibrary => Math}/ExtGCD.py.md | 12 +- {MathLibrary => Math}/Factorization.py.md | 12 +- {MathLibrary => Math}/FromFloatToInt.py.md | 12 +- .../ManhattanDistanceSearch.py.md | 12 +- {MathLibrary => Math}/MaxCumulativeSum.py.md | 12 +- {MathLibrary => Math}/NFactorizarition.py.md | 12 +- {MathLibrary => Math}/PrimaryCheck.py.md | 24 ++-- {MathLibrary => Math}/README.md | 0 .../SieveOfEratosthenes.py.md | 12 +- {MathLibrary => Math}/SortedMultiset.py.md | 10 +- {MathLibrary => Math}/SortedSet.py.md | 10 +- {MathLibrary => Math}/XorToN.py.md | 12 +- {MathLibrary => Math}/doubling.py.md | 12 +- {MathLibrary => Math}/nCk.py.md | 18 +-- {MathLibrary => Math}/nCkFactorization.py.md | 12 +- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 8 +- Test/AOJ/ITP1/ITP1_11_A.test.py.md | 49 ++++++++ Test/AOJ/ITP1/ITP1_11_B.test.py.md | 46 +++++++ Test/AOJ/ITP1/ITP1_11_C.test.py.md | 64 ++++++++++ Test/AOJ/ITP1/ITP1_11_D.test.py.md | 66 ++++++++++ Test/AOJ/ITP1/ITP1_2_A.test.py.md | 36 ++++++ Test/AOJ/ITP1/ITP1_3_D.test.py.md | 14 +-- Test/AOJ/Volume10/1000.test.py.md | 13 +- Test/AOJ/Volume16/1640.test.py.md | 38 ++++++ .../yosupo/DataStructure/Unionfind.test.py.md | 21 ++-- Test/yosupo/Sample/A+B.test.py.md | 4 +- Test/yosupo/Sample/ManyA+B.test.py.md | 4 +- Test/yukicoder/0002.test.py.md | 14 +-- Test/yukicoder/0847.test.py.md | 20 ++-- Test/yukicoder/1737.test.py.md | 14 +-- Tree/UnionFindTree.py.md | 4 + index.md | 113 +++++++++++------- 39 files changed, 631 insertions(+), 229 deletions(-) rename {MathLibrary => Math}/BinaryToDecimal.py.md (84%) rename {MathLibrary => Math}/CumulativeSum.py.md (84%) rename {MathLibrary => Math}/DecimalToBinary.py.md (83%) create mode 100644 Math/Dice.py.md rename {MathLibrary => Math}/DigitSum_int.py.md (84%) rename {MathLibrary => Math}/DigitSum_str.py.md (83%) rename {MathLibrary => Math}/Divisor.py.md (87%) rename {MathLibrary => Math}/ExtGCD.py.md (86%) rename {MathLibrary => Math}/Factorization.py.md (86%) rename {MathLibrary => Math}/FromFloatToInt.py.md (83%) rename {MathLibrary => Math}/ManhattanDistanceSearch.py.md (90%) rename {MathLibrary => Math}/MaxCumulativeSum.py.md (88%) rename {MathLibrary => Math}/NFactorizarition.py.md (89%) rename {MathLibrary => Math}/PrimaryCheck.py.md (67%) rename {MathLibrary => Math}/README.md (100%) rename {MathLibrary => Math}/SieveOfEratosthenes.py.md (84%) rename {MathLibrary => Math}/SortedMultiset.py.md (96%) rename {MathLibrary => Math}/SortedSet.py.md (97%) rename {MathLibrary => Math}/XorToN.py.md (86%) rename {MathLibrary => Math}/doubling.py.md (93%) rename {MathLibrary => Math}/nCk.py.md (79%) rename {MathLibrary => Math}/nCkFactorization.py.md (91%) create mode 100644 Test/AOJ/ITP1/ITP1_11_A.test.py.md create mode 100644 Test/AOJ/ITP1/ITP1_11_B.test.py.md create mode 100644 Test/AOJ/ITP1/ITP1_11_C.test.py.md create mode 100644 Test/AOJ/ITP1/ITP1_11_D.test.py.md create mode 100644 Test/AOJ/ITP1/ITP1_2_A.test.py.md create mode 100644 Test/AOJ/Volume16/1640.test.py.md diff --git a/MathLibrary/BinaryToDecimal.py.md b/Math/BinaryToDecimal.py.md similarity index 84% rename from MathLibrary/BinaryToDecimal.py.md rename to Math/BinaryToDecimal.py.md index a04615d..22ab4e3 100644 --- a/MathLibrary/BinaryToDecimal.py.md +++ b/Math/BinaryToDecimal.py.md @@ -20,15 +20,15 @@ data: \nn = 101001001111101011\nans = BinaryToDecimal(n)\nprint(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/BinaryToDecimal.py + path: Math/BinaryToDecimal.py requiredBy: [] - timestamp: '2021-02-14 03:53:12+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/BinaryToDecimal.py +documentation_of: Math/BinaryToDecimal.py layout: document redirect_from: -- /library/MathLibrary/BinaryToDecimal.py -- /library/MathLibrary/BinaryToDecimal.py.html -title: MathLibrary/BinaryToDecimal.py +- /library/Math/BinaryToDecimal.py +- /library/Math/BinaryToDecimal.py.html +title: Math/BinaryToDecimal.py --- diff --git a/MathLibrary/CumulativeSum.py.md b/Math/CumulativeSum.py.md similarity index 84% rename from MathLibrary/CumulativeSum.py.md rename to Math/CumulativeSum.py.md index af6c9b9..63c51ed 100644 --- a/MathLibrary/CumulativeSum.py.md +++ b/Math/CumulativeSum.py.md @@ -20,15 +20,15 @@ data: print(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/CumulativeSum.py + path: Math/CumulativeSum.py requiredBy: [] - timestamp: '2021-02-08 02:18:34+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/CumulativeSum.py +documentation_of: Math/CumulativeSum.py layout: document redirect_from: -- /library/MathLibrary/CumulativeSum.py -- /library/MathLibrary/CumulativeSum.py.html -title: MathLibrary/CumulativeSum.py +- /library/Math/CumulativeSum.py +- /library/Math/CumulativeSum.py.html +title: Math/CumulativeSum.py --- diff --git a/MathLibrary/DecimalToBinary.py.md b/Math/DecimalToBinary.py.md similarity index 83% rename from MathLibrary/DecimalToBinary.py.md rename to Math/DecimalToBinary.py.md index 8260e16..31148ec 100644 --- a/MathLibrary/DecimalToBinary.py.md +++ b/Math/DecimalToBinary.py.md @@ -20,15 +20,15 @@ data: ans = DeciamlToBinary(n)\nprint(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/DecimalToBinary.py + path: Math/DecimalToBinary.py requiredBy: [] - timestamp: '2021-02-08 02:18:34+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/DecimalToBinary.py +documentation_of: Math/DecimalToBinary.py layout: document redirect_from: -- /library/MathLibrary/DecimalToBinary.py -- /library/MathLibrary/DecimalToBinary.py.html -title: MathLibrary/DecimalToBinary.py +- /library/Math/DecimalToBinary.py +- /library/Math/DecimalToBinary.py.html +title: Math/DecimalToBinary.py --- diff --git a/Math/Dice.py.md b/Math/Dice.py.md new file mode 100644 index 0000000..0612441 --- /dev/null +++ b/Math/Dice.py.md @@ -0,0 +1,78 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_A.test.py + title: Test/AOJ/ITP1/ITP1_11_A.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_B.test.py + title: Test/AOJ/ITP1/ITP1_11_B.test.py + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "import sys\n\nclass Dice:\n \"\"\"\u30B5\u30A4\u30B3\u30ED\u306E\u5168\ + \u3066\u306E\u72B6\u614B (up, down, front, back, left, right \u306E\u9806) (u\ + \ + d = f + b = l + r = 7 \u304C\u6210\u308A\u7ACB\u3064)\"\"\"\n state = [\n\ + \ [1, 6, 2, 5, 4, 3], [1, 6, 3, 4, 2, 5], [1, 6, 4, 3, 5, 2], [1, 6,\ + \ 5, 2, 3, 4],\n [2, 5, 1, 6, 3, 4], [2, 5, 3, 4, 6, 1], [2, 5, 4,\ + \ 3, 1, 6], [2, 5, 6, 1, 4, 3],\n [3, 4, 1, 6, 5, 2], [3, 4, 2, 5,\ + \ 1, 6], [3, 4, 5, 2, 6, 1], [3, 4, 6, 1, 2, 5],\n [4, 3, 1, 6, 2,\ + \ 5], [4, 3, 2, 5, 6, 1], [4, 3, 5, 2, 1, 6], [4, 3, 6, 1, 5, 2],\n \ + \ [5, 2, 1, 6, 4, 3], [5, 2, 3, 4, 1, 6], [5, 2, 4, 3, 6, 1], [5, 2, 6, 1, 3,\ + \ 4],\n [6, 1, 2, 5, 3, 4], [6, 1, 3, 4, 5, 2], [6, 1, 4, 3, 2, 5],\ + \ [6, 1, 5, 2, 4, 3]\n ]\n\n def __init__(self, state1: int, value1:\ + \ int, state2: int, value2: int, now_x: int, now_y: int) -> None:\n \"\"\ + \"state1 \u306E\u9762\u304C value1, state2 \u306E\u9762\u304C value2\"\"\"\n \ + \ \"\"\"u, d, f, b, l, r -> 0, 1, 2, 3, 4, 5\"\"\"\n self.now_x =\ + \ now_x\n self.now_y = now_y\n for i in range(24):\n \ + \ if Dice.state[i][state1] == value1 and Dice.state[i][state2] == value2:\n \ + \ self.u, self.d, self.f, self.b, self.l, self.r = Dice.state[i]\n\ + \ break\n else:\n print(\"Error\", file=sys.stderr)\n\ + \ exit()\n\n\n #\u4E0A\u304B\u3089\u898B\u3066y\u8EF8\u306E+\u65B9\ + \u5411\u306B\u56DE\u8EE2 (\u5F8C\u9762\u304C\u4E0B\u9762\u306B\u306A\u308B)\n\ + \ def RotateN(self) -> None:\n self.d, self.f, self.u, self.b = self.b,\ + \ self.d, self.f, self.u\n self.now_y += 1\n\n\n #\u4E0A\u304B\u3089\ + \u898B\u3066y\u8EF8\u306E-\u65B9\u5411\u306B\u56DE\u8EE2 (\u524D\u9762\u304C\u4E0B\ + \u9762\u306B\u306A\u308B)\n def RotateS(self) -> None:\n self.d, self.f,\ + \ self.u ,self.b = self.f, self.u, self.b, self.d\n self.now_y -= 1\n\n\ + \n #\u4E0A\u304B\u3089\u898B\u3066x\u8EF8\u306E+\u65B9\u5411\u306B\u56DE\u8EE2\ + \ (\u53F3\u9762\u304C\u4E0B\u9762\u306B\u306A\u308B)\n def RotateE(self) ->\ + \ None:\n self.d, self.l, self.u, self.r = self.r, self.d, self.l, self.u\n\ + \ self.now_x += 1\n\n\n # \u4E0A\u304B\u3089\u898B\u3066x\u8EF8\u306E\ + -\u65B9\u5411\u306B\u56DE\u8EE2 (\u5DE6\u9762\u304C\u4E0B\u9762\u306B\u306A\u308B\ + )\n def RotateW(self) -> None:\n self.d, self.l, self.u, self.r = self.l,\ + \ self.u, self.r, self.d\n self.now_x -= 1\n\n\n # \u524D\u304B\u3089\ + \u898B\u3066\u5DE6\u56DE\u8EE2 (\u53CD\u6642\u8A08\u56DE\u308A)\n def RotateL(self)\ + \ -> None:\n self.f, self.l, self.b, self.r = self.r, self.f, self.l, self.b\n\ + \n\n # \u524D\u304B\u3089\u898B\u3066\u53F3\u56DE\u8EE2 (\u6642\u8A08\u56DE\ + \u308A)\n def RotateR(self) -> None:\n self.f, self.l, self.b, self.r\ + \ = self.l, self.b, self.r, self.f\n \n\n def status(self) -> None:\n \ + \ # \u4E0A\u3001\u4E0B\u3001\u524D\u3001\u5F8C\u3001\u53F3\u3001\u5DE6\u3001\ + (x, y)\u3000\u306E\u9806\u3067\u8FD4\u3059\n return self.u, self.d, self.f,\ + \ self.b, self.r, self.l, self.now_x, self.now_y" + dependsOn: [] + isVerificationFile: false + path: Math/Dice.py + requiredBy: [] + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/ITP1/ITP1_11_B.test.py + - Test/AOJ/ITP1/ITP1_11_A.test.py +documentation_of: Math/Dice.py +layout: document +redirect_from: +- /library/Math/Dice.py +- /library/Math/Dice.py.html +title: Math/Dice.py +--- diff --git a/MathLibrary/DigitSum_int.py.md b/Math/DigitSum_int.py.md similarity index 84% rename from MathLibrary/DigitSum_int.py.md rename to Math/DigitSum_int.py.md index 8b2e228..ba55a64 100644 --- a/MathLibrary/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -19,15 +19,15 @@ data: \ += num % 10\n num //= 10\n\n return digit_sum\n\nprint(DigitSum(1234567890))" dependsOn: [] isVerificationFile: false - path: MathLibrary/DigitSum_int.py + path: Math/DigitSum_int.py requiredBy: [] - timestamp: '2022-05-30 00:19:38+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/DigitSum_int.py +documentation_of: Math/DigitSum_int.py layout: document redirect_from: -- /library/MathLibrary/DigitSum_int.py -- /library/MathLibrary/DigitSum_int.py.html -title: MathLibrary/DigitSum_int.py +- /library/Math/DigitSum_int.py +- /library/Math/DigitSum_int.py.html +title: Math/DigitSum_int.py --- diff --git a/MathLibrary/DigitSum_str.py.md b/Math/DigitSum_str.py.md similarity index 83% rename from MathLibrary/DigitSum_str.py.md rename to Math/DigitSum_str.py.md index 3366213..83a0e23 100644 --- a/MathLibrary/DigitSum_str.py.md +++ b/Math/DigitSum_str.py.md @@ -19,15 +19,15 @@ data: \nprint(DigitSum('1234567890'))" dependsOn: [] isVerificationFile: false - path: MathLibrary/DigitSum_str.py + path: Math/DigitSum_str.py requiredBy: [] - timestamp: '2022-05-30 00:19:38+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/DigitSum_str.py +documentation_of: Math/DigitSum_str.py layout: document redirect_from: -- /library/MathLibrary/DigitSum_str.py -- /library/MathLibrary/DigitSum_str.py.html -title: MathLibrary/DigitSum_str.py +- /library/Math/DigitSum_str.py +- /library/Math/DigitSum_str.py.html +title: Math/DigitSum_str.py --- diff --git a/MathLibrary/Divisor.py.md b/Math/Divisor.py.md similarity index 87% rename from MathLibrary/Divisor.py.md rename to Math/Divisor.py.md index 1cf4b14..b9b2a4d 100644 --- a/MathLibrary/Divisor.py.md +++ b/Math/Divisor.py.md @@ -23,16 +23,16 @@ data: \ return divisor" dependsOn: [] isVerificationFile: false - path: MathLibrary/Divisor.py + path: Math/Divisor.py requiredBy: [] - timestamp: '2023-04-24 10:12:14+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/ITP1/ITP1_3_D.test.py -documentation_of: MathLibrary/Divisor.py +documentation_of: Math/Divisor.py layout: document redirect_from: -- /library/MathLibrary/Divisor.py -- /library/MathLibrary/Divisor.py.html -title: MathLibrary/Divisor.py +- /library/Math/Divisor.py +- /library/Math/Divisor.py.html +title: Math/Divisor.py --- diff --git a/MathLibrary/ExtGCD.py.md b/Math/ExtGCD.py.md similarity index 86% rename from MathLibrary/ExtGCD.py.md rename to Math/ExtGCD.py.md index 45c5931..3ddcaa2 100644 --- a/MathLibrary/ExtGCD.py.md +++ b/Math/ExtGCD.py.md @@ -21,15 +21,15 @@ data: \ = extgcd(30, 50)\nprint(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/ExtGCD.py + path: Math/ExtGCD.py requiredBy: [] - timestamp: '2022-02-06 18:58:27+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/ExtGCD.py +documentation_of: Math/ExtGCD.py layout: document redirect_from: -- /library/MathLibrary/ExtGCD.py -- /library/MathLibrary/ExtGCD.py.html -title: MathLibrary/ExtGCD.py +- /library/Math/ExtGCD.py +- /library/Math/ExtGCD.py.html +title: Math/ExtGCD.py --- diff --git a/MathLibrary/Factorization.py.md b/Math/Factorization.py.md similarity index 86% rename from MathLibrary/Factorization.py.md rename to Math/Factorization.py.md index 014e41c..cb4bfe4 100644 --- a/MathLibrary/Factorization.py.md +++ b/Math/Factorization.py.md @@ -25,16 +25,16 @@ data: \n\nif __name__ == \"__main\":\n main()" dependsOn: [] isVerificationFile: false - path: MathLibrary/Factorization.py + path: Math/Factorization.py requiredBy: [] - timestamp: '2023-04-18 17:15:42+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yukicoder/1737.test.py -documentation_of: MathLibrary/Factorization.py +documentation_of: Math/Factorization.py layout: document redirect_from: -- /library/MathLibrary/Factorization.py -- /library/MathLibrary/Factorization.py.html -title: MathLibrary/Factorization.py +- /library/Math/Factorization.py +- /library/Math/Factorization.py.html +title: Math/Factorization.py --- diff --git a/MathLibrary/FromFloatToInt.py.md b/Math/FromFloatToInt.py.md similarity index 83% rename from MathLibrary/FromFloatToInt.py.md rename to Math/FromFloatToInt.py.md index a3d9609..87509c7 100644 --- a/MathLibrary/FromFloatToInt.py.md +++ b/Math/FromFloatToInt.py.md @@ -19,15 +19,15 @@ data: \u59CB\u306Fstr\u3067\u6E21\u3059\nx, y = FloatToInt(n)\nprint(x, y)" dependsOn: [] isVerificationFile: false - path: MathLibrary/FromFloatToInt.py + path: Math/FromFloatToInt.py requiredBy: [] - timestamp: '2021-05-01 00:46:53+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/FromFloatToInt.py +documentation_of: Math/FromFloatToInt.py layout: document redirect_from: -- /library/MathLibrary/FromFloatToInt.py -- /library/MathLibrary/FromFloatToInt.py.html -title: MathLibrary/FromFloatToInt.py +- /library/Math/FromFloatToInt.py +- /library/Math/FromFloatToInt.py.html +title: Math/FromFloatToInt.py --- diff --git a/MathLibrary/ManhattanDistanceSearch.py.md b/Math/ManhattanDistanceSearch.py.md similarity index 90% rename from MathLibrary/ManhattanDistanceSearch.py.md rename to Math/ManhattanDistanceSearch.py.md index cecca32..37a9e0c 100644 --- a/MathLibrary/ManhattanDistanceSearch.py.md +++ b/Math/ManhattanDistanceSearch.py.md @@ -38,15 +38,15 @@ data: \ for _ in range(h)]\nans = manhattan_distance(grid, k)\nprint(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/ManhattanDistanceSearch.py + path: Math/ManhattanDistanceSearch.py requiredBy: [] - timestamp: '2021-08-09 18:37:53+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/ManhattanDistanceSearch.py +documentation_of: Math/ManhattanDistanceSearch.py layout: document redirect_from: -- /library/MathLibrary/ManhattanDistanceSearch.py -- /library/MathLibrary/ManhattanDistanceSearch.py.html -title: MathLibrary/ManhattanDistanceSearch.py +- /library/Math/ManhattanDistanceSearch.py +- /library/Math/ManhattanDistanceSearch.py.html +title: Math/ManhattanDistanceSearch.py --- diff --git a/MathLibrary/MaxCumulativeSum.py.md b/Math/MaxCumulativeSum.py.md similarity index 88% rename from MathLibrary/MaxCumulativeSum.py.md rename to Math/MaxCumulativeSum.py.md index 672a89c..46d8547 100644 --- a/MathLibrary/MaxCumulativeSum.py.md +++ b/Math/MaxCumulativeSum.py.md @@ -28,15 +28,15 @@ data: \u30FB\u533A\u9593\u5E45\nprint(ans)" dependsOn: [] isVerificationFile: false - path: MathLibrary/MaxCumulativeSum.py + path: Math/MaxCumulativeSum.py requiredBy: [] - timestamp: '2021-02-08 02:18:34+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/MaxCumulativeSum.py +documentation_of: Math/MaxCumulativeSum.py layout: document redirect_from: -- /library/MathLibrary/MaxCumulativeSum.py -- /library/MathLibrary/MaxCumulativeSum.py.html -title: MathLibrary/MaxCumulativeSum.py +- /library/Math/MaxCumulativeSum.py +- /library/Math/MaxCumulativeSum.py.html +title: Math/MaxCumulativeSum.py --- diff --git a/MathLibrary/NFactorizarition.py.md b/Math/NFactorizarition.py.md similarity index 89% rename from MathLibrary/NFactorizarition.py.md rename to Math/NFactorizarition.py.md index aeca520..563a914 100644 --- a/MathLibrary/NFactorizarition.py.md +++ b/Math/NFactorizarition.py.md @@ -30,15 +30,15 @@ data: )\nfor i in range(len(num)):\n print(i, num[i])" dependsOn: [] isVerificationFile: false - path: MathLibrary/NFactorizarition.py + path: Math/NFactorizarition.py requiredBy: [] - timestamp: '2021-11-14 03:41:48+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/NFactorizarition.py +documentation_of: Math/NFactorizarition.py layout: document redirect_from: -- /library/MathLibrary/NFactorizarition.py -- /library/MathLibrary/NFactorizarition.py.html -title: MathLibrary/NFactorizarition.py +- /library/Math/NFactorizarition.py +- /library/Math/NFactorizarition.py.html +title: Math/NFactorizarition.py --- diff --git a/MathLibrary/PrimaryCheck.py.md b/Math/PrimaryCheck.py.md similarity index 67% rename from MathLibrary/PrimaryCheck.py.md rename to Math/PrimaryCheck.py.md index fa98458..ff00047 100644 --- a/MathLibrary/PrimaryCheck.py.md +++ b/Math/PrimaryCheck.py.md @@ -2,13 +2,10 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: - - icon: ':heavy_check_mark:' - path: Test/AOJ/ALDS1/ALDS1_1_C.test.py - title: Test/AOJ/ALDS1/ALDS1_1_C.test.py + _extendedVerifiedWith: [] _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' + _verificationStatusIcon: ':warning:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -22,16 +19,15 @@ data: \ return False\n\n return True" dependsOn: [] isVerificationFile: false - path: MathLibrary/PrimaryCheck.py + path: Math/PrimaryCheck.py requiredBy: [] - timestamp: '2022-08-09 16:25:06+09:00' - verificationStatus: LIBRARY_ALL_AC - verifiedWith: - - Test/AOJ/ALDS1/ALDS1_1_C.test.py -documentation_of: MathLibrary/PrimaryCheck.py + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Math/PrimaryCheck.py layout: document redirect_from: -- /library/MathLibrary/PrimaryCheck.py -- /library/MathLibrary/PrimaryCheck.py.html -title: MathLibrary/PrimaryCheck.py +- /library/Math/PrimaryCheck.py +- /library/Math/PrimaryCheck.py.html +title: Math/PrimaryCheck.py --- diff --git a/MathLibrary/README.md b/Math/README.md similarity index 100% rename from MathLibrary/README.md rename to Math/README.md diff --git a/MathLibrary/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md similarity index 84% rename from MathLibrary/SieveOfEratosthenes.py.md rename to Math/SieveOfEratosthenes.py.md index 0cde2c5..2afe8b1 100644 --- a/MathLibrary/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -22,15 +22,15 @@ data: \ # \u7D20\u6570\u306E\u5168\u5217\u6319\nprint(len(x), x)" dependsOn: [] isVerificationFile: false - path: MathLibrary/SieveOfEratosthenes.py + path: Math/SieveOfEratosthenes.py requiredBy: [] - timestamp: '2022-05-30 00:24:56+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/SieveOfEratosthenes.py +documentation_of: Math/SieveOfEratosthenes.py layout: document redirect_from: -- /library/MathLibrary/SieveOfEratosthenes.py -- /library/MathLibrary/SieveOfEratosthenes.py.html -title: MathLibrary/SieveOfEratosthenes.py +- /library/Math/SieveOfEratosthenes.py +- /library/Math/SieveOfEratosthenes.py.html +title: Math/SieveOfEratosthenes.py --- diff --git a/MathLibrary/SortedMultiset.py.md b/Math/SortedMultiset.py.md similarity index 96% rename from MathLibrary/SortedMultiset.py.md rename to Math/SortedMultiset.py.md index 4412687..7fcf247 100644 --- a/MathLibrary/SortedMultiset.py.md +++ b/Math/SortedMultiset.py.md @@ -81,15 +81,15 @@ data: \ ans += len(a)\n\n return ans" dependsOn: [] isVerificationFile: false - path: MathLibrary/SortedMultiset.py + path: Math/SortedMultiset.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/SortedMultiset.py +documentation_of: Math/SortedMultiset.py layout: document redirect_from: -- /library/MathLibrary/SortedMultiset.py -- /library/MathLibrary/SortedMultiset.py.html -title: MathLibrary/SortedMultiset.py +- /library/Math/SortedMultiset.py +- /library/Math/SortedMultiset.py.html +title: Math/SortedMultiset.py --- diff --git a/MathLibrary/SortedSet.py.md b/Math/SortedSet.py.md similarity index 97% rename from MathLibrary/SortedSet.py.md rename to Math/SortedSet.py.md index ea22e29..f96a8f1 100644 --- a/MathLibrary/SortedSet.py.md +++ b/Math/SortedSet.py.md @@ -87,15 +87,15 @@ data: \ return ans" dependsOn: [] isVerificationFile: false - path: MathLibrary/SortedSet.py + path: Math/SortedSet.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/SortedSet.py +documentation_of: Math/SortedSet.py layout: document redirect_from: -- /library/MathLibrary/SortedSet.py -- /library/MathLibrary/SortedSet.py.html -title: MathLibrary/SortedSet.py +- /library/Math/SortedSet.py +- /library/Math/SortedSet.py.html +title: Math/SortedSet.py --- diff --git a/MathLibrary/XorToN.py.md b/Math/XorToN.py.md similarity index 86% rename from MathLibrary/XorToN.py.md rename to Math/XorToN.py.md index 6979066..0fc4eb2 100644 --- a/MathLibrary/XorToN.py.md +++ b/Math/XorToN.py.md @@ -20,15 +20,15 @@ data: \ return N + 1\n \n if N % 4 == 3:\n return 0\n\nprint(XorToN(196))" dependsOn: [] isVerificationFile: false - path: MathLibrary/XorToN.py + path: Math/XorToN.py requiredBy: [] - timestamp: '2022-05-30 00:16:39+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/XorToN.py +documentation_of: Math/XorToN.py layout: document redirect_from: -- /library/MathLibrary/XorToN.py -- /library/MathLibrary/XorToN.py.html -title: MathLibrary/XorToN.py +- /library/Math/XorToN.py +- /library/Math/XorToN.py.html +title: Math/XorToN.py --- diff --git a/MathLibrary/doubling.py.md b/Math/doubling.py.md similarity index 93% rename from MathLibrary/doubling.py.md rename to Math/doubling.py.md index 30b24a5..82b069e 100644 --- a/MathLibrary/doubling.py.md +++ b/Math/doubling.py.md @@ -39,15 +39,15 @@ data: \u7E70\u308A\u8FD4\u3057\u305F\u5148\nprint(dub.get(n, k))" dependsOn: [] isVerificationFile: false - path: MathLibrary/doubling.py + path: Math/doubling.py requiredBy: [] - timestamp: '2022-02-06 18:58:27+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/doubling.py +documentation_of: Math/doubling.py layout: document redirect_from: -- /library/MathLibrary/doubling.py -- /library/MathLibrary/doubling.py.html -title: MathLibrary/doubling.py +- /library/Math/doubling.py +- /library/Math/doubling.py.html +title: Math/doubling.py --- diff --git a/MathLibrary/nCk.py.md b/Math/nCk.py.md similarity index 79% rename from MathLibrary/nCk.py.md rename to Math/nCk.py.md index 5fde9dd..24b337a 100644 --- a/MathLibrary/nCk.py.md +++ b/Math/nCk.py.md @@ -22,19 +22,21 @@ data: \ fac_inv[0] = 1\n for i in range(1, n + 1):\n fac_inv[i] = pow(fac[i],\ \ mod - 2, mod)\n \n return fac, fac_inv\n\ndef combination(n: int, k: int)\ \ -> int:\n '''nCk\u3092\u8A08\u7B97\u3059\u308B'''\n\n return fac[n] *\ - \ fac_inv[k] * fac_inv[n - k] % mod\n\nn, k = map(int, input().split())\n\nmod\ - \ = 10 ** 9 + 7\nfac, fac_inv = calc_facinv(n)\n\nans = combination(n, k)\nprint(ans)" + \ fac_inv[k] * fac_inv[n - k] % mod\n\ndef main() -> None:\n\n n, k = map(int,\ + \ input().split())\n\n mod = 10 ** 9 + 7\n fac, fac_inv = calc_facinv(n)\n\ + \n ans = combination(n, k)\n print(ans)\n\n\nif __name__ == \"__main__\"\ + :\n main()" dependsOn: [] isVerificationFile: false - path: MathLibrary/nCk.py + path: Math/nCk.py requiredBy: [] - timestamp: '2022-02-06 18:10:37+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/nCk.py +documentation_of: Math/nCk.py layout: document redirect_from: -- /library/MathLibrary/nCk.py -- /library/MathLibrary/nCk.py.html -title: MathLibrary/nCk.py +- /library/Math/nCk.py +- /library/Math/nCk.py.html +title: Math/nCk.py --- diff --git a/MathLibrary/nCkFactorization.py.md b/Math/nCkFactorization.py.md similarity index 91% rename from MathLibrary/nCkFactorization.py.md rename to Math/nCkFactorization.py.md index 34fafca..530daef 100644 --- a/MathLibrary/nCkFactorization.py.md +++ b/Math/nCkFactorization.py.md @@ -37,15 +37,15 @@ data: \ sep=\"\\n\")\nprint(\"\u5206\u6BCD\")\nprint(*y, sep=\"\\n\")" dependsOn: [] isVerificationFile: false - path: MathLibrary/nCkFactorization.py + path: Math/nCkFactorization.py requiredBy: [] - timestamp: '2021-11-14 03:32:35+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_NO_TESTS verifiedWith: [] -documentation_of: MathLibrary/nCkFactorization.py +documentation_of: Math/nCkFactorization.py layout: document redirect_from: -- /library/MathLibrary/nCkFactorization.py -- /library/MathLibrary/nCkFactorization.py.html -title: MathLibrary/nCkFactorization.py +- /library/Math/nCkFactorization.py +- /library/Math/nCkFactorization.py.html +title: Math/nCkFactorization.py --- diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 19783a4..629016f 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -1,9 +1,6 @@ --- data: - _extendedDependsOn: - - icon: ':heavy_check_mark:' - path: MathLibrary/PrimaryCheck.py - title: MathLibrary/PrimaryCheck.py + _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -24,8 +21,7 @@ data: \ndef main() -> None:\n ans = 0\n\n n = int(input())\n for _ in range(n):\n\ \ ans += int(PrimaryCheck.PrimaryCheck(int(input())))\n \n print(ans)\n\ \n\nif __name__ == \"__main__\":\n main()" - dependsOn: - - MathLibrary/PrimaryCheck.py + dependsOn: [] isVerificationFile: true path: Test/AOJ/ALDS1/ALDS1_1_C.test.py requiredBy: [] diff --git a/Test/AOJ/ITP1/ITP1_11_A.test.py.md b/Test/AOJ/ITP1/ITP1_11_A.test.py.md new file mode 100644 index 0000000..6071292 --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_11_A.test.py.md @@ -0,0 +1,49 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/Dice.py + title: Math/Dice.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ + \ -> None:\n up, front, right, left, back, down = map(int, input().split())\n\ + \ d = {}\n d[1] = up\n d[2] = front\n d[3] = right\n d[4] = left\n\ + \ d[5] = back\n d[6] = down\n\n # E: \u53F3\u306B\u56DE\u8EE2, N: \u5965\ + \u306B\u56DE\u8EE2, S: \u624B\u524D\u306B\u56DE\u8EE2, W: \u5DE6\u306B\u56DE\u8EE2\ + \n # u,d,f,b,l,r\u3092\u305D\u308C\u305E\u308C 0,1,2,3,4,5\u3068\u3057\u3066\ + state1,state2\u306B\u6307\u5B9A\n dice = Dice.Dice(0, 1, 2, 2, 0, 0)\n\n \ + \ direction = input()\n for i in direction:\n if i == \"E\":\n \ + \ dice.RotateE()\n if i == \"N\":\n dice.RotateN()\n\ + \ if i == \"S\":\n dice.RotateS()\n if i == \"W\":\n\ + \ dice.RotateW()\n\n state = dice.status()\n\n print(d[state[0]])\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/Dice.py + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_11_A.test.py + requiredBy: [] + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_11_A.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_11_A.test.py +- /verify/Test/AOJ/ITP1/ITP1_11_A.test.py.html +title: Test/AOJ/ITP1/ITP1_11_A.test.py +--- diff --git a/Test/AOJ/ITP1/ITP1_11_B.test.py.md b/Test/AOJ/ITP1/ITP1_11_B.test.py.md new file mode 100644 index 0000000..442c8b2 --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_11_B.test.py.md @@ -0,0 +1,46 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/Dice.py + title: Math/Dice.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ + \ -> None:\n up, front, right, left, back, down = map(int, input().split())\n\ + \ d = {}\n d[1] = up\n d[2] = front\n d[3] = right\n d[4] = left\n\ + \ d[5] = back\n d[6] = down\n\n rev_d = {}\n rev_d[up] = 1\n rev_d[front]\ + \ = 2\n rev_d[right] = 3\n rev_d[left] = 4\n rev_d[back] = 5\n rev_d[down]\ + \ = 6\n\n q = int(input())\n for _ in range(q):\n up, front = map(int,\ + \ input().split())\n dice = Dice.Dice(0, rev_d[up], 2, rev_d[front], 0,\ + \ 0)\n print(d[dice.status()[4]])\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: + - Math/Dice.py + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_11_B.test.py + requiredBy: [] + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_11_B.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_11_B.test.py +- /verify/Test/AOJ/ITP1/ITP1_11_B.test.py.html +title: Test/AOJ/ITP1/ITP1_11_B.test.py +--- diff --git a/Test/AOJ/ITP1/ITP1_11_C.test.py.md b/Test/AOJ/ITP1/ITP1_11_C.test.py.md new file mode 100644 index 0000000..10ac13d --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_11_C.test.py.md @@ -0,0 +1,64 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ + \ import randint\n\ndef main() -> None:\n\n up_1, front_1, right_1, left_1,\ + \ back_1, down_1 = map(int, input().split())\n up_2, front_2, right_2, left_2,\ + \ back_2, down_2 = map(int, input().split())\n\n # \u30B5\u30A4\u30B3\u30ED\ + \u306E\u76EE\u304C 1~6 \u3067\u306F\u306A\u3044\u5834\u5408\u306B\u7F6E\u304D\u63DB\ + \u3048\u308B\n replace_dice1, replace_dice2 = {}, {}\n replace_dice1[f\"\ + {up_1}-1\"], replace_dice2[f\"{up_2}-1\"] = 1, 1\n replace_dice1[f\"{front_1}-2\"\ + ], replace_dice2[f\"{front_2}-2\"] = 2, 2\n replace_dice1[f\"{right_1}-3\"\ + ], replace_dice2[f\"{right_2}-3\"] = 3, 3\n replace_dice1[f\"{left_1}-4\"],\ + \ replace_dice2[f\"{left_2}-4\"] = 4, 4\n replace_dice1[f\"{back_1}-5\"], replace_dice2[f\"\ + {back_2}-5\"] = 5, 5\n replace_dice1[f\"{down_1}-6\"], replace_dice2[f\"{down_2}-6\"\ + ] = 6, 6\n\n # \u7F6E\u304D\u63DB\u3048\u305F\u5834\u5408\u306B\u5FA9\u5143\ + \u3059\u308B\u7528\u306E\u8F9E\u66F8\n restoration_dice1, restoration_dice2\ + \ = {}, {}\n restoration_dice1[1], restoration_dice2[1] = up_1, up_2\n restoration_dice1[2],\ + \ restoration_dice2[2] = front_1, front_2\n restoration_dice1[3], restoration_dice2[3]\ + \ = right_1, right_2\n restoration_dice1[4], restoration_dice2[4] = left_1,\ + \ left_2\n restoration_dice1[5], restoration_dice2[5] = back_1, back_2\n \ + \ restoration_dice1[6], restoration_dice2[6] = down_1, down_2\n\n # u,d,f,b,l,r\ + \ \u3092\u305D\u308C\u305E\u308C 0,1,2,3,4,5 \u3068\u3057\u3066 state1,state2\ + \ \u306B\u6307\u5B9A\n # value1,value2 \u306F\u305D\u308C\u305E\u308C state1,\ + \ state2 \u306B\u5BFE\u5FDC\u3059\u308B\u9762\u306E\u76EE\n\n dice1 = Dice.Dice(0,\ + \ replace_dice1[f\"{up_1}-1\"], 2, replace_dice1[f\"{front_1}-2\"], 0, 0)\n \ + \ dice2 = Dice.Dice(0, replace_dice2[f\"{up_2}-1\"], 2, replace_dice2[f\"{front_2}-2\"\ + ], 0, 0)\n\n check = False\n for _ in range(1000):\n p = randint(0,\ + \ 3)\n if p == 0:\n dice1.RotateN()\n if p == 1:\n \ + \ dice1.RotateS()\n if p == 2:\n dice1.RotateW()\n\ + \ if p == 3:\n dice1.RotateE()\n\n is_ok = True\n \ + \ for i in range(6):\n if restoration_dice1[dice1.status()[i]]\ + \ != restoration_dice2[dice2.status()[i]]:\n is_ok = False\n \ + \ \n if is_ok:\n check = True\n\n print(\"Yes\") if\ + \ check else print(\"No\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_11_C.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_11_C.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_11_C.test.py +- /verify/Test/AOJ/ITP1/ITP1_11_C.test.py.html +title: Test/AOJ/ITP1/ITP1_11_C.test.py +--- diff --git a/Test/AOJ/ITP1/ITP1_11_D.test.py.md b/Test/AOJ/ITP1/ITP1_11_D.test.py.md new file mode 100644 index 0000000..c22c775 --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_11_D.test.py.md @@ -0,0 +1,66 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ + \ import randint\n\n\ndef main() -> None:\n\n n = int(input())\n a = [list(map(int,\ + \ input().split())) for _ in range(n)]\n\n ans = True\n for i in range(n\ + \ - 1):\n for j in range(i + 1, n):\n\n up_1, front_1, right_1,\ + \ left_1, back_1, down_1 = a[i]\n up_2, front_2, right_2, left_2, back_2,\ + \ down_2 = a[j]\n\n # \u30B5\u30A4\u30B3\u30ED\u306E\u76EE\u304C 1~6\ + \ \u3067\u306F\u306A\u3044\u5834\u5408\u306B\u7F6E\u304D\u63DB\u3048\u308B\n \ + \ replace_dice1, replace_dice2 = {}, {}\n replace_dice1[f\"\ + {up_1}-1\"], replace_dice2[f\"{up_2}-1\"] = 1, 1\n replace_dice1[f\"\ + {front_1}-2\"], replace_dice2[f\"{front_2}-2\"] = 2, 2\n replace_dice1[f\"\ + {right_1}-3\"], replace_dice2[f\"{right_2}-3\"] = 3, 3\n replace_dice1[f\"\ + {left_1}-4\"], replace_dice2[f\"{left_2}-4\"] = 4, 4\n replace_dice1[f\"\ + {back_1}-5\"], replace_dice2[f\"{back_2}-5\"] = 5, 5\n replace_dice1[f\"\ + {down_1}-6\"], replace_dice2[f\"{down_2}-6\"] = 6, 6\n\n # \u7F6E\u304D\ + \u63DB\u3048\u305F\u5834\u5408\u306B\u5FA9\u5143\u3059\u308B\u7528\u306E\u8F9E\ + \u66F8\n restoration_dice1, restoration_dice2 = {}, {}\n \ + \ restoration_dice1[1], restoration_dice2[1] = up_1, up_2\n restoration_dice1[2],\ + \ restoration_dice2[2] = front_1, front_2\n restoration_dice1[3], restoration_dice2[3]\ + \ = right_1, right_2\n restoration_dice1[4], restoration_dice2[4] =\ + \ left_1, left_2\n restoration_dice1[5], restoration_dice2[5] = back_1,\ + \ back_2\n restoration_dice1[6], restoration_dice2[6] = down_1, down_2\n\ + \n dice1 = Dice.Dice(0, replace_dice1[f\"{up_1}-1\"], 2, replace_dice1[f\"\ + {front_1}-2\"], 0, 0)\n dice2 = Dice.Dice(0, replace_dice2[f\"{up_2}-1\"\ + ], 2, replace_dice2[f\"{front_2}-2\"], 0, 0)\n\n for _ in range(1000):\n\ + \ p = randint(0, 3)\n if p == 0:\n \ + \ dice1.RotateN()\n if p == 1:\n dice1.RotateS()\n\ + \ if p == 2:\n dice1.RotateW()\n \ + \ if p == 3:\n dice1.RotateE()\n \n \ + \ check = 0\n for k in range(6):\n \ + \ if restoration_dice1[dice1.status()[k]] == restoration_dice2[dice2.status()[k]]:\n\ + \ check += 1\n\n if check == 6:\n \ + \ ans = False\n break\n\n print(\"Yes\") if\ + \ ans else print(\"No\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_11_D.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_11_D.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_11_D.test.py +- /verify/Test/AOJ/ITP1/ITP1_11_D.test.py.html +title: Test/AOJ/ITP1/ITP1_11_D.test.py +--- diff --git a/Test/AOJ/ITP1/ITP1_2_A.test.py.md b/Test/AOJ/ITP1/ITP1_2_A.test.py.md new file mode 100644 index 0000000..45bfc5a --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_2_A.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja\n\ + \n\ndef main() -> None:\n a, b = map(int, input().split())\n if a < b:\n\ + \ print(\"a < b\")\n elif a > b:\n print(\"a > b\")\n else:\n\ + \ print(\"a == b\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_2_A.test.py + requiredBy: [] + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_2_A.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_2_A.test.py +- /verify/Test/AOJ/ITP1/ITP1_2_A.test.py.html +title: Test/AOJ/ITP1/ITP1_2_A.test.py +--- diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index 54c4fa9..8e4e341 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -2,8 +2,8 @@ data: _extendedDependsOn: - icon: ':heavy_check_mark:' - path: MathLibrary/Divisor.py - title: MathLibrary/Divisor.py + path: Math/Divisor.py + title: Math/Divisor.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -20,16 +20,16 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import Divisor\n\ - \ndef main() -> None:\n a, b, c = map(int, input().split())\n\n ans = 0\n\ - \ for i in Divisor.divisors(c):\n if a <= i <= b:\n ans +=\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Divisor\n\ndef\ + \ main() -> None:\n a, b, c = map(int, input().split())\n\n ans = 0\n \ + \ for i in Divisor.divisors(c):\n if a <= i <= b:\n ans +=\ \ 1\n \n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: - - MathLibrary/Divisor.py + - Math/Divisor.py isVerificationFile: true path: Test/AOJ/ITP1/ITP1_3_D.test.py requiredBy: [] - timestamp: '2023-04-24 10:12:14+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ITP1/ITP1_3_D.test.py diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md index ca85895..8aa1b37 100644 --- a/Test/AOJ/Volume10/1000.test.py.md +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en links: @@ -17,14 +17,15 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ - \n\ndef main():\n try:\n a, b = map(int, input().split())\n print(a\ - \ + b)\n except:\n exit()\n\n\nif __name__ == \"__main__\":\n main()" + \n\ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ + \ print(a + b)\n except:\n break\n\n\nif __name__\ + \ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/Volume10/1000.test.py requiredBy: [] - timestamp: '2023-06-28 16:02:03+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/Volume10/1000.test.py layout: document diff --git a/Test/AOJ/Volume16/1640.test.py.md b/Test/AOJ/Volume16/1640.test.py.md new file mode 100644 index 0000000..e898fd4 --- /dev/null +++ b/Test/AOJ/Volume16/1640.test.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp\n\ + \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ + \ exit()\n d = list(map(int, input().split()))\n\n ans\ + \ = 0\n for i in range(n - 3):\n if d[i : i + 4] == [2, 0, 2,\ + \ 0]:\n ans += 1\n \n print(ans)\n\n\nif __name__\ + \ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume16/1640.test.py + requiredBy: [] + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume16/1640.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume16/1640.test.py +- /verify/Test/AOJ/Volume16/1640.test.py.html +title: Test/AOJ/Volume16/1640.test.py +--- diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index b4e9250..8721e8c 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -1,6 +1,9 @@ --- data: - _extendedDependsOn: [] + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Tree/UnionFindTree.py + title: Tree/UnionFindTree.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -17,17 +20,17 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ - \nimport sys\nfrom pathlib import Path\n\nsys.path.append(\"../../../\")\n\nfrom\ - \ Tree import UnionFindTree\n\ndef main():\n n, q = map(int, input().split())\n\ - \n uf = UnionFindTree.UnionFind(n)\n\n for _ in range(q):\n t, u,\ - \ v = map(int, input().split())\n if t == 0:\n uf.merge(u, v)\n\ - \ elif t == 1:\n print(int(uf.same(u, v)))\n\nif __name__ ==\ - \ \"__main__\":\n main()" - dependsOn: [] + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ + \ndef main():\n n, q = map(int, input().split())\n\n uf = UnionFindTree.UnionFind(n)\n\ + \n for _ in range(q):\n t, u, v = map(int, input().split())\n \ + \ if t == 0:\n uf.merge(u, v)\n elif t == 1:\n print(int(uf.same(u,\ + \ v)))\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Tree/UnionFindTree.py isVerificationFile: true path: Test/yosupo/DataStructure/Unionfind.test.py requiredBy: [] - timestamp: '1970-01-01 00:00:00+00:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yosupo/DataStructure/Unionfind.test.py diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index d97b353..2d602f9 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -18,12 +18,12 @@ data: , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ - if __name__ == \"__main__\":\n main()" + \nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/yosupo/Sample/A+B.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yosupo/Sample/A+B.test.py diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index 7a4745c..993fda4 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -18,13 +18,13 @@ data: , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ - \ A, B = map(int, input().split())\n print(A + B)\n\nif __name__ ==\ + \ A, B = map(int, input().split())\n print(A + B)\n\n\nif __name__ ==\ \ \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/yosupo/Sample/ManyA+B.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yosupo/Sample/ManyA+B.test.py diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 08c4012..8be1185 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: false + _isVerificationFailed: true _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' + _verificationStatusIcon: ':x:' attributes: PROBLEM: https://yukicoder.me/problems/no/2 links: @@ -17,17 +17,17 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ - def main() -> None:\n n = int(input())\n a = factorization.factorization(n)\n\ - \n or_ = 0\n for i in range(len(a)):\n or_ ^= a[i][1]\n\n print(\"\ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import factorization\n\ndef main()\ + \ -> None:\n n = int(input())\n a = factorization.factorization(n)\n\n \ + \ or_ = 0\n for i in range(len(a)):\n or_ ^= a[i][1]\n\n print(\"\ Alice\") if or_ != 0 else print(\"Bob\")\n\n\nif __name__ == \"__main__\":\n \ \ main()" dependsOn: [] isVerificationFile: true path: Test/yukicoder/0002.test.py requiredBy: [] - timestamp: '2023-04-18 14:48:46+09:00' - verificationStatus: TEST_ACCEPTED + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/yukicoder/0002.test.py layout: document diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index ca717d7..7295169 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: false + _isVerificationFailed: true _pathExtension: py - _verificationStatusIcon: ':heavy_check_mark:' + _verificationStatusIcon: ':x:' attributes: PROBLEM: https://yukicoder.me/problems/no/847 links: @@ -17,20 +17,20 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import factorization\n\n\ - def dfs(a: list, now: int):\n \n global ans\n\n if len(a) == l and now\ - \ <= m:\n ans += 1\n return\n\n for i in range(fac[len(a)][1]\ - \ + 1):\n\n now *= fac[len(a)][0] ** i\n\n if now <= m:\n \ - \ dfs(a + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n\ - \ return\n\nn, k, m = map(int, input().split())\n\nfac = factorization.factorization(n)\n\ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import factorization\n\ndef dfs(a:\ + \ list, now: int):\n \n global ans\n\n if len(a) == l and now <= m:\n\ + \ ans += 1\n return\n\n for i in range(fac[len(a)][1] + 1):\n\ + \n now *= fac[len(a)][0] ** i\n\n if now <= m:\n dfs(a\ + \ + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n \ + \ return\n\nn, k, m = map(int, input().split())\n\nfac = factorization.factorization(n)\n\ l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ print(ans)" dependsOn: [] isVerificationFile: true path: Test/yukicoder/0847.test.py requiredBy: [] - timestamp: '2023-04-18 14:48:46+09:00' - verificationStatus: TEST_ACCEPTED + timestamp: '2023-06-29 00:35:03+09:00' + verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/yukicoder/0847.test.py layout: document diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index c65b065..8a6ea7c 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -2,8 +2,8 @@ data: _extendedDependsOn: - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py + path: Math/Factorization.py + title: Math/Factorization.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -20,15 +20,15 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ - import sys\nsys.path.append(\"../../\")\n\nfrom MathLibrary import Factorization\n\ - \nn = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i,\ - \ j in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" + import sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\n\ + n = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i, j\ + \ in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" dependsOn: - - MathLibrary/Factorization.py + - Math/Factorization.py isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] - timestamp: '2023-04-18 17:15:42+09:00' + timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/1737.test.py diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index 25a4918..b9a87c6 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -6,6 +6,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/DSL/DSL_1_A.test.py title: Test/AOJ/DSL/DSL_1_A.test.py + - icon: ':heavy_check_mark:' + path: Test/yosupo/DataStructure/Unionfind.test.py + title: Test/yosupo/DataStructure/Unionfind.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -36,6 +39,7 @@ data: timestamp: '2022-07-15 00:14:10+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: + - Test/yosupo/DataStructure/Unionfind.test.py - Test/AOJ/DSL/DSL_1_A.test.py documentation_of: Tree/UnionFindTree.py layout: document diff --git a/index.md b/index.md index d8e39d8..117534a 100644 --- a/index.md +++ b/index.md @@ -55,68 +55,71 @@ data: - icon: ':warning:' path: Graph/warshall_floyd.py title: Graph/warshall_floyd.py - - name: MathLibrary + - name: Math pages: - icon: ':warning:' - path: MathLibrary/BinaryToDecimal.py - title: MathLibrary/BinaryToDecimal.py + path: Math/BinaryToDecimal.py + title: Math/BinaryToDecimal.py - icon: ':warning:' - path: MathLibrary/CumulativeSum.py - title: MathLibrary/CumulativeSum.py + path: Math/CumulativeSum.py + title: Math/CumulativeSum.py - icon: ':warning:' - path: MathLibrary/DecimalToBinary.py - title: MathLibrary/DecimalToBinary.py + path: Math/DecimalToBinary.py + title: Math/DecimalToBinary.py + - icon: ':heavy_check_mark:' + path: Math/Dice.py + title: Math/Dice.py - icon: ':warning:' - path: MathLibrary/DigitSum_int.py - title: MathLibrary/DigitSum_int.py + path: Math/DigitSum_int.py + title: Math/DigitSum_int.py - icon: ':warning:' - path: MathLibrary/DigitSum_str.py - title: MathLibrary/DigitSum_str.py + path: Math/DigitSum_str.py + title: Math/DigitSum_str.py - icon: ':heavy_check_mark:' - path: MathLibrary/Divisor.py - title: MathLibrary/Divisor.py + path: Math/Divisor.py + title: Math/Divisor.py - icon: ':warning:' - path: MathLibrary/ExtGCD.py - title: MathLibrary/ExtGCD.py + path: Math/ExtGCD.py + title: Math/ExtGCD.py - icon: ':heavy_check_mark:' - path: MathLibrary/Factorization.py - title: MathLibrary/Factorization.py + path: Math/Factorization.py + title: Math/Factorization.py - icon: ':warning:' - path: MathLibrary/FromFloatToInt.py - title: MathLibrary/FromFloatToInt.py + path: Math/FromFloatToInt.py + title: Math/FromFloatToInt.py - icon: ':warning:' - path: MathLibrary/ManhattanDistanceSearch.py - title: MathLibrary/ManhattanDistanceSearch.py + path: Math/ManhattanDistanceSearch.py + title: Math/ManhattanDistanceSearch.py - icon: ':warning:' - path: MathLibrary/MaxCumulativeSum.py - title: MathLibrary/MaxCumulativeSum.py + path: Math/MaxCumulativeSum.py + title: Math/MaxCumulativeSum.py - icon: ':warning:' - path: MathLibrary/NFactorizarition.py - title: MathLibrary/NFactorizarition.py - - icon: ':heavy_check_mark:' - path: MathLibrary/PrimaryCheck.py - title: MathLibrary/PrimaryCheck.py + path: Math/NFactorizarition.py + title: Math/NFactorizarition.py - icon: ':warning:' - path: MathLibrary/SieveOfEratosthenes.py - title: MathLibrary/SieveOfEratosthenes.py + path: Math/PrimaryCheck.py + title: Math/PrimaryCheck.py - icon: ':warning:' - path: MathLibrary/SortedMultiset.py - title: MathLibrary/SortedMultiset.py + path: Math/SieveOfEratosthenes.py + title: Math/SieveOfEratosthenes.py - icon: ':warning:' - path: MathLibrary/SortedSet.py - title: MathLibrary/SortedSet.py + path: Math/SortedMultiset.py + title: Math/SortedMultiset.py - icon: ':warning:' - path: MathLibrary/XorToN.py - title: MathLibrary/XorToN.py + path: Math/SortedSet.py + title: Math/SortedSet.py - icon: ':warning:' - path: MathLibrary/doubling.py - title: MathLibrary/doubling.py + path: Math/XorToN.py + title: Math/XorToN.py - icon: ':warning:' - path: MathLibrary/nCk.py - title: MathLibrary/nCk.py + path: Math/doubling.py + title: Math/doubling.py - icon: ':warning:' - path: MathLibrary/nCkFactorization.py - title: MathLibrary/nCkFactorization.py + path: Math/nCk.py + title: Math/nCk.py + - icon: ':warning:' + path: Math/nCkFactorization.py + title: Math/nCkFactorization.py - name: Other pages: - icon: ':warning:' @@ -213,6 +216,21 @@ data: title: Test/AOJ/GRL/GRL_1_B.test.py - name: Test/AOJ/ITP1 pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_A.test.py + title: Test/AOJ/ITP1/ITP1_11_A.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_B.test.py + title: Test/AOJ/ITP1/ITP1_11_B.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_C.test.py + title: Test/AOJ/ITP1/ITP1_11_C.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_11_D.test.py + title: Test/AOJ/ITP1/ITP1_11_D.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/ITP1/ITP1_2_A.test.py + title: Test/AOJ/ITP1/ITP1_2_A.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py @@ -226,9 +244,14 @@ data: title: Test/AOJ/Volume0/0001.test.py - name: Test/AOJ/Volume10 pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/Volume10/1000.test.py title: Test/AOJ/Volume10/1000.test.py + - name: Test/AOJ/Volume16 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume16/1640.test.py + title: Test/AOJ/Volume16/1640.test.py - name: Test/yosupo/DataStructure pages: - icon: ':heavy_check_mark:' @@ -247,7 +270,7 @@ data: title: Test/yosupo/Sample/ManyA+B.test.py - name: Test/yukicoder pages: - - icon: ':heavy_check_mark:' + - icon: ':x:' path: Test/yukicoder/0002.test.py title: Test/yukicoder/0002.test.py - icon: ':heavy_check_mark:' @@ -259,7 +282,7 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0697.test.py title: Test/yukicoder/0697.test.py - - icon: ':heavy_check_mark:' + - icon: ':x:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py - icon: ':heavy_check_mark:' From dc210c765f1f6671144d90d59dc1b2aa9d8aab06 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 28 Jun 2023 16:14:50 +0000 Subject: [PATCH 19/38] [auto-verifier] docs commit 702b46ff983bcfe6018ec845d79e476769eba716 --- Math/Dice.py.md | 2 +- Math/Factorization.py.md | 8 ++++++ Test/AOJ/Volume11/1147.test.py.md | 37 +++++++++++++++++++++++++++ Test/AOJ/Volume11/1153.test.py.md | 42 +++++++++++++++++++++++++++++++ Test/AOJ/Volume16/1608.test.py.md | 38 ++++++++++++++++++++++++++++ Test/AOJ/Volume21/2197.test.py.md | 38 ++++++++++++++++++++++++++++ Test/yukicoder/0002.test.py.md | 20 +++++++++------ Test/yukicoder/0847.test.py.md | 20 +++++++++------ index.md | 20 +++++++++++++-- 9 files changed, 206 insertions(+), 19 deletions(-) create mode 100644 Test/AOJ/Volume11/1147.test.py.md create mode 100644 Test/AOJ/Volume11/1153.test.py.md create mode 100644 Test/AOJ/Volume16/1608.test.py.md create mode 100644 Test/AOJ/Volume21/2197.test.py.md diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 0612441..6ed227f 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_B.test.py - Test/AOJ/ITP1/ITP1_11_A.test.py + - Test/AOJ/ITP1/ITP1_11_B.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index cb4bfe4..b7faf01 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -3,6 +3,12 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0002.test.py + title: Test/yukicoder/0002.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0847.test.py + title: Test/yukicoder/0847.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1737.test.py title: Test/yukicoder/1737.test.py @@ -31,6 +37,8 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yukicoder/1737.test.py + - Test/yukicoder/0847.test.py + - Test/yukicoder/0002.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Test/AOJ/Volume11/1147.test.py.md b/Test/AOJ/Volume11/1147.test.py.md new file mode 100644 index 0000000..04afb02 --- /dev/null +++ b/Test/AOJ/Volume11/1147.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp\n\ + \ndef main() -> None:\n while True:\n n = int(input())\n if n\ + \ == 0:\n exit()\n \n a = [int(input()) for _ in range(n)]\n\ + \ print((sum(a) - (min(a) + max(a))) // (n - 2))\n\n\nif __name__ == \"\ + __main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume11/1147.test.py + requiredBy: [] + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume11/1147.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume11/1147.test.py +- /verify/Test/AOJ/Volume11/1147.test.py.html +title: Test/AOJ/Volume11/1147.test.py +--- diff --git a/Test/AOJ/Volume11/1153.test.py.md b/Test/AOJ/Volume11/1153.test.py.md new file mode 100644 index 0000000..79e0005 --- /dev/null +++ b/Test/AOJ/Volume11/1153.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp\n\ + \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ + \ if (n, m) == (0, 0):\n exit()\n \n s = [int(input())\ + \ for _ in range(n)]\n t = [int(input()) for _ in range(m)]\n\n \ + \ sum1, sum2 = sum(s), sum(t)\n num = 10**18\n ans = [0, 0]\n \ + \ for i in range(n):\n for j in range(m):\n if\ + \ sum1 - s[i] + t[j] == sum2 - t[j] + s[i]:\n if s[i] + t[j]\ + \ < num:\n ans = [s[i], t[j]]\n \ + \ num = s[i] + t[j]\n \n print(*ans) if num != 10**18 else print(-1)\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume11/1153.test.py + requiredBy: [] + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume11/1153.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume11/1153.test.py +- /verify/Test/AOJ/Volume11/1153.test.py.html +title: Test/AOJ/Volume11/1153.test.py +--- diff --git a/Test/AOJ/Volume16/1608.test.py.md b/Test/AOJ/Volume16/1608.test.py.md new file mode 100644 index 0000000..f8a1d00 --- /dev/null +++ b/Test/AOJ/Volume16/1608.test.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp\n\ + \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ + \ exit()\n a = list(map(int, input().split()))\n a.sort()\n\ + \n ans = 10**18\n for i in range(n - 1):\n ans = min(ans,\ + \ a[i + 1] - a[i])\n\n print(ans)\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume16/1608.test.py + requiredBy: [] + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume16/1608.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume16/1608.test.py +- /verify/Test/AOJ/Volume16/1608.test.py.html +title: Test/AOJ/Volume16/1608.test.py +--- diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md new file mode 100644 index 0000000..05503e9 --- /dev/null +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -0,0 +1,38 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ + \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ + \ exit()\n \n ans = 0\n for start in range(1,\ + \ n + 1):\n num = start\n i = start + 1\n while\ + \ num < n:\n num += i\n if num == n:\n \ + \ ans += 1\n break\n i += 1\n \ + \ \n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume21/2197.test.py + requiredBy: [] + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/Volume21/2197.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume21/2197.test.py +- /verify/Test/AOJ/Volume21/2197.test.py.html +title: Test/AOJ/Volume21/2197.test.py +--- diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 8be1185..236ccde 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -1,11 +1,14 @@ --- data: - _extendedDependsOn: [] + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/Factorization.py + title: Math/Factorization.py _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://yukicoder.me/problems/no/2 links: @@ -17,17 +20,18 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom Math import factorization\n\ndef main()\ - \ -> None:\n n = int(input())\n a = factorization.factorization(n)\n\n \ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef main()\ + \ -> None:\n n = int(input())\n a = Factorization.factorization(n)\n\n \ \ or_ = 0\n for i in range(len(a)):\n or_ ^= a[i][1]\n\n print(\"\ Alice\") if or_ != 0 else print(\"Bob\")\n\n\nif __name__ == \"__main__\":\n \ \ main()" - dependsOn: [] + dependsOn: + - Math/Factorization.py isVerificationFile: true path: Test/yukicoder/0002.test.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0002.test.py layout: document diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index 7295169..817cb64 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -1,11 +1,14 @@ --- data: - _extendedDependsOn: [] + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/Factorization.py + title: Math/Factorization.py _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: PROBLEM: https://yukicoder.me/problems/no/847 links: @@ -17,20 +20,21 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ - \ sys\nsys.path.append(\"../../\")\n\nfrom Math import factorization\n\ndef dfs(a:\ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef dfs(a:\ \ list, now: int):\n \n global ans\n\n if len(a) == l and now <= m:\n\ \ ans += 1\n return\n\n for i in range(fac[len(a)][1] + 1):\n\ \n now *= fac[len(a)][0] ** i\n\n if now <= m:\n dfs(a\ \ + [i], now)\n now //= fac[len(a)][0] ** i\n else:\n \ - \ return\n\nn, k, m = map(int, input().split())\n\nfac = factorization.factorization(n)\n\ + \ return\n\nn, k, m = map(int, input().split())\n\nfac = Factorization.factorization(n)\n\ l = len(fac)\n\nfor i in range(l):\n fac[i][1] *= k\n\nans = 0\ndfs([], 1)\n\ print(ans)" - dependsOn: [] + dependsOn: + - Math/Factorization.py isVerificationFile: true path: Test/yukicoder/0847.test.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-29 01:08:34+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0847.test.py layout: document diff --git a/index.md b/index.md index 117534a..161e76f 100644 --- a/index.md +++ b/index.md @@ -247,11 +247,27 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume10/1000.test.py title: Test/AOJ/Volume10/1000.test.py + - name: Test/AOJ/Volume11 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume11/1147.test.py + title: Test/AOJ/Volume11/1147.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume11/1153.test.py + title: Test/AOJ/Volume11/1153.test.py - name: Test/AOJ/Volume16 pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume16/1608.test.py + title: Test/AOJ/Volume16/1608.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/Volume16/1640.test.py title: Test/AOJ/Volume16/1640.test.py + - name: Test/AOJ/Volume21 + pages: + - icon: ':x:' + path: Test/AOJ/Volume21/2197.test.py + title: Test/AOJ/Volume21/2197.test.py - name: Test/yosupo/DataStructure pages: - icon: ':heavy_check_mark:' @@ -270,7 +286,7 @@ data: title: Test/yosupo/Sample/ManyA+B.test.py - name: Test/yukicoder pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/yukicoder/0002.test.py title: Test/yukicoder/0002.test.py - icon: ':heavy_check_mark:' @@ -282,7 +298,7 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0697.test.py title: Test/yukicoder/0697.test.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py - icon: ':heavy_check_mark:' From 8998333edee27438492cb4588e57db6b77dee2d1 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 28 Jun 2023 16:25:49 +0000 Subject: [PATCH 20/38] [auto-verifier] docs commit 77f7d71fbe624cfb691c888b7b3bb8e3eb846012 --- Math/SieveOfEratosthenes.py.md | 19 +++++++++----- Test/AOJ/Volume10/1000.test.py.md | 4 +-- Test/AOJ/Volume11/1172.test.py.md | 43 +++++++++++++++++++++++++++++++ Test/AOJ/Volume21/2197.test.py.md | 11 ++++---- index.md | 7 +++-- 5 files changed, 68 insertions(+), 16 deletions(-) create mode 100644 Test/AOJ/Volume11/1172.test.py.md diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index 2afe8b1..0b94a0d 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -2,10 +2,13 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume11/1172.test.py + title: Test/AOJ/Volume11/1172.test.py _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -18,15 +21,17 @@ data: \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ \ = False\n\n for i in range(2, int(n ** 0.5) + 1):\n if not is_prime[i]:\n\ \ continue\n for j in range(i * 2, n + 1, i):\n is_prime[j]\ - \ = False\n\n return [i for i, j in enumerate(is_prime) if j]\n\nx = primes(100)\ - \ # \u7D20\u6570\u306E\u5168\u5217\u6319\nprint(len(x), x)" + \ = False\n\n return [i for i, j in enumerate(is_prime) if j]\n\n\ndef main()\ + \ -> None:\n x = primes(100)\n print(len(x), x)\n\n\nif __name__ == \"__main__\"\ + :\n main()" dependsOn: [] isVerificationFile: false path: Math/SieveOfEratosthenes.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] + timestamp: '2023-06-29 01:19:46+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/Volume11/1172.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document redirect_from: diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md index 8aa1b37..810d576 100644 --- a/Test/AOJ/Volume10/1000.test.py.md +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -17,14 +17,14 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ - \n\ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ + \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ \ print(a + b)\n except:\n break\n\n\nif __name__\ \ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/Volume10/1000.test.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' + timestamp: '2023-06-29 01:19:46+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/Volume10/1000.test.py diff --git a/Test/AOJ/Volume11/1172.test.py.md b/Test/AOJ/Volume11/1172.test.py.md new file mode 100644 index 0000000..6d3c9db --- /dev/null +++ b/Test/AOJ/Volume11/1172.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/SieveOfEratosthenes.py + title: Math/SieveOfEratosthenes.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import SieveOfEratosthenes\n\ + from bisect import bisect_left\n\ndef main() -> None:\n\n primes_list = SieveOfEratosthenes.primes(123456*2\ + \ + 100)\n\n while True:\n n = int(input())\n if n == 0:\n \ + \ exit()\n \n if n == 1:\n print(1)\n \ + \ else:\n p, q = bisect_left(primes_list, n + 1), bisect_left(primes_list,\ + \ 2 * n)\n print(q - p)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/SieveOfEratosthenes.py + isVerificationFile: true + path: Test/AOJ/Volume11/1172.test.py + requiredBy: [] + timestamp: '2023-06-29 01:19:46+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume11/1172.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume11/1172.test.py +- /verify/Test/AOJ/Volume11/1172.test.py.html +title: Test/AOJ/Volume11/1172.test.py +--- diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md index 05503e9..0c74ab0 100644 --- a/Test/AOJ/Volume21/2197.test.py.md +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -3,10 +3,11 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -15,7 +16,7 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ \ exit()\n \n ans = 0\n for start in range(1,\ \ n + 1):\n num = start\n i = start + 1\n while\ @@ -26,8 +27,8 @@ data: isVerificationFile: true path: Test/AOJ/Volume21/2197.test.py requiredBy: [] - timestamp: '2023-06-29 01:08:34+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-29 01:19:46+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/Volume21/2197.test.py layout: document diff --git a/index.md b/index.md index 161e76f..f0e6742 100644 --- a/index.md +++ b/index.md @@ -99,7 +99,7 @@ data: - icon: ':warning:' path: Math/PrimaryCheck.py title: Math/PrimaryCheck.py - - icon: ':warning:' + - icon: ':heavy_check_mark:' path: Math/SieveOfEratosthenes.py title: Math/SieveOfEratosthenes.py - icon: ':warning:' @@ -255,6 +255,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume11/1153.test.py title: Test/AOJ/Volume11/1153.test.py + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume11/1172.test.py + title: Test/AOJ/Volume11/1172.test.py - name: Test/AOJ/Volume16 pages: - icon: ':heavy_check_mark:' @@ -265,7 +268,7 @@ data: title: Test/AOJ/Volume16/1640.test.py - name: Test/AOJ/Volume21 pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/Volume21/2197.test.py title: Test/AOJ/Volume21/2197.test.py - name: Test/yosupo/DataStructure From c752f8e9d950f5ec994f37e09341013e97e2b4f4 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 28 Jun 2023 16:43:34 +0000 Subject: [PATCH 21/38] [auto-verifier] docs commit a710fd557c18eea24deb069b2ad4247be2bf615d --- Math/Dice.py.md | 2 +- Math/Factorization.py.md | 2 +- Test/AOJ/Volume21/2197.test.py.md | 6 ++-- Test/AOJ/Volume32/3202.test.py.md | 49 +++++++++++++++++++++++++++++++ index.md | 5 ++++ 5 files changed, 59 insertions(+), 5 deletions(-) create mode 100644 Test/AOJ/Volume32/3202.test.py.md diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 6ed227f..0612441 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_A.test.py - Test/AOJ/ITP1/ITP1_11_B.test.py + - Test/AOJ/ITP1/ITP1_11_A.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index b7faf01..2340715 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -36,9 +36,9 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/1737.test.py - Test/yukicoder/0847.test.py - Test/yukicoder/0002.test.py + - Test/yukicoder/1737.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md index 0c74ab0..1e8ec22 100644 --- a/Test/AOJ/Volume21/2197.test.py.md +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -17,8 +17,8 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ - \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ - \ exit()\n \n ans = 0\n for start in range(1,\ + \ndef main() -> None:\n while True:\n n = int(input())\n if n\ + \ == 0:\n exit()\n \n ans = 0\n for start in range(1,\ \ n + 1):\n num = start\n i = start + 1\n while\ \ num < n:\n num += i\n if num == n:\n \ \ ans += 1\n break\n i += 1\n \ @@ -27,7 +27,7 @@ data: isVerificationFile: true path: Test/AOJ/Volume21/2197.test.py requiredBy: [] - timestamp: '2023-06-29 01:19:46+09:00' + timestamp: '2023-06-29 01:37:18+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/Volume21/2197.test.py diff --git a/Test/AOJ/Volume32/3202.test.py.md b/Test/AOJ/Volume32/3202.test.py.md new file mode 100644 index 0000000..94a854e --- /dev/null +++ b/Test/AOJ/Volume32/3202.test.py.md @@ -0,0 +1,49 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp\n\ + \nfrom collections import deque\n\ndef main() -> None:\n while True:\n \ + \ w, h, n, d, b = map(int, input().split())\n if (w, h, n, d, b) ==\ + \ (0, 0, 0, 0, 0):\n exit()\n \n grid = [[0] * w for\ + \ _ in range(h)]\n\n x, y = [0] * n, [0] * n\n for i in range(n):\n\ + \ x[i], y[i] = map(lambda x: int(x) - 1, input().split())\n \ + \ grid[y[i]][x[i]] = -1\n \n ans = 1\n q = deque()\n\ + \ q.append((y[b - 1], x[b - 1]))\n grid[y[b - 1]][x[b - 1]] = 1\n\ + \ while q:\n vy, vx = q.popleft()\n for dy, dx in\ + \ ((0, 1), (0, -1), (1, 0), (-1, 0)):\n for k in range(1, d + 1):\n\ + \ ny = vy + dy * k\n nx = vx + dx * k\n\ + \ if not (0 <= ny < h and 0 <= nx < w):\n \ + \ continue\n if grid[ny][nx] == -1:\n \ + \ ans += 1\n grid[ny][nx] = 1\n \ + \ q.append((ny, nx))\n if grid[ny][nx] == 0:\n \ + \ grid[ny][nx] = 1\n \n print(ans)\n\n\nif __name__\ + \ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume32/3202.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume32/3202.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume32/3202.test.py +- /verify/Test/AOJ/Volume32/3202.test.py.html +title: Test/AOJ/Volume32/3202.test.py +--- diff --git a/index.md b/index.md index f0e6742..d2c3f73 100644 --- a/index.md +++ b/index.md @@ -271,6 +271,11 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume21/2197.test.py title: Test/AOJ/Volume21/2197.test.py + - name: Test/AOJ/Volume32 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume32/3202.test.py + title: Test/AOJ/Volume32/3202.test.py - name: Test/yosupo/DataStructure pages: - icon: ':heavy_check_mark:' From 7f1e834a32405595abf6ce7972a7a2a6eff17828 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 29 Jun 2023 06:45:42 +0000 Subject: [PATCH 22/38] [auto-verifier] docs commit 511c97d9ac86ab455f5663fb250aeed457d34bca --- Test/AOJ/Volume29/2944.test.py.md | 37 ++++++++++++++++++++++++++++ Test/yukicoder/1003.test.py.md | 35 +++++++++++++++++++++++++++ Test/yukicoder/2093.test.py.md | 40 +++++++++++++++++++++++++++++++ index.md | 11 +++++++++ 4 files changed, 123 insertions(+) create mode 100644 Test/AOJ/Volume29/2944.test.py.md create mode 100644 Test/yukicoder/1003.test.py.md create mode 100644 Test/yukicoder/2093.test.py.md diff --git a/Test/AOJ/Volume29/2944.test.py.md b/Test/AOJ/Volume29/2944.test.py.md new file mode 100644 index 0000000..b9b41e1 --- /dev/null +++ b/Test/AOJ/Volume29/2944.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp\n\ + \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ + \ if (n, m) == (0, 0):\n exit()\n a = list(map(int, input().split()))\n\ + \n ans = 0\n for i in range(n):\n ans += min(m // n,\ + \ a[i])\n\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume29/2944.test.py + requiredBy: [] + timestamp: '2023-06-29 15:39:20+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume29/2944.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume29/2944.test.py +- /verify/Test/AOJ/Volume29/2944.test.py.html +title: Test/AOJ/Volume29/2944.test.py +--- diff --git a/Test/yukicoder/1003.test.py.md b/Test/yukicoder/1003.test.py.md new file mode 100644 index 0000000..0e69a7b --- /dev/null +++ b/Test/yukicoder/1003.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1003 + links: + - https://yukicoder.me/problems/no/1003 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1003\n\n\ + def main() -> None:\n print(\"Yes\") if not int(input()) % 6 else print(\"\ + No\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1003.test.py + requiredBy: [] + timestamp: '2023-06-29 15:39:20+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1003.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1003.test.py +- /verify/Test/yukicoder/1003.test.py.html +title: Test/yukicoder/1003.test.py +--- diff --git a/Test/yukicoder/2093.test.py.md b/Test/yukicoder/2093.test.py.md new file mode 100644 index 0000000..637741c --- /dev/null +++ b/Test/yukicoder/2093.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2093 + links: + - https://yukicoder.me/problems/no/2093 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2093\n\n\ + def main() -> None:\n N, I = map(int, input().split())\n s, a = [0] * N,\ + \ [0] * N\n for i in range(N):\n s[i], a[i] = map(int, input().split())\n\ + \ \n dp = [[0] * (I + 1) for _ in range(N + 1)]\n for i in range(1, N\ + \ + 1):\n for j in range(I + 1):\n if 0 <= j - s[i - 1] <= I:\n\ + \ dp[i][j] = max(dp[i][j], dp[i - 1][j - s[i - 1]] + a[i - 1])\n\ + \ dp[i][j] = max(dp[i][j], dp[i - 1][j])\n \n print(dp[N][I])\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2093.test.py + requiredBy: [] + timestamp: '2023-06-29 15:39:20+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2093.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2093.test.py +- /verify/Test/yukicoder/2093.test.py.html +title: Test/yukicoder/2093.test.py +--- diff --git a/index.md b/index.md index d2c3f73..35e92bd 100644 --- a/index.md +++ b/index.md @@ -271,6 +271,11 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume21/2197.test.py title: Test/AOJ/Volume21/2197.test.py + - name: Test/AOJ/Volume29 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume29/2944.test.py + title: Test/AOJ/Volume29/2944.test.py - name: Test/AOJ/Volume32 pages: - icon: ':heavy_check_mark:' @@ -309,6 +314,9 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1003.test.py + title: Test/yukicoder/1003.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1639.test.py title: Test/yukicoder/1639.test.py @@ -321,5 +329,8 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/2034.test.py title: Test/yukicoder/2034.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2093.test.py + title: Test/yukicoder/2093.test.py layout: toppage --- From bcbcd39e376bf789b8c65bc9e600ff0201f16236 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 29 Jun 2023 08:56:31 +0000 Subject: [PATCH 23/38] [auto-verifier] docs commit 53a0b63c08304a1d494d825b748dec46fab47723 --- Math/Dice.py.md | 2 +- Math/Factorization.py.md | 2 +- Math/MaxCumulativeSum.py.md | 35 ++++++++++++------------ Math/PrimaryCheck.py.md | 12 ++++++--- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 12 ++++++--- Test/AOJ/Volume5/0516.test.py.md | 42 +++++++++++++++++++++++++++++ index.md | 9 +++++-- 7 files changed, 85 insertions(+), 29 deletions(-) create mode 100644 Test/AOJ/Volume5/0516.test.py.md diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 0612441..6ed227f 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_B.test.py - Test/AOJ/ITP1/ITP1_11_A.test.py + - Test/AOJ/ITP1/ITP1_11_B.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index 2340715..b7faf01 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -36,9 +36,9 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: + - Test/yukicoder/1737.test.py - Test/yukicoder/0847.test.py - Test/yukicoder/0002.test.py - - Test/yukicoder/1737.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Math/MaxCumulativeSum.py.md b/Math/MaxCumulativeSum.py.md index 46d8547..4b16b86 100644 --- a/Math/MaxCumulativeSum.py.md +++ b/Math/MaxCumulativeSum.py.md @@ -2,10 +2,13 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume5/0516.test.py + title: Test/AOJ/Volume5/0516.test.py _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -14,25 +17,23 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u306E\u90E8\u5206\u548C\u306E\u6700\ - \u5927\u5024\u3092\u6C42\u3081\u308B\ndef MaxCumulativeSum(num_array, k): # \u914D\ - \u5217\u30FB\u533A\u9593\u5E45\n max_cumulative_sum = [] # \u533A\u9593\u5E45\ - \u5206\u306E\u90E8\u5206\u548C\u3092\u683C\u7D0D\u3059\u308B\u914D\u5217\n \ - \ count = 0\n for i in range(k):\n count += num_array[i]\n max_cumulative_sum.append([count,\ - \ 0, 0 + k]) # \u90E8\u5206\u548C\u30FB\u5DE6\u7AEF\u30FB\u53F3\u7AEF\n \n\ - \ for i in range(len(num_array) - k):\n count += num_array[i + k]\n\ - \ count -= num_array[i]\n max_cumulative_sum.append([count, i +\ - \ 1, i + 1 + k])\n \n max_cumulative_sum.sort(key = lambda x: x[0], reverse\ - \ = True) # \u964D\u9806\u306B\u30BD\u30FC\u30C8\n return max_cumulative_sum[0]\n\ - \n\na = [1, 4, -1, 9, 34, 21, -12, 31]\nans = MaxCumulativeSum(a, 3) # \u914D\u5217\ - \u30FB\u533A\u9593\u5E45\nprint(ans)" + code: "def MaxCumulativeSum(num_array: list, k: int):\n max_cumulative_sum =\ + \ []\n count = 0\n for i in range(k):\n count += num_array[i]\n \ + \ max_cumulative_sum.append([count, 0, 0 + k])\n \n for i in range(len(num_array)\ + \ - k):\n count += num_array[i + k]\n count -= num_array[i]\n \ + \ max_cumulative_sum.append([count, i + 1, i + 1 + k])\n \n max_cumulative_sum.sort(key\ + \ = lambda x: x[0], reverse=True)\n return max_cumulative_sum[0]\n\n\ndef main()\ + \ -> None:\n a = [1, 4, -1, 9, 34, 21, -12, 31]\n ans = MaxCumulativeSum(a,\ + \ 3) # \u914D\u5217\u30FB\u533A\u9593\u5E45\n print(ans)\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Math/MaxCumulativeSum.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] + timestamp: '2023-06-29 17:50:03+09:00' + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/Volume5/0516.test.py documentation_of: Math/MaxCumulativeSum.py layout: document redirect_from: diff --git a/Math/PrimaryCheck.py.md b/Math/PrimaryCheck.py.md index ff00047..773eaca 100644 --- a/Math/PrimaryCheck.py.md +++ b/Math/PrimaryCheck.py.md @@ -2,10 +2,13 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] + _extendedVerifiedWith: + - icon: ':heavy_check_mark:' + path: Test/AOJ/ALDS1/ALDS1_1_C.test.py + title: Test/AOJ/ALDS1/ALDS1_1_C.test.py _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -22,8 +25,9 @@ data: path: Math/PrimaryCheck.py requiredBy: [] timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] + verificationStatus: LIBRARY_ALL_AC + verifiedWith: + - Test/AOJ/ALDS1/ALDS1_1_C.test.py documentation_of: Math/PrimaryCheck.py layout: document redirect_from: diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 629016f..88c0873 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -1,6 +1,9 @@ --- data: - _extendedDependsOn: [] + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/PrimaryCheck.py + title: Math/PrimaryCheck.py _extendedRequiredBy: [] _extendedVerifiedWith: [] _isVerificationFailed: false @@ -17,15 +20,16 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\nfrom MathLibrary import PrimaryCheck\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import PrimaryCheck\n\ \ndef main() -> None:\n ans = 0\n\n n = int(input())\n for _ in range(n):\n\ \ ans += int(PrimaryCheck.PrimaryCheck(int(input())))\n \n print(ans)\n\ \n\nif __name__ == \"__main__\":\n main()" - dependsOn: [] + dependsOn: + - Math/PrimaryCheck.py isVerificationFile: true path: Test/AOJ/ALDS1/ALDS1_1_C.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-06-29 17:50:03+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ALDS1/ALDS1_1_C.test.py diff --git a/Test/AOJ/Volume5/0516.test.py.md b/Test/AOJ/Volume5/0516.test.py.md new file mode 100644 index 0000000..6ecf98a --- /dev/null +++ b/Test/AOJ/Volume5/0516.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/MaxCumulativeSum.py + title: Math/MaxCumulativeSum.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import MaxCumulativeSum\n\ + \ndef main():\n while True:\n n, k = map(int, input().split())\n \ + \ if (n, k) == (0, 0):\n exit()\n a = [int(input()) for\ + \ _ in range(n)]\n ans = MaxCumulativeSum.MaxCumulativeSum(a, k)\n\n \ + \ print(max(ans))\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/MaxCumulativeSum.py + isVerificationFile: true + path: Test/AOJ/Volume5/0516.test.py + requiredBy: [] + timestamp: '2023-06-29 17:50:03+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/AOJ/Volume5/0516.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume5/0516.test.py +- /verify/Test/AOJ/Volume5/0516.test.py.html +title: Test/AOJ/Volume5/0516.test.py +--- diff --git a/index.md b/index.md index 35e92bd..56d8e0e 100644 --- a/index.md +++ b/index.md @@ -90,13 +90,13 @@ data: - icon: ':warning:' path: Math/ManhattanDistanceSearch.py title: Math/ManhattanDistanceSearch.py - - icon: ':warning:' + - icon: ':heavy_check_mark:' path: Math/MaxCumulativeSum.py title: Math/MaxCumulativeSum.py - icon: ':warning:' path: Math/NFactorizarition.py title: Math/NFactorizarition.py - - icon: ':warning:' + - icon: ':heavy_check_mark:' path: Math/PrimaryCheck.py title: Math/PrimaryCheck.py - icon: ':heavy_check_mark:' @@ -281,6 +281,11 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume32/3202.test.py title: Test/AOJ/Volume32/3202.test.py + - name: Test/AOJ/Volume5 + pages: + - icon: ':heavy_check_mark:' + path: Test/AOJ/Volume5/0516.test.py + title: Test/AOJ/Volume5/0516.test.py - name: Test/yosupo/DataStructure pages: - icon: ':heavy_check_mark:' From 46ca4e764c019beacfa8e1c54b2d0568583da462 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 00:18:30 +0000 Subject: [PATCH 24/38] [auto-verifier] docs commit 0b76bf7519346efe794204185985ebe2c3679a70 --- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 9 ++++--- Test/AOJ/ALDS1/ALDS1_5_D.test.py.md | 37 +++++++++++++++++++++++++++++ Tree/BinaryIndexedTree.py.md | 5 ++-- index.md | 3 +++ 4 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 Test/AOJ/ALDS1/ALDS1_5_D.test.py.md diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index 3f95af8..051ce8a 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -17,15 +17,14 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ - \nimport sys\nsys.path.append(\"../../../\")\n\ndef main():\n n = int(input())\n\ - \ s = set(list(map(int, input().split())))\n q = int(input())\n t = set(list(map(int,\ - \ input().split())))\n \n print(len(s & t))\n\n\nif __name__ == \"__main__\"\ - :\n main()\n" + \ndef main():\n n = int(input())\n s = set(list(map(int, input().split())))\n\ + \ q = int(input())\n t = set(list(map(int, input().split())))\n \n \ + \ print(len(s & t))\n\n\nif __name__ == \"__main__\":\n main()\n" dependsOn: [] isVerificationFile: true path: Test/AOJ/ALDS1/ALDS1_4_B.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-06-30 09:12:08+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ALDS1/ALDS1_4_B.test.py diff --git a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md new file mode 100644 index 0000000..c693e26 --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import BinaryIndexedTree\n\ + import copy\n\n\ndef main():\n n = int(input())\n a = list(map(int, input().split()))\n\ + \n x = copy.copy(a)\n print(BinaryIndexedTree.BIT(x))\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_5_D.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_5_D.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_5_D.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_5_D.test.py.html +title: Test/AOJ/ALDS1/ALDS1_5_D.test.py +--- diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index ba3f8e3..cb587ba 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -24,8 +24,9 @@ data: \ A[i] = A2[i2]\n i2 += 1\n elif A1[i1]\ \ <= A2[i2]:\n A[i] = A1[i1]\n i1 += 1\n \ \ else:\n A[i] = A2[i2]\n i2 += 1\n \ - \ cnt += n // 2 - i1\n return cnt\n\na = [2, 15, 23, 32, 7, 19]\nx =\ - \ copy.copy(a)\nans = BIT(x)\nprint(ans)" + \ cnt += n // 2 - i1\n\n return cnt\n\n\ndef main() -> None:\n a\ + \ = [2, 15, 23, 32, 7, 19]\n x = copy.copy(a)\n ans = BIT(x)\n print(ans)\n\ + \n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Tree/BinaryIndexedTree.py diff --git a/index.md b/index.md index 56d8e0e..365bb6e 100644 --- a/index.md +++ b/index.md @@ -201,6 +201,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_4_B.test.py title: Test/AOJ/ALDS1/ALDS1_4_B.test.py + - icon: ':x:' + path: Test/AOJ/ALDS1/ALDS1_5_D.test.py + title: Test/AOJ/ALDS1/ALDS1_5_D.test.py - name: Test/AOJ/DSL pages: - icon: ':heavy_check_mark:' From 9b7055e0a0da48d5958200184686d120abe3fb29 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 00:51:17 +0000 Subject: [PATCH 25/38] [auto-verifier] docs commit 1d0563b47218cbc6513f0cfd7076abc0a8eca47c --- Math/DigitSum_int.py.md | 18 +++++++----- Test/AOJ/ALDS1/ALDS1_10_C.test.py.md | 36 ++++++++++++++++++++++++ Test/AOJ/ALDS1/ALDS1_10_D.test.py.md | 39 ++++++++++++++++++++++++++ Test/AOJ/ALDS1/ALDS1_5_D.test.py.md | 12 ++++---- Test/AOJ/ITP1/ITP1_8_B.test.py.md | 41 ++++++++++++++++++++++++++++ index.md | 13 +++++++-- 6 files changed, 144 insertions(+), 15 deletions(-) create mode 100644 Test/AOJ/ALDS1/ALDS1_10_C.test.py.md create mode 100644 Test/AOJ/ALDS1/ALDS1_10_D.test.py.md create mode 100644 Test/AOJ/ITP1/ITP1_8_B.test.py.md diff --git a/Math/DigitSum_int.py.md b/Math/DigitSum_int.py.md index ba55a64..332d360 100644 --- a/Math/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -2,10 +2,13 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] - _extendedVerifiedWith: [] - _isVerificationFailed: false + _extendedVerifiedWith: + - icon: ':x:' + path: Test/AOJ/ITP1/ITP1_8_B.test.py + title: Test/AOJ/ITP1/ITP1_8_B.test.py + _isVerificationFailed: true _pathExtension: py - _verificationStatusIcon: ':warning:' + _verificationStatusIcon: ':x:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -16,14 +19,15 @@ data: , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ - \ += num % 10\n num //= 10\n\n return digit_sum\n\nprint(DigitSum(1234567890))" + \ += num % 10\n num //= 10\n\n return digit_sum" dependsOn: [] isVerificationFile: false path: Math/DigitSum_int.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' - verificationStatus: LIBRARY_NO_TESTS - verifiedWith: [] + timestamp: '2023-06-30 09:44:00+09:00' + verificationStatus: LIBRARY_ALL_WA + verifiedWith: + - Test/AOJ/ITP1/ITP1_8_B.test.py documentation_of: Math/DigitSum_int.py layout: document redirect_from: diff --git a/Test/AOJ/ALDS1/ALDS1_10_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_10_C.test.py.md new file mode 100644 index 0000000..70b87a8 --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_10_C.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C\n\ + \nfrom statistics import stdev\n\ndef main():\n while True:\n n = int(input())\n\ + \ if n == 0:\n exit()\n print(stdev(list(map(int, input().split()))))\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_10_C.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_10_C.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_10_C.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_10_C.test.py.html +title: Test/AOJ/ALDS1/ALDS1_10_C.test.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_10_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_10_D.test.py.md new file mode 100644 index 0000000..b235c5e --- /dev/null +++ b/Test/AOJ/ALDS1/ALDS1_10_D.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D\n\ + \ndef main():\n n = int(input())\n x = list(map(int, input().split()))\n\ + \ y = list(map(int, input().split()))\n\n ans = [0] * 4\n for i in range(n):\n\ + \ ans[0] += abs(x[i] - y[i])\n ans[1] += abs(x[i] - y[i]) ** 2\n\ + \ ans[2] += abs(x[i] - y[i]) ** 3\n ans[3] = max(ans[3], abs(x[i]\ + \ - y[i]))\n \n print(ans[0])\n print(ans[1]**0.5)\n print(ans[2]**(1/3))\n\ + \ print(ans[3])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/ALDS1/ALDS1_10_D.test.py + requiredBy: [] + timestamp: '2023-06-30 09:44:00+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/ALDS1/ALDS1_10_D.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ALDS1/ALDS1_10_D.test.py +- /verify/Test/AOJ/ALDS1/ALDS1_10_D.test.py.html +title: Test/AOJ/ALDS1/ALDS1_10_D.test.py +--- diff --git a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md index c693e26..46c7969 100644 --- a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md @@ -3,20 +3,20 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import BinaryIndexedTree\n\ import copy\n\n\ndef main():\n n = int(input())\n a = list(map(int, input().split()))\n\ \n x = copy.copy(a)\n print(BinaryIndexedTree.BIT(x))\n\n\nif __name__ ==\ @@ -26,7 +26,7 @@ data: path: Test/AOJ/ALDS1/ALDS1_5_D.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_WRONG_ANSWER + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ALDS1/ALDS1_5_D.test.py layout: document diff --git a/Test/AOJ/ITP1/ITP1_8_B.test.py.md b/Test/AOJ/ITP1/ITP1_8_B.test.py.md new file mode 100644 index 0000000..dabbc72 --- /dev/null +++ b/Test/AOJ/ITP1/ITP1_8_B.test.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: + - icon: ':x:' + path: Math/DigitSum_int.py + title: Math/DigitSum_int.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ + \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import DigitSum_int\n\ + \ndef main() -> None:\n while True:\n n = int(input())\n if n\ + \ == 0:\n exit()\n \n print(DigitSum_int.DigitSum(n))\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/DigitSum_int.py + isVerificationFile: true + path: Test/AOJ/ITP1/ITP1_8_B.test.py + requiredBy: [] + timestamp: '2023-06-30 09:44:00+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/ITP1/ITP1_8_B.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/ITP1/ITP1_8_B.test.py +- /verify/Test/AOJ/ITP1/ITP1_8_B.test.py.html +title: Test/AOJ/ITP1/ITP1_8_B.test.py +--- diff --git a/index.md b/index.md index 365bb6e..9ca6e1a 100644 --- a/index.md +++ b/index.md @@ -69,7 +69,7 @@ data: - icon: ':heavy_check_mark:' path: Math/Dice.py title: Math/Dice.py - - icon: ':warning:' + - icon: ':x:' path: Math/DigitSum_int.py title: Math/DigitSum_int.py - icon: ':warning:' @@ -189,6 +189,12 @@ data: verificationCategories: - name: Test/AOJ/ALDS1 pages: + - icon: ':x:' + path: Test/AOJ/ALDS1/ALDS1_10_C.test.py + title: Test/AOJ/ALDS1/ALDS1_10_C.test.py + - icon: ':x:' + path: Test/AOJ/ALDS1/ALDS1_10_D.test.py + title: Test/AOJ/ALDS1/ALDS1_10_D.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_13_A.test.py title: Test/AOJ/ALDS1/ALDS1_13_A.test.py @@ -201,7 +207,7 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_4_B.test.py title: Test/AOJ/ALDS1/ALDS1_4_B.test.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_5_D.test.py title: Test/AOJ/ALDS1/ALDS1_5_D.test.py - name: Test/AOJ/DSL @@ -237,6 +243,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py + - icon: ':x:' + path: Test/AOJ/ITP1/ITP1_8_B.test.py + title: Test/AOJ/ITP1/ITP1_8_B.test.py - name: Test/AOJ/Volume0 pages: - icon: ':heavy_check_mark:' From df9639c38f56e9a5ca036dc8ee42675329d419a7 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 01:08:15 +0000 Subject: [PATCH 26/38] [auto-verifier] docs commit c9f7f3ebbaa1a56e92916f55bec5ce82806a706c --- Math/DigitSum_int.py.md | 8 ++++---- Test/AOJ/{ALDS1 => ITP1}/ALDS1_10_C.test.py.md | 16 ++++++++-------- Test/AOJ/{ALDS1 => ITP1}/ALDS1_10_D.test.py.md | 18 +++++++++--------- Test/AOJ/ITP1/ITP1_8_B.test.py.md | 16 ++++++++-------- index.md | 16 ++++++++-------- 5 files changed, 37 insertions(+), 37 deletions(-) rename Test/AOJ/{ALDS1 => ITP1}/ALDS1_10_C.test.py.md (82%) rename Test/AOJ/{ALDS1 => ITP1}/ALDS1_10_D.test.py.md (82%) diff --git a/Math/DigitSum_int.py.md b/Math/DigitSum_int.py.md index 332d360..40336eb 100644 --- a/Math/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -3,12 +3,12 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_8_B.test.py title: Test/AOJ/ITP1/ITP1_8_B.test.py - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -25,7 +25,7 @@ data: path: Math/DigitSum_int.py requiredBy: [] timestamp: '2023-06-30 09:44:00+09:00' - verificationStatus: LIBRARY_ALL_WA + verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/ITP1/ITP1_8_B.test.py documentation_of: Math/DigitSum_int.py diff --git a/Test/AOJ/ALDS1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md similarity index 82% rename from Test/AOJ/ALDS1/ALDS1_10_C.test.py.md rename to Test/AOJ/ITP1/ALDS1_10_C.test.py.md index 70b87a8..4e94e4e 100644 --- a/Test/AOJ/ALDS1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -7,30 +7,30 @@ data: _pathExtension: py _verificationStatusIcon: ':x:' attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_C\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ \nfrom statistics import stdev\n\ndef main():\n while True:\n n = int(input())\n\ \ if n == 0:\n exit()\n print(stdev(list(map(int, input().split()))))\n\ \n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true - path: Test/AOJ/ALDS1/ALDS1_10_C.test.py + path: Test/AOJ/ITP1/ALDS1_10_C.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] -documentation_of: Test/AOJ/ALDS1/ALDS1_10_C.test.py +documentation_of: Test/AOJ/ITP1/ALDS1_10_C.test.py layout: document redirect_from: -- /verify/Test/AOJ/ALDS1/ALDS1_10_C.test.py -- /verify/Test/AOJ/ALDS1/ALDS1_10_C.test.py.html -title: Test/AOJ/ALDS1/ALDS1_10_C.test.py +- /verify/Test/AOJ/ITP1/ALDS1_10_C.test.py +- /verify/Test/AOJ/ITP1/ALDS1_10_C.test.py.html +title: Test/AOJ/ITP1/ALDS1_10_C.test.py --- diff --git a/Test/AOJ/ALDS1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md similarity index 82% rename from Test/AOJ/ALDS1/ALDS1_10_D.test.py.md rename to Test/AOJ/ITP1/ALDS1_10_D.test.py.md index b235c5e..b4b1d75 100644 --- a/Test/AOJ/ALDS1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -7,16 +7,16 @@ data: _pathExtension: py _verificationStatusIcon: ':x:' attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_10_D\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ \ndef main():\n n = int(input())\n x = list(map(int, input().split()))\n\ \ y = list(map(int, input().split()))\n\n ans = [0] * 4\n for i in range(n):\n\ \ ans[0] += abs(x[i] - y[i])\n ans[1] += abs(x[i] - y[i]) ** 2\n\ @@ -25,15 +25,15 @@ data: \ print(ans[3])\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true - path: Test/AOJ/ALDS1/ALDS1_10_D.test.py + path: Test/AOJ/ITP1/ALDS1_10_D.test.py requiredBy: [] - timestamp: '2023-06-30 09:44:00+09:00' + timestamp: '2023-06-30 10:01:09+09:00' verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] -documentation_of: Test/AOJ/ALDS1/ALDS1_10_D.test.py +documentation_of: Test/AOJ/ITP1/ALDS1_10_D.test.py layout: document redirect_from: -- /verify/Test/AOJ/ALDS1/ALDS1_10_D.test.py -- /verify/Test/AOJ/ALDS1/ALDS1_10_D.test.py.html -title: Test/AOJ/ALDS1/ALDS1_10_D.test.py +- /verify/Test/AOJ/ITP1/ALDS1_10_D.test.py +- /verify/Test/AOJ/ITP1/ALDS1_10_D.test.py.html +title: Test/AOJ/ITP1/ALDS1_10_D.test.py --- diff --git a/Test/AOJ/ITP1/ITP1_8_B.test.py.md b/Test/AOJ/ITP1/ITP1_8_B.test.py.md index dabbc72..57209be 100644 --- a/Test/AOJ/ITP1/ITP1_8_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_8_B.test.py.md @@ -1,25 +1,25 @@ --- data: _extendedDependsOn: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Math/DigitSum_int.py title: Math/DigitSum_int.py _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: - PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja links: - - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import DigitSum_int\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ \ == 0:\n exit()\n \n print(DigitSum_int.DigitSum(n))\n\ @@ -29,8 +29,8 @@ data: isVerificationFile: true path: Test/AOJ/ITP1/ITP1_8_B.test.py requiredBy: [] - timestamp: '2023-06-30 09:44:00+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-30 10:01:09+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ITP1/ITP1_8_B.test.py layout: document diff --git a/index.md b/index.md index 9ca6e1a..11cd1ba 100644 --- a/index.md +++ b/index.md @@ -69,7 +69,7 @@ data: - icon: ':heavy_check_mark:' path: Math/Dice.py title: Math/Dice.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Math/DigitSum_int.py title: Math/DigitSum_int.py - icon: ':warning:' @@ -189,12 +189,6 @@ data: verificationCategories: - name: Test/AOJ/ALDS1 pages: - - icon: ':x:' - path: Test/AOJ/ALDS1/ALDS1_10_C.test.py - title: Test/AOJ/ALDS1/ALDS1_10_C.test.py - - icon: ':x:' - path: Test/AOJ/ALDS1/ALDS1_10_D.test.py - title: Test/AOJ/ALDS1/ALDS1_10_D.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/ALDS1/ALDS1_13_A.test.py title: Test/AOJ/ALDS1/ALDS1_13_A.test.py @@ -225,6 +219,12 @@ data: title: Test/AOJ/GRL/GRL_1_B.test.py - name: Test/AOJ/ITP1 pages: + - icon: ':x:' + path: Test/AOJ/ITP1/ALDS1_10_C.test.py + title: Test/AOJ/ITP1/ALDS1_10_C.test.py + - icon: ':x:' + path: Test/AOJ/ITP1/ALDS1_10_D.test.py + title: Test/AOJ/ITP1/ALDS1_10_D.test.py - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_11_A.test.py title: Test/AOJ/ITP1/ITP1_11_A.test.py @@ -243,7 +243,7 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_8_B.test.py title: Test/AOJ/ITP1/ITP1_8_B.test.py - name: Test/AOJ/Volume0 From c4b6e43982b888b0e9687e94dbfd3c8cc3180882 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 04:44:55 +0000 Subject: [PATCH 27/38] [auto-verifier] docs commit 562cf69321da1e8559280e06e2009918dbb1b573 --- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 9 +++++---- Test/AOJ/ITP1/ALDS1_10_D.test.py.md | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index 4e94e4e..8ad50ca 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -8,6 +8,7 @@ data: _verificationStatusIcon: ':x:' attributes: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja + ERROR links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -16,10 +17,10 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ - \nfrom statistics import stdev\n\ndef main():\n while True:\n n = int(input())\n\ - \ if n == 0:\n exit()\n print(stdev(list(map(int, input().split()))))\n\ - \n\nif __name__ == \"__main__\":\n main()" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\ + \ ERROR\n\nfrom statistics import stdev\n\ndef main():\n while True:\n \ + \ n = int(input())\n if n == 0:\n exit()\n print(stdev(list(map(int,\ + \ input().split()))))\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/ITP1/ALDS1_10_C.test.py diff --git a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md index b4b1d75..a22fcd4 100644 --- a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -8,6 +8,7 @@ data: _verificationStatusIcon: ':x:' attributes: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja + ERROR links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -16,8 +17,8 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ - \ndef main():\n n = int(input())\n x = list(map(int, input().split()))\n\ + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\ + \ ERROR\n\ndef main():\n n = int(input())\n x = list(map(int, input().split()))\n\ \ y = list(map(int, input().split()))\n\n ans = [0] * 4\n for i in range(n):\n\ \ ans[0] += abs(x[i] - y[i])\n ans[1] += abs(x[i] - y[i]) ** 2\n\ \ ans[2] += abs(x[i] - y[i]) ** 3\n ans[3] = max(ans[3], abs(x[i]\ @@ -27,7 +28,7 @@ data: isVerificationFile: true path: Test/AOJ/ITP1/ALDS1_10_D.test.py requiredBy: [] - timestamp: '2023-06-30 10:01:09+09:00' + timestamp: '2023-06-30 13:37:37+09:00' verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/AOJ/ITP1/ALDS1_10_D.test.py From 35753fbc81ebdba498a75d6d2899ce92858b5b5d Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 06:02:27 +0000 Subject: [PATCH 28/38] [auto-verifier] docs commit 9d7d874a895c6fc85928e96ba3f94c74696d321a --- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 11 ++++++----- Test/AOJ/ITP1/ALDS1_10_D.test.py.md | 25 +++++++++++++------------ index.md | 2 +- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index 8ad50ca..fc69ec2 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -7,8 +7,8 @@ data: _pathExtension: py _verificationStatusIcon: ':x:' attributes: + ERROR: 1e-5 PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja - ERROR links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -17,10 +17,11 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\ - \ ERROR\n\nfrom statistics import stdev\n\ndef main():\n while True:\n \ - \ n = int(input())\n if n == 0:\n exit()\n print(stdev(list(map(int,\ - \ input().split()))))\n\n\nif __name__ == \"__main__\":\n main()" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ + # verification-helper: ERROR 1e-5\n\nfrom statistics import stdev\n\ndef main():\n\ + \ while True:\n n = int(input())\n if n == 0:\n exit()\n\ + \ print(stdev(list(map(int, input().split()))))\n\n\nif __name__ == \"\ + __main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/ITP1/ALDS1_10_C.test.py diff --git a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md index a22fcd4..017916f 100644 --- a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -3,12 +3,12 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: + ERROR: 1e-5 PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja - ERROR links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ @@ -17,19 +17,20 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\ - \ ERROR\n\ndef main():\n n = int(input())\n x = list(map(int, input().split()))\n\ - \ y = list(map(int, input().split()))\n\n ans = [0] * 4\n for i in range(n):\n\ - \ ans[0] += abs(x[i] - y[i])\n ans[1] += abs(x[i] - y[i]) ** 2\n\ - \ ans[2] += abs(x[i] - y[i]) ** 3\n ans[3] = max(ans[3], abs(x[i]\ - \ - y[i]))\n \n print(ans[0])\n print(ans[1]**0.5)\n print(ans[2]**(1/3))\n\ - \ print(ans[3])\n\n\nif __name__ == \"__main__\":\n main()" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ + # verification-helper: ERROR 1e-5\n\ndef main():\n n = int(input())\n x\ + \ = list(map(int, input().split()))\n y = list(map(int, input().split()))\n\ + \n ans = [0] * 4\n for i in range(n):\n ans[0] += abs(x[i] - y[i])\n\ + \ ans[1] += abs(x[i] - y[i]) ** 2\n ans[2] += abs(x[i] - y[i]) **\ + \ 3\n ans[3] = max(ans[3], abs(x[i] - y[i]))\n \n print(ans[0])\n\ + \ print(ans[1]**0.5)\n print(ans[2]**(1/3))\n print(ans[3])\n\n\nif __name__\ + \ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/ITP1/ALDS1_10_D.test.py requiredBy: [] - timestamp: '2023-06-30 13:37:37+09:00' - verificationStatus: TEST_WRONG_ANSWER + timestamp: '2023-06-30 14:54:43+09:00' + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ITP1/ALDS1_10_D.test.py layout: document diff --git a/index.md b/index.md index 11cd1ba..961f9a4 100644 --- a/index.md +++ b/index.md @@ -222,7 +222,7 @@ data: - icon: ':x:' path: Test/AOJ/ITP1/ALDS1_10_C.test.py title: Test/AOJ/ITP1/ALDS1_10_C.test.py - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ALDS1_10_D.test.py title: Test/AOJ/ITP1/ALDS1_10_D.test.py - icon: ':heavy_check_mark:' From 5026cd38d8fbfaac42cf33dee49038e40a525704 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 06:38:51 +0000 Subject: [PATCH 29/38] [auto-verifier] docs commit 3b31fb10b6190fc3067397454bce5b351c976058 --- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index fc69ec2..b33ea71 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -7,7 +7,7 @@ data: _pathExtension: py _verificationStatusIcon: ':x:' attributes: - ERROR: 1e-5 + ERROR: 1e-4 PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja @@ -18,7 +18,7 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ - # verification-helper: ERROR 1e-5\n\nfrom statistics import stdev\n\ndef main():\n\ + # verification-helper: ERROR 1e-4\n\nfrom statistics import stdev\n\ndef main():\n\ \ while True:\n n = int(input())\n if n == 0:\n exit()\n\ \ print(stdev(list(map(int, input().split()))))\n\n\nif __name__ == \"\ __main__\":\n main()" From 755a0b65175fd9256888aa80d21df571d8af8822 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 06:56:07 +0000 Subject: [PATCH 30/38] [auto-verifier] docs commit d69c4de28b221ab4d4e8a8d7a3a149bb34799c13 --- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 10 +++++----- index.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index b33ea71..e396d9c 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -3,9 +3,9 @@ data: _extendedDependsOn: [] _extendedRequiredBy: [] _extendedVerifiedWith: [] - _isVerificationFailed: true + _isVerificationFailed: false _pathExtension: py - _verificationStatusIcon: ':x:' + _verificationStatusIcon: ':heavy_check_mark:' attributes: ERROR: 1e-4 PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja @@ -18,16 +18,16 @@ data: \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ - # verification-helper: ERROR 1e-4\n\nfrom statistics import stdev\n\ndef main():\n\ + # verification-helper: ERROR 1e-4\n\nfrom statistics import pstdev\n\ndef main():\n\ \ while True:\n n = int(input())\n if n == 0:\n exit()\n\ - \ print(stdev(list(map(int, input().split()))))\n\n\nif __name__ == \"\ + \ print(pstdev(list(map(int, input().split()))))\n\n\nif __name__ == \"\ __main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/ITP1/ALDS1_10_C.test.py requiredBy: [] timestamp: '1970-01-01 00:00:00+00:00' - verificationStatus: TEST_WRONG_ANSWER + verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/ITP1/ALDS1_10_C.test.py layout: document diff --git a/index.md b/index.md index 961f9a4..b03cb53 100644 --- a/index.md +++ b/index.md @@ -219,7 +219,7 @@ data: title: Test/AOJ/GRL/GRL_1_B.test.py - name: Test/AOJ/ITP1 pages: - - icon: ':x:' + - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ALDS1_10_C.test.py title: Test/AOJ/ITP1/ALDS1_10_C.test.py - icon: ':heavy_check_mark:' From a10907bf89d1b8bc5a19e9e6011bb7c06e3e4384 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 16:40:51 +0000 Subject: [PATCH 31/38] [auto-verifier] docs commit 06eee9749eda20bc59513cbbe7f008a184186c5a --- Math/SieveOfEratosthenes.py.md | 4 +++ Test/yukicoder/0001.test.py.md | 54 ++++++++++++++++++++++++++++++++++ Test/yukicoder/0003.test.py.md | 42 ++++++++++++++++++++++++++ Test/yukicoder/0004.test.py.md | 42 ++++++++++++++++++++++++++ Test/yukicoder/0005.test.py.md | 37 +++++++++++++++++++++++ Test/yukicoder/0007.test.py.md | 46 +++++++++++++++++++++++++++++ Test/yukicoder/0008.test.py.md | 37 +++++++++++++++++++++++ Test/yukicoder/0009.test.py.md | 42 ++++++++++++++++++++++++++ Test/yukicoder/0015.test.py.md | 49 ++++++++++++++++++++++++++++++ index.md | 24 +++++++++++++++ 10 files changed, 377 insertions(+) create mode 100644 Test/yukicoder/0001.test.py.md create mode 100644 Test/yukicoder/0003.test.py.md create mode 100644 Test/yukicoder/0004.test.py.md create mode 100644 Test/yukicoder/0005.test.py.md create mode 100644 Test/yukicoder/0007.test.py.md create mode 100644 Test/yukicoder/0008.test.py.md create mode 100644 Test/yukicoder/0009.test.py.md create mode 100644 Test/yukicoder/0015.test.py.md diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index 0b94a0d..f4ef8c5 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -6,6 +6,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume11/1172.test.py title: Test/AOJ/Volume11/1172.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0007.test.py + title: Test/yukicoder/0007.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -31,6 +34,7 @@ data: timestamp: '2023-06-29 01:19:46+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: + - Test/yukicoder/0007.test.py - Test/AOJ/Volume11/1172.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document diff --git a/Test/yukicoder/0001.test.py.md b/Test/yukicoder/0001.test.py.md new file mode 100644 index 0000000..49bd3f7 --- /dev/null +++ b/Test/yukicoder/0001.test.py.md @@ -0,0 +1,54 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1 + links: + - https://yukicoder.me/problems/no/1 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1\n\nfrom\ + \ collections import defaultdict\n\ndef main() -> None:\n\n n = int(input())\n\ + \ c = int(input())\n v = int(input())\n s = list(map(int, input().split()))\n\ + \ t = list(map(int, input().split()))\n y = list(map(int, input().split()))\n\ + \ m = list(map(int, input().split()))\n\n INF = 10 ** 18\n d_time = defaultdict(list)\ + \ # d_time[i_j] := i\u304B\u3089j\u3078\u304B\u304B\u308B\u6642\u9593\n d_cost\ + \ = defaultdict(list) # d_cost[i_j] := i\u304B\u3089j\u3078\u304B\u304B\u308B\u30B3\ + \u30B9\u30C8\n\n for i in range(v):\n d_time[f'{s[i]}_{t[i]}'].append(m[i])\n\ + \ d_cost[f'{s[i]}_{t[i]}'].append(y[i])\n\n # dp[i][j] := i\u756A\u76EE\ + \u306E\u753A\u306B\u3044\u3066\u3001\u304B\u304B\u3063\u305F\u30B3\u30B9\u30C8\ + \u304Cj\u3067\u3042\u308B\u6642\u306E\u304B\u304B\u3063\u305F\u6642\u9593\u306E\ + \u6700\u5C0F\u5024\n # dp[i][j] = min(dp[i][j], dp[k][j - y[j]] + c[j]) (1\ + \ <= k < i)\n\n dp = [[INF] * (c + 1) for _ in range(n + 1)]\n for j in\ + \ range(c + 1):\n dp[1][j] = 0\n\n for i in range(1, n + 1):\n \ + \ for k in range(1, i):\n for j in range(c + 1):\n \ + \ for p, q in zip(d_cost[f'{k}_{i}'], d_time[f'{k}_{i}']):\n \ + \ if j - p >= 0:\n # k -> i\u306B\u884C\u304F\u5834\u5408\ + \u306E\u66F4\u65B0\u8DEF\u304C\u3042\u308B\u304B\u8003\u3048\u308B\u3002 (k <\ + \ i)\n dp[i][j] = min(dp[i][j], dp[k][j - p] + q)\n\n \ + \ ans = INF\n for j in range(c + 1):\n ans = min(ans, dp[-1][j])\n\ + \n print(ans) if ans != INF else print(-1)\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0001.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0001.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0001.test.py +- /verify/Test/yukicoder/0001.test.py.html +title: Test/yukicoder/0001.test.py +--- diff --git a/Test/yukicoder/0003.test.py.md b/Test/yukicoder/0003.test.py.md new file mode 100644 index 0000000..440ff1d --- /dev/null +++ b/Test/yukicoder/0003.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/3 + links: + - https://yukicoder.me/problems/no/3 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/3\n\nfrom\ + \ collections import deque\n\ndef main() -> None:\n\n n = int(input())\n\n\ + \ dist = [0] * (n + 1)\n dist[1] = 1\n\n q = deque([1])\n while q:\n\ + \ v = q.popleft()\n cnt = 0\n for i in range(60):\n \ + \ if v >> i & 1:\n cnt += 1\n\n a = v - cnt\n \ + \ if 1 <= a <= n:\n if dist[a] == 0:\n dist[a] =\ + \ dist[v] + 1\n q.append(a)\n\n b = v + cnt\n if\ + \ 1 <= b <= n:\n if dist[b] == 0:\n dist[b] = dist[v]\ + \ + 1\n q.append(b)\n\n print(dist[-1]) if dist[-1] != 0 else\ + \ print(-1)\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0003.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0003.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0003.test.py +- /verify/Test/yukicoder/0003.test.py.html +title: Test/yukicoder/0003.test.py +--- diff --git a/Test/yukicoder/0004.test.py.md b/Test/yukicoder/0004.test.py.md new file mode 100644 index 0000000..b0fc0c4 --- /dev/null +++ b/Test/yukicoder/0004.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/4 + links: + - https://yukicoder.me/problems/no/4 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/4\n\ndef\ + \ main() -> None:\n\n n = int(input())\n w = list(map(int, input().split()))\n\ + \n if sum(w) % 2:\n print('impossible')\n else:\n t = 10 **\ + \ 4 + 10\n dp = [[False] * t for _ in range(n + 1)]\n # dp[i][j]\ + \ := i\u756A\u76EE\u307E\u3067\u306E\u91CD\u308A\u3067j\u3092\u4F5C\u308C\u308B\ + \u304B\u3069\u3046\u304B\n dp[0][0] = True\n for i in range(n):\n\ + \ for j in range(t):\n if j - w[i] >= 0:\n \ + \ dp[i + 1][j] |= dp[i][j - w[i]]\n dp[i + 1][j] |= dp[i][j]\n\ + \ \n print('possible') if dp[-1][sum(w) // 2] else print('impossible')\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0004.test.py + requiredBy: [] + timestamp: '2023-07-01 01:32:50+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0004.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0004.test.py +- /verify/Test/yukicoder/0004.test.py.html +title: Test/yukicoder/0004.test.py +--- diff --git a/Test/yukicoder/0005.test.py.md b/Test/yukicoder/0005.test.py.md new file mode 100644 index 0000000..548e341 --- /dev/null +++ b/Test/yukicoder/0005.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/5 + links: + - https://yukicoder.me/problems/no/5 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/5\n\ndef\ + \ main() -> None:\n\n l = int(input())\n n = int(input())\n w = sorted(list(map(int,\ + \ input().split())))\n ans = 0\n for i in range(n):\n ans += w[i]\n\ + \ if ans > l:\n exit(print(i))\n print(n)\n\n\nif __name__\ + \ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0005.test.py + requiredBy: [] + timestamp: '2023-07-01 01:32:50+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0005.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0005.test.py +- /verify/Test/yukicoder/0005.test.py.html +title: Test/yukicoder/0005.test.py +--- diff --git a/Test/yukicoder/0007.test.py.md b/Test/yukicoder/0007.test.py.md new file mode 100644 index 0000000..4ba6e2a --- /dev/null +++ b/Test/yukicoder/0007.test.py.md @@ -0,0 +1,46 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/SieveOfEratosthenes.py + title: Math/SieveOfEratosthenes.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/7 + links: + - https://yukicoder.me/problems/no/7 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/7\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ + def main() -> None:\n\n n = int(input())\n primes_list = SieveOfEratosthenes.primes(n)\n\ + \n # dp[i] := \u6B8B\u308A\u304C i \u306E\u6642\u306B\u3042\u306A\u305F\u304C\ + \u52DD\u3064\u304B\n dp = [False] * (n + 1)\n dp[0] = True\n dp[1] =\ + \ True\n for i in range(2, n + 1):\n check = False\n for j in\ + \ primes_list:\n if 0 <= i - j <= n:\n if dp[i - j]\ + \ == False:\n check = True\n \n dp[i] = check\n\ + \ \n print(\"Win\") if dp[n] else print(\"Lose\")\n\n\nif __name__ == \"\ + __main__\":\n main()" + dependsOn: + - Math/SieveOfEratosthenes.py + isVerificationFile: true + path: Test/yukicoder/0007.test.py + requiredBy: [] + timestamp: '2023-07-01 01:32:50+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0007.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0007.test.py +- /verify/Test/yukicoder/0007.test.py.html +title: Test/yukicoder/0007.test.py +--- diff --git a/Test/yukicoder/0008.test.py.md b/Test/yukicoder/0008.test.py.md new file mode 100644 index 0000000..690b757 --- /dev/null +++ b/Test/yukicoder/0008.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/8 + links: + - https://yukicoder.me/problems/no/8 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/8\n\ndef\ + \ main() -> None:\n p = int(input())\n for _ in range(p):\n n, k\ + \ = map(int, input().split())\n if n <= k:\n print(\"Win\")\n\ + \ elif (n - 1) % (k + 1) == 0:\n print(\"Lose\")\n else:\n\ + \ print(\"Win\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0008.test.py + requiredBy: [] + timestamp: '2023-07-01 01:32:50+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0008.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0008.test.py +- /verify/Test/yukicoder/0008.test.py.html +title: Test/yukicoder/0008.test.py +--- diff --git a/Test/yukicoder/0009.test.py.md b/Test/yukicoder/0009.test.py.md new file mode 100644 index 0000000..e95a80c --- /dev/null +++ b/Test/yukicoder/0009.test.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/9 + links: + - https://yukicoder.me/problems/no/9 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ + \ heapq import heapify, heappop, heappush\n\ndef main() -> None:\n\n n = int(input())\n\ + \ a = list(map(int, input().split()))\n b = list(map(int, input().split()))\n\ + \n ans = []\n for start in range(n):\n q = []\n heapify(q)\n\ + \ for i in range(n):\n heappush(q, (a[i], 0))\n \n \ + \ for i in range(n):\n p, num = heappop(q)\n p += b[(start\ + \ + i) % n] // 2\n heappush(q, (p, num + 1))\n\n ma = 0\n \ + \ for i in range(n):\n ma = max(ma, heappop(q)[1])\n \n\ + \ ans.append(ma)\n\n print(min(ans))\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0009.test.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0009.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0009.test.py +- /verify/Test/yukicoder/0009.test.py.html +title: Test/yukicoder/0009.test.py +--- diff --git a/Test/yukicoder/0015.test.py.md b/Test/yukicoder/0015.test.py.md new file mode 100644 index 0000000..eaa9ea6 --- /dev/null +++ b/Test/yukicoder/0015.test.py.md @@ -0,0 +1,49 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/9 + links: + - https://yukicoder.me/problems/no/9 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ + \ itertools import product\nfrom bisect import bisect_right\n\ndef main() -> None:\n\ + \n n, s = map(int, input().split())\n p = [int(input()) for _ in range(n)]\n\ + \n cnt = min(20, n)\n item1 = []\n bisect_item1 = []\n for i in product([0,\ + \ 1], repeat=cnt):\n money, item = 0, []\n for j in range(cnt):\n\ + \ if i[j] == 1:\n money += p[j]\n item.append(j\ + \ + 1)\n item1.append([money, item])\n bisect_item1.append(money)\n\ + \n cnt = max(0, n - 20)\n item2 = []\n bisect_item2 = []\n for i in\ + \ product([0, 1], repeat=cnt):\n money, item = 0, []\n for j in\ + \ range(cnt):\n if i[j] == 1:\n money += p[j + 20]\n\ + \ item.append(j + 21)\n item2.append([money, item])\n \ + \ bisect_item2.append(money)\n\n item2.sort(key=lambda x: x[0])\n bisect_item2.sort()\n\ + \n ans = []\n for money, item in item1:\n if money > s: continue\n\ + \ p = bisect_right(bisect_item2, s - money)\n if money + bisect_item2[p\ + \ - 1] == s:\n a = item\n b = item2[p - 1][1]\n \ + \ ans.append(sorted(a + b))\n\n ans.sort()\n for i in ans:\n print(*i)\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0015.test.py + requiredBy: [] + timestamp: '2023-07-01 01:32:50+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/yukicoder/0015.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0015.test.py +- /verify/Test/yukicoder/0015.test.py.html +title: Test/yukicoder/0015.test.py +--- diff --git a/index.md b/index.md index b03cb53..e4fbc77 100644 --- a/index.md +++ b/index.md @@ -316,9 +316,33 @@ data: title: Test/yosupo/Sample/ManyA+B.test.py - name: Test/yukicoder pages: + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0001.test.py + title: Test/yukicoder/0001.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0002.test.py title: Test/yukicoder/0002.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0003.test.py + title: Test/yukicoder/0003.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0004.test.py + title: Test/yukicoder/0004.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0005.test.py + title: Test/yukicoder/0005.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0007.test.py + title: Test/yukicoder/0007.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0008.test.py + title: Test/yukicoder/0008.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0009.test.py + title: Test/yukicoder/0009.test.py + - icon: ':x:' + path: Test/yukicoder/0015.test.py + title: Test/yukicoder/0015.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0182.test.py title: Test/yukicoder/0182.test.py From 748edf15f779ee5d9d832a694ca69e4e336ba2b1 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 30 Jun 2023 16:59:13 +0000 Subject: [PATCH 32/38] [auto-verifier] docs commit 2c78059ebca8bfbb2c41e9f409f3a83f99a758ed --- Test/AOJ/Volume0/0001.test.py.md | 4 ++-- Test/AOJ/Volume0/0002.test.py.md | 36 ++++++++++++++++++++++++++++ Test/AOJ/Volume0/0003.test.py.md | 36 ++++++++++++++++++++++++++++ Test/AOJ/Volume0/0004.test.py.md | 40 ++++++++++++++++++++++++++++++++ Test/yukicoder/0015.test.py.md | 37 +++++++++++++++-------------- index.md | 9 +++++++ 6 files changed, 142 insertions(+), 20 deletions(-) create mode 100644 Test/AOJ/Volume0/0002.test.py.md create mode 100644 Test/AOJ/Volume0/0003.test.py.md create mode 100644 Test/AOJ/Volume0/0004.test.py.md diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index 7e42fe6..0b6ff5e 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -18,12 +18,12 @@ data: , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ - \ sep='\\n')\n\n\nif __name__ == \"__main__\":\n main()\n" + \ sep='\\n')\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/AOJ/Volume0/0001.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2023-07-01 01:49:57+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/Volume0/0001.test.py diff --git a/Test/AOJ/Volume0/0002.test.py.md b/Test/AOJ/Volume0/0002.test.py.md new file mode 100644 index 0000000..6000675 --- /dev/null +++ b/Test/AOJ/Volume0/0002.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002\n\ + \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ + \ except:\n break\n \n print(len(str(a + b)))\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume0/0002.test.py + requiredBy: [] + timestamp: '2023-07-01 01:49:57+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/Volume0/0002.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume0/0002.test.py +- /verify/Test/AOJ/Volume0/0002.test.py.html +title: Test/AOJ/Volume0/0002.test.py +--- diff --git a/Test/AOJ/Volume0/0003.test.py.md b/Test/AOJ/Volume0/0003.test.py.md new file mode 100644 index 0000000..1d6f5cc --- /dev/null +++ b/Test/AOJ/Volume0/0003.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003\n\ + \ndef main():\n N = int(input())\n for _ in range(N):\n a, b, c =\ + \ sorted(list(map(int, input().split())))\n print(\"YES\") if a ** 2 +\ + \ b ** 2 == c ** 2 else print(\"NO\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume0/0003.test.py + requiredBy: [] + timestamp: '2023-07-01 01:49:57+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/Volume0/0003.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume0/0003.test.py +- /verify/Test/AOJ/Volume0/0003.test.py.html +title: Test/AOJ/Volume0/0003.test.py +--- diff --git a/Test/AOJ/Volume0/0004.test.py.md b/Test/AOJ/Volume0/0004.test.py.md new file mode 100644 index 0000000..0146ab4 --- /dev/null +++ b/Test/AOJ/Volume0/0004.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 + links: + - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004\n\ + \ndef main():\n while True:\n try:\n a, b, c, d, e, f = map(int,\ + \ input().split())\n except:\n break\n \n \ + \ if a * e - b * d == 0:\n print(\"0.000 0.000\")\n else:\n\ + \ p, q = e * c - b * f, -d * c + a * f\n if p != 0:\n \ + \ p /= (a * e - b * d)\n if q != 0:\n q\ + \ /= (a * e - b * d)\n print(\"{:.3f}\".format(p), \"{:.3f}\".format(q))\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/AOJ/Volume0/0004.test.py + requiredBy: [] + timestamp: '2023-07-01 01:49:57+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/AOJ/Volume0/0004.test.py +layout: document +redirect_from: +- /verify/Test/AOJ/Volume0/0004.test.py +- /verify/Test/AOJ/Volume0/0004.test.py.html +title: Test/AOJ/Volume0/0004.test.py +--- diff --git a/Test/yukicoder/0015.test.py.md b/Test/yukicoder/0015.test.py.md index eaa9ea6..766a640 100644 --- a/Test/yukicoder/0015.test.py.md +++ b/Test/yukicoder/0015.test.py.md @@ -7,6 +7,7 @@ data: _pathExtension: py _verificationStatusIcon: ':x:' attributes: + IGNORE: '' PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 @@ -16,28 +17,28 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ - \ itertools import product\nfrom bisect import bisect_right\n\ndef main() -> None:\n\ - \n n, s = map(int, input().split())\n p = [int(input()) for _ in range(n)]\n\ - \n cnt = min(20, n)\n item1 = []\n bisect_item1 = []\n for i in product([0,\ - \ 1], repeat=cnt):\n money, item = 0, []\n for j in range(cnt):\n\ - \ if i[j] == 1:\n money += p[j]\n item.append(j\ - \ + 1)\n item1.append([money, item])\n bisect_item1.append(money)\n\ - \n cnt = max(0, n - 20)\n item2 = []\n bisect_item2 = []\n for i in\ - \ product([0, 1], repeat=cnt):\n money, item = 0, []\n for j in\ - \ range(cnt):\n if i[j] == 1:\n money += p[j + 20]\n\ - \ item.append(j + 21)\n item2.append([money, item])\n \ - \ bisect_item2.append(money)\n\n item2.sort(key=lambda x: x[0])\n bisect_item2.sort()\n\ - \n ans = []\n for money, item in item1:\n if money > s: continue\n\ - \ p = bisect_right(bisect_item2, s - money)\n if money + bisect_item2[p\ - \ - 1] == s:\n a = item\n b = item2[p - 1][1]\n \ - \ ans.append(sorted(a + b))\n\n ans.sort()\n for i in ans:\n print(*i)\n\ - \n\nif __name__ == \"__main__\":\n main()" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n# verification-helper:\ + \ IGNORE\n\nfrom itertools import product\nfrom bisect import bisect_right\n\n\ + def main() -> None:\n\n n, s = map(int, input().split())\n p = [int(input())\ + \ for _ in range(n)]\n\n cnt = min(20, n)\n item1 = []\n bisect_item1\ + \ = []\n for i in product([0, 1], repeat=cnt):\n money, item = 0, []\n\ + \ for j in range(cnt):\n if i[j] == 1:\n money\ + \ += p[j]\n item.append(j + 1)\n item1.append([money, item])\n\ + \ bisect_item1.append(money)\n\n cnt = max(0, n - 20)\n item2 = []\n\ + \ bisect_item2 = []\n for i in product([0, 1], repeat=cnt):\n money,\ + \ item = 0, []\n for j in range(cnt):\n if i[j] == 1:\n \ + \ money += p[j + 20]\n item.append(j + 21)\n \ + \ item2.append([money, item])\n bisect_item2.append(money)\n\n item2.sort(key=lambda\ + \ x: x[0])\n bisect_item2.sort()\n\n ans = []\n for money, item in item1:\n\ + \ if money > s: continue\n p = bisect_right(bisect_item2, s - money)\n\ + \ if money + bisect_item2[p - 1] == s:\n a = item\n \ + \ b = item2[p - 1][1]\n ans.append(sorted(a + b))\n\n ans.sort()\n\ + \ for i in ans:\n print(*i)\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: true path: Test/yukicoder/0015.test.py requiredBy: [] - timestamp: '2023-07-01 01:32:50+09:00' + timestamp: '2023-07-01 01:49:57+09:00' verificationStatus: TEST_WRONG_ANSWER verifiedWith: [] documentation_of: Test/yukicoder/0015.test.py diff --git a/index.md b/index.md index e4fbc77..4231f6c 100644 --- a/index.md +++ b/index.md @@ -254,6 +254,15 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/Volume0/0001.test.py title: Test/AOJ/Volume0/0001.test.py + - icon: ':x:' + path: Test/AOJ/Volume0/0002.test.py + title: Test/AOJ/Volume0/0002.test.py + - icon: ':x:' + path: Test/AOJ/Volume0/0003.test.py + title: Test/AOJ/Volume0/0003.test.py + - icon: ':x:' + path: Test/AOJ/Volume0/0004.test.py + title: Test/AOJ/Volume0/0004.test.py - name: Test/AOJ/Volume10 pages: - icon: ':heavy_check_mark:' From b4522cfaec6bc4360b9b242b7784e6f409d761ec Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 9 Jul 2023 14:18:44 +0000 Subject: [PATCH 33/38] [auto-verifier] docs commit 9f1f96a41708f79b6f741b4ef4e47bb9820e41d3 --- Math/Factorization.py.md | 2 +- Math/SieveOfEratosthenes.py.md | 4 +++ Test/yukicoder/0044.test.py.md | 37 ++++++++++++++++++++++++ Test/yukicoder/0053.test.py.md | 36 ++++++++++++++++++++++++ Test/yukicoder/0064.test.py.md | 35 +++++++++++++++++++++++ Test/yukicoder/0167.test.py.md | 36 ++++++++++++++++++++++++ Test/yukicoder/0204.test.py.md | 43 ++++++++++++++++++++++++++++ Test/yukicoder/0208.test.py.md | 37 ++++++++++++++++++++++++ Test/yukicoder/0244.test.py.md | 35 +++++++++++++++++++++++ Test/yukicoder/0314.test.py.md | 39 ++++++++++++++++++++++++++ Test/yukicoder/0451.test.py.md | 41 +++++++++++++++++++++++++++ Test/yukicoder/0713.test.py.md | 40 ++++++++++++++++++++++++++ Test/yukicoder/0786.test.py.md | 36 ++++++++++++++++++++++++ Test/yukicoder/1155.test.py.md | 36 ++++++++++++++++++++++++ Test/yukicoder/1367.test.py.md | 37 ++++++++++++++++++++++++ Test/yukicoder/1454.test.py.md | 40 ++++++++++++++++++++++++++ Test/yukicoder/1737.test.py.md | 7 +++-- Test/yukicoder/1749.test.py.md | 43 ++++++++++++++++++++++++++++ Test/yukicoder/2371.test.py.md | 37 ++++++++++++++++++++++++ Test/yukicoder/2373.test.py.md | 50 +++++++++++++++++++++++++++++++++ Tree/UnionFindTree.py.md | 2 +- index.md | 51 ++++++++++++++++++++++++++++++++++ 22 files changed, 719 insertions(+), 5 deletions(-) create mode 100644 Test/yukicoder/0044.test.py.md create mode 100644 Test/yukicoder/0053.test.py.md create mode 100644 Test/yukicoder/0064.test.py.md create mode 100644 Test/yukicoder/0167.test.py.md create mode 100644 Test/yukicoder/0204.test.py.md create mode 100644 Test/yukicoder/0208.test.py.md create mode 100644 Test/yukicoder/0244.test.py.md create mode 100644 Test/yukicoder/0314.test.py.md create mode 100644 Test/yukicoder/0451.test.py.md create mode 100644 Test/yukicoder/0713.test.py.md create mode 100644 Test/yukicoder/0786.test.py.md create mode 100644 Test/yukicoder/1155.test.py.md create mode 100644 Test/yukicoder/1367.test.py.md create mode 100644 Test/yukicoder/1454.test.py.md create mode 100644 Test/yukicoder/1749.test.py.md create mode 100644 Test/yukicoder/2371.test.py.md create mode 100644 Test/yukicoder/2373.test.py.md diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index b7faf01..2340715 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -36,9 +36,9 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/1737.test.py - Test/yukicoder/0847.test.py - Test/yukicoder/0002.test.py + - Test/yukicoder/1737.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index f4ef8c5..ee8be7d 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -9,6 +9,9 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/0007.test.py title: Test/yukicoder/0007.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0713.test.py + title: Test/yukicoder/0713.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -35,6 +38,7 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yukicoder/0007.test.py + - Test/yukicoder/0713.test.py - Test/AOJ/Volume11/1172.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document diff --git a/Test/yukicoder/0044.test.py.md b/Test/yukicoder/0044.test.py.md new file mode 100644 index 0000000..29e6d9a --- /dev/null +++ b/Test/yukicoder/0044.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/44 + links: + - https://yukicoder.me/problems/no/44 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/44\n\n\n\ + def main() -> None:\n\n n = int(input())\n\n dp = [0] * (n + 1)\n dp[0]\ + \ = 1\n dp[1] = 1\n for i in range(2, n + 1):\n dp[i] = dp[i - 1]\ + \ + dp[i - 2]\n \n\n print(dp[n])\n\n\nif __name__ == \"__main__\":\n \ + \ main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0044.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0044.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0044.test.py +- /verify/Test/yukicoder/0044.test.py.html +title: Test/yukicoder/0044.test.py +--- diff --git a/Test/yukicoder/0053.test.py.md b/Test/yukicoder/0053.test.py.md new file mode 100644 index 0000000..21f32d9 --- /dev/null +++ b/Test/yukicoder/0053.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + ERROR: 1e-9 + PROBLEM: https://yukicoder.me/problems/no/53 + links: + - https://yukicoder.me/problems/no/53 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/53\n# verification-helper:\ + \ ERROR 1e-9\n\ndef main() -> None:\n n = int(input())\n print(4 * pow(0.75,\ + \ n))\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0053.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0053.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0053.test.py +- /verify/Test/yukicoder/0053.test.py.html +title: Test/yukicoder/0053.test.py +--- diff --git a/Test/yukicoder/0064.test.py.md b/Test/yukicoder/0064.test.py.md new file mode 100644 index 0000000..cb3ede9 --- /dev/null +++ b/Test/yukicoder/0064.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/64 + links: + - https://yukicoder.me/problems/no/64 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/64\n\ndef\ + \ main() -> None:\n f0, f1, n = map(int, input().split())\n a = [f0, f1,\ + \ f0 ^ f1]\n print(a[n % 3])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0064.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0064.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0064.test.py +- /verify/Test/yukicoder/0064.test.py.html +title: Test/yukicoder/0064.test.py +--- diff --git a/Test/yukicoder/0167.test.py.md b/Test/yukicoder/0167.test.py.md new file mode 100644 index 0000000..0c99f4d --- /dev/null +++ b/Test/yukicoder/0167.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/167 + links: + - https://yukicoder.me/problems/no/167 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/167\n\nimport\ + \ sys\nsys.set_int_max_str_digits(10**9)\n\ndef main() -> None:\n\n n = int(input())\n\ + \ m = int(input())\n\n print(pow(n, m, 10))\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0167.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0167.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0167.test.py +- /verify/Test/yukicoder/0167.test.py.html +title: Test/yukicoder/0167.test.py +--- diff --git a/Test/yukicoder/0204.test.py.md b/Test/yukicoder/0204.test.py.md new file mode 100644 index 0000000..f2fce8f --- /dev/null +++ b/Test/yukicoder/0204.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/204 + links: + - https://yukicoder.me/problems/no/204 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/204\n\n\n\ + def main() -> None:\n d = int(input())\n c1 = input()\n c2 = input()\n\ + \ s = \"x\" * 14 + c1 + c2 + \"x\" * 14\n ans = 0\n for i in range(27):\n\ + \ if i + d > 42:\n continue\n p = [i for i in s]\n \ + \ cnt = 0\n for j in range(d):\n if p[i + j] == \"x\":\n\ + \ cnt += 1 \n p[i + j] = \"o\"\n if cnt\ + \ <= d:\n num = 0\n for i in range(42):\n \ + \ if p[i] == \"o\":\n num += 1\n else:\n \ + \ ans = max(ans, num)\n num = 0\n \ + \ ans = max(ans, num)\n \n print(ans)\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0204.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/yukicoder/0204.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0204.test.py +- /verify/Test/yukicoder/0204.test.py.html +title: Test/yukicoder/0204.test.py +--- diff --git a/Test/yukicoder/0208.test.py.md b/Test/yukicoder/0208.test.py.md new file mode 100644 index 0000000..efd5619 --- /dev/null +++ b/Test/yukicoder/0208.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/208 + links: + - https://yukicoder.me/problems/no/208 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/208\n\ndef\ + \ main() -> None:\n x, y = map(int, input().split())\n x2, y2 = map(int,\ + \ input().split())\n\n if x == y and x2 == y2 and x2 < x:\n print(max(x,\ + \ y) + 1)\n else:\n print(max(x, y))\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0208.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0208.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0208.test.py +- /verify/Test/yukicoder/0208.test.py.html +title: Test/yukicoder/0208.test.py +--- diff --git a/Test/yukicoder/0244.test.py.md b/Test/yukicoder/0244.test.py.md new file mode 100644 index 0000000..2a5e852 --- /dev/null +++ b/Test/yukicoder/0244.test.py.md @@ -0,0 +1,35 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/244 + links: + - https://yukicoder.me/problems/no/244 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/244\n\ndef\ + \ main() -> None:\n n = int(input())\n\n print(n - 1)\n\n\nif __name__ ==\ + \ \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0244.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0244.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0244.test.py +- /verify/Test/yukicoder/0244.test.py.html +title: Test/yukicoder/0244.test.py +--- diff --git a/Test/yukicoder/0314.test.py.md b/Test/yukicoder/0314.test.py.md new file mode 100644 index 0000000..4402415 --- /dev/null +++ b/Test/yukicoder/0314.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/314 + links: + - https://yukicoder.me/problems/no/314 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/314\n\ndef\ + \ main() -> None:\n n = int(input())\n \n dp = [[0] * 3 for _ in range(n\ + \ + 1)]\n dp[1][1] = 1\n mod = 10**9 + 7\n\n for i in range(2, n + 1):\n\ + \ dp[i][0] = dp[i - 1][1] + dp[i - 1][2]\n dp[i][1] = dp[i - 1][0]\n\ + \ dp[i][2] = dp[i - 1][1]\n for j in range(3):\n dp[i][j]\ + \ %= mod\n \n print(sum(dp[n]) % mod)\n\nif __name__ == \"__main__\":\n\ + \ main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0314.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0314.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0314.test.py +- /verify/Test/yukicoder/0314.test.py.html +title: Test/yukicoder/0314.test.py +--- diff --git a/Test/yukicoder/0451.test.py.md b/Test/yukicoder/0451.test.py.md new file mode 100644 index 0000000..cbb91bc --- /dev/null +++ b/Test/yukicoder/0451.test.py.md @@ -0,0 +1,41 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/451 + links: + - https://yukicoder.me/problems/no/451 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/451\n\ndef\ + \ main() -> None:\n n = int(input())\n b = [int(input()) for _ in range(n)]\n\ + \ i, mid = 0, 0\n a = [1] * (n + 1)\n while i < n:\n if i % 2:\n\ + \ a[i + 1] = a[i] - b[i]\n else:\n a[i + 1] = b[i]\ + \ - a[i]\n \n if a[i + 1] <= 0 or a[i + 1] > 10**18:\n \ + \ a[0] += 1 - a[i + 1]\n i = -1\n mid += 1\n if\ + \ mid == 10:\n exit(print(-1))\n i += 1\n \n if a[0] <=\ + \ 0:\n exit(print(-1))\n \n print(n + 1)\n for i in range(n +\ + \ 1):\n print(a[i])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0451.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/yukicoder/0451.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0451.test.py +- /verify/Test/yukicoder/0451.test.py.html +title: Test/yukicoder/0451.test.py +--- diff --git a/Test/yukicoder/0713.test.py.md b/Test/yukicoder/0713.test.py.md new file mode 100644 index 0000000..66cfd14 --- /dev/null +++ b/Test/yukicoder/0713.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/SieveOfEratosthenes.py + title: Math/SieveOfEratosthenes.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/713 + links: + - https://yukicoder.me/problems/no/713 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/713\n\nimport\ + \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ + \ndef main() -> None:\n print(sum(SieveOfEratosthenes.primes(int(input()))))\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/SieveOfEratosthenes.py + isVerificationFile: true + path: Test/yukicoder/0713.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/0713.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0713.test.py +- /verify/Test/yukicoder/0713.test.py.html +title: Test/yukicoder/0713.test.py +--- diff --git a/Test/yukicoder/0786.test.py.md b/Test/yukicoder/0786.test.py.md new file mode 100644 index 0000000..80c9efb --- /dev/null +++ b/Test/yukicoder/0786.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: true + _pathExtension: py + _verificationStatusIcon: ':x:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/786 + links: + - https://yukicoder.me/problems/no/786 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/786\n\ndef\ + \ main() -> None:\n n = int(input())\n dp = [0] * (n + 1)\n dp[1] = 1\n\ + \ dp[2] = 2\n for i in range(3, n + 1):\n dp[i] = dp[i - 1] + dp[i\ + \ - 2]\n \n print(dp[n])\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/0786.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_WRONG_ANSWER + verifiedWith: [] +documentation_of: Test/yukicoder/0786.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/0786.test.py +- /verify/Test/yukicoder/0786.test.py.html +title: Test/yukicoder/0786.test.py +--- diff --git a/Test/yukicoder/1155.test.py.md b/Test/yukicoder/1155.test.py.md new file mode 100644 index 0000000..1a0661a --- /dev/null +++ b/Test/yukicoder/1155.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1155 + links: + - https://yukicoder.me/problems/no/1155 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1155\n\n\ + def main() -> None:\n place = [\"Shiitakerando\", \"Otsukakokusaibijutsukan\"\ + , \"Spring-8\"]\n\n print(place[int(input()) - 1])\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1155.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1155.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1155.test.py +- /verify/Test/yukicoder/1155.test.py.html +title: Test/yukicoder/1155.test.py +--- diff --git a/Test/yukicoder/1367.test.py.md b/Test/yukicoder/1367.test.py.md new file mode 100644 index 0000000..2a1b962 --- /dev/null +++ b/Test/yukicoder/1367.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1367 + links: + - https://yukicoder.me/problems/no/1367 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1367\n\n\ + def main() -> None:\n s = input()\n t = \"kadomatsu\"\n ind = 0\n \ + \ for i in range(9):\n if s[ind] == t[i]:\n ind += 1\n \ + \ if ind == len(s):\n exit(print(\"Yes\"))\n \n print(\"No\"\ + )\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1367.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1367.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1367.test.py +- /verify/Test/yukicoder/1367.test.py.html +title: Test/yukicoder/1367.test.py +--- diff --git a/Test/yukicoder/1454.test.py.md b/Test/yukicoder/1454.test.py.md new file mode 100644 index 0000000..4c20f1e --- /dev/null +++ b/Test/yukicoder/1454.test.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1454 + links: + - https://yukicoder.me/problems/no/1454 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1454\n\n\ + def main() -> None:\n n, m, x, y = map(int, input().split())\n a = list(map(int,\ + \ input().split()))\n\n p = []\n for i in range(n):\n if a[i] <=\ + \ y:\n continue\n p.append(a[i])\n \n n = len(p)\n \ + \ if n <= m:\n print(sum(p))\n else:\n p.sort()\n for\ + \ i in range(n - m):\n if p[i] >= x:\n exit(print(\"\ + Handicapped\"))\n p.sort(reverse=True)\n print(sum(p[:m]))\n\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1454.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1454.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1454.test.py +- /verify/Test/yukicoder/1454.test.py.html +title: Test/yukicoder/1454.test.py +--- diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 8a6ea7c..0d4cbb6 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -21,14 +21,15 @@ data: , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\n\ - n = int(input())\n\nif n == 1:\n print(0)\n exit()\n\nans = 0\nfor i, j\ - \ in Factorization.factorization(n):\n ans += i * j\n\nprint(ans)" + def main() -> None:\n n = int(input())\n\n if n == 1:\n exit(print(0))\n\ + \n ans = 0\n for i, j in Factorization.factorization(n):\n ans +=\ + \ i * j\n\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()" dependsOn: - Math/Factorization.py isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' + timestamp: '2023-07-09 23:09:33+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/1737.test.py diff --git a/Test/yukicoder/1749.test.py.md b/Test/yukicoder/1749.test.py.md new file mode 100644 index 0000000..22c5a05 --- /dev/null +++ b/Test/yukicoder/1749.test.py.md @@ -0,0 +1,43 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/1749 + links: + - https://yukicoder.me/problems/no/1749 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1749\n\n\ + def main() -> None:\n n, m, t = map(int, input().split())\n \n g = [[]\ + \ for _ in range(n)]\n for _ in range(m):\n x, y = map(int, input().split())\n\ + \ g[x].append(y)\n g[y].append(x)\n mod = 998244353\n\n #\ + \ dp[i][j] := i \u65E5\u76EE\u306B\u90FD\u5E02 j \u3067\u611F\u67D3\u3057\u3066\ + \u3044\u308B\u4EBA\u6570\u306E\u5408\u8A08\n dp = [[0] * (n + 1) for _ in range(t\ + \ + 1)]\n dp[0][0] = 1\n for i in range(1, t + 1):\n for j in range(n):\n\ + \ cnt = 0\n for nxt in g[j]:\n cnt += dp[i\ + \ - 1][nxt]\n cnt %= mod\n\n dp[i][j] = cnt\n \ + \ dp[i][j] %= mod\n\n print(dp[t][0])\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/1749.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/1749.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/1749.test.py +- /verify/Test/yukicoder/1749.test.py.html +title: Test/yukicoder/1749.test.py +--- diff --git a/Test/yukicoder/2371.test.py.md b/Test/yukicoder/2371.test.py.md new file mode 100644 index 0000000..b05eb9b --- /dev/null +++ b/Test/yukicoder/2371.test.py.md @@ -0,0 +1,37 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2371 + links: + - https://yukicoder.me/problems/no/2371 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2371\n\n\ + def main() -> None:\n h, m = map(int, input().split())\n time = h * 60 +\ + \ m\n\n if time <= 7 * 60 + 29:\n print(\"Yes\")\n elif time <= 8\ + \ * 60 + 29:\n print(\"Late\")\n else:\n print(\"No\")\n\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2371.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2371.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2371.test.py +- /verify/Test/yukicoder/2371.test.py.html +title: Test/yukicoder/2371.test.py +--- diff --git a/Test/yukicoder/2373.test.py.md b/Test/yukicoder/2373.test.py.md new file mode 100644 index 0000000..44dc501 --- /dev/null +++ b/Test/yukicoder/2373.test.py.md @@ -0,0 +1,50 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2373 + links: + - https://yukicoder.me/problems/no/2373 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2373\n\n\ + def main() -> None:\n n = int(input())\n s = list(input())\n dp = [[False]\ + \ * 4 for _ in range(n + 1)]\n # 0 := w, 1 := a, 2 := o, 3 := n\n if s[0]\ + \ == \"w\":\n dp[1][0] = True\n if s[0] == \"n\":\n dp[1][3]\ + \ = True\n if s[0] == \"?\":\n dp[1][0] = True\n dp[1][3] = True\n\ + \ \n for i in range(2, n + 1):\n if dp[i - 1][0]:\n if\ + \ s[i - 1] == \"a\" or s[i - 1] == \"?\":\n dp[i][1] = True\n \ + \ if s[i - 1] == \"o\" or s[i - 1] == \"?\":\n dp[i][2]\ + \ = True\n if dp[i - 1][1]:\n if s[i - 1] == \"w\" or s[i -\ + \ 1] == \"?\":\n dp[i][0] = True\n if s[i - 1] == \"\ + n\" or s[i - 1] == \"?\":\n dp[i][3] = True\n if dp[i -\ + \ 1][2]:\n if s[i - 1] == \"w\" or s[i - 1] == \"?\":\n \ + \ dp[i][0] = True\n if s[i - 1] == \"n\" or s[i - 1] == \"?\":\n\ + \ dp[i][3] = True\n if dp[i - 1][3]:\n if s[i\ + \ - 1] == \"w\" or s[i - 1] == \"?\":\n dp[i][0] = True\n \ + \ if s[i - 1] == \"n\" or s[i - 1] == \"?\":\n dp[i][3] =\ + \ True\n\n print(\"Yes\") if dp[n][1] or dp[n][2] or dp[n][3] else print(\"\ + No\")\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2373.test.py + requiredBy: [] + timestamp: '2023-07-09 23:09:33+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2373.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2373.test.py +- /verify/Test/yukicoder/2373.test.py.html +title: Test/yukicoder/2373.test.py +--- diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index b9a87c6..c389d14 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -39,8 +39,8 @@ data: timestamp: '2022-07-15 00:14:10+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yosupo/DataStructure/Unionfind.test.py - Test/AOJ/DSL/DSL_1_A.test.py + - Test/yosupo/DataStructure/Unionfind.test.py documentation_of: Tree/UnionFindTree.py layout: document redirect_from: diff --git a/index.md b/index.md index 4231f6c..a294eed 100644 --- a/index.md +++ b/index.md @@ -352,27 +352,72 @@ data: - icon: ':x:' path: Test/yukicoder/0015.test.py title: Test/yukicoder/0015.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0044.test.py + title: Test/yukicoder/0044.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0053.test.py + title: Test/yukicoder/0053.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0064.test.py + title: Test/yukicoder/0064.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0167.test.py + title: Test/yukicoder/0167.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0182.test.py title: Test/yukicoder/0182.test.py + - icon: ':x:' + path: Test/yukicoder/0204.test.py + title: Test/yukicoder/0204.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0208.test.py + title: Test/yukicoder/0208.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0244.test.py + title: Test/yukicoder/0244.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0314.test.py + title: Test/yukicoder/0314.test.py + - icon: ':x:' + path: Test/yukicoder/0451.test.py + title: Test/yukicoder/0451.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0677.test.py title: Test/yukicoder/0677.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0697.test.py title: Test/yukicoder/0697.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/0713.test.py + title: Test/yukicoder/0713.test.py + - icon: ':x:' + path: Test/yukicoder/0786.test.py + title: Test/yukicoder/0786.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/0847.test.py title: Test/yukicoder/0847.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1003.test.py title: Test/yukicoder/1003.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1155.test.py + title: Test/yukicoder/1155.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1367.test.py + title: Test/yukicoder/1367.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1454.test.py + title: Test/yukicoder/1454.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1639.test.py title: Test/yukicoder/1639.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1737.test.py title: Test/yukicoder/1737.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/1749.test.py + title: Test/yukicoder/1749.test.py - icon: ':heavy_check_mark:' path: Test/yukicoder/1808.test.py title: Test/yukicoder/1808.test.py @@ -382,5 +427,11 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/2093.test.py title: Test/yukicoder/2093.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2371.test.py + title: Test/yukicoder/2371.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2373.test.py + title: Test/yukicoder/2373.test.py layout: toppage --- From dfef013013b0aabec4c45984a209381558113f77 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 10 Nov 2023 10:25:41 +0000 Subject: [PATCH 34/38] [auto-verifier] docs commit 8d42ea59cb20e7dcaf4887b7336bcaf08bcfdcdd --- DP/LongestCommonSubsequence.py.md | 4 +- DP/LongestIncreasingSubsequence.py.md | 4 +- DP/SlideMinAlgorithm.py.md | 40 ++++++++++++++++++ Geometry/RotateLeft.py.md | 4 +- Geometry/RotateReverse.py.md | 4 +- Geometry/RotateRight.py.md | 4 +- Geometry/RotateTranspose.py.md | 4 +- Geometry/SharedPoint.py.md | 4 +- Graph/BellmanFord.py.md | 4 +- Graph/Dijkstra.py.md | 4 +- Graph/EulerTour.py.md | 4 +- Graph/Kruskal.py.md | 4 +- Graph/LowestCommonAncestor.py.md | 4 +- Graph/Prim.py.md | 4 +- Graph/StronglyConnectedComponent.py.md | 4 +- Graph/TopologicalSort.py.md | 4 +- Graph/warshall_floyd.py.md | 4 +- Math/BinaryToDecimal.py.md | 4 +- Math/CumulativeSum.py.md | 4 +- Math/DecimalToBinary.py.md | 4 +- Math/Dice.py.md | 6 +-- Math/DigitSum_int.py.md | 4 +- Math/DigitSum_str.py.md | 4 +- Math/Divisor.py.md | 4 +- Math/ExtGCD.py.md | 4 +- Math/Factorization.py.md | 12 +++--- Math/FromFloatToInt.py.md | 4 +- Math/ManhattanDistanceSearch.py.md | 4 +- Math/MatrixPow.py.md | 42 +++++++++++++++++++ Math/MaxCumulativeSum.py.md | 4 +- Math/NFactorizarition.py.md | 4 +- Math/PrimaryCheck.py.md | 4 +- Math/SieveOfEratosthenes.py.md | 6 +-- Math/SortedMultiset.py.md | 4 +- Math/SortedSet.py.md | 4 +- Math/XorToN.py.md | 4 +- Math/doubling.py.md | 4 +- Math/nCk.py.md | 4 +- Math/nCkFactorization.py.md | 4 +- Other/debug.py.md | 4 +- Search/BinarySearch.py.md | 4 +- Search/BitSearch.py.md | 4 +- Search/BreadthFirstSearch_graph.py.md | 4 +- Search/BreadthFirstSearch_grid.py.md | 4 +- String/BoyerMoore.py.md | 4 +- String/CoordinateCompression.py.md | 4 +- String/RunLengthEncoding.py.md | 4 +- Template/Template.py.md | 4 +- Template/VerifyHelperTemplate.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_5_D.test.py.md | 4 +- Test/AOJ/DSL/DSL_1_A.test.py.md | 4 +- Test/AOJ/GRL/GRL_1_A.test.py.md | 4 +- Test/AOJ/GRL/GRL_1_B.test.py.md | 4 +- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 4 +- Test/AOJ/ITP1/ALDS1_10_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_A.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_B.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_C.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_2_A.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_8_B.test.py.md | 4 +- Test/AOJ/Volume0/0000.test.py.md | 4 +- Test/AOJ/Volume0/0001.test.py.md | 4 +- Test/AOJ/Volume0/0002.test.py.md | 4 +- Test/AOJ/Volume0/0003.test.py.md | 4 +- Test/AOJ/Volume0/0004.test.py.md | 4 +- Test/AOJ/Volume10/1000.test.py.md | 4 +- Test/AOJ/Volume11/1147.test.py.md | 4 +- Test/AOJ/Volume11/1153.test.py.md | 4 +- Test/AOJ/Volume11/1172.test.py.md | 4 +- Test/AOJ/Volume16/1608.test.py.md | 4 +- Test/AOJ/Volume16/1640.test.py.md | 4 +- Test/AOJ/Volume21/2197.test.py.md | 4 +- Test/AOJ/Volume29/2944.test.py.md | 4 +- Test/AOJ/Volume32/3202.test.py.md | 4 +- Test/AOJ/Volume5/0516.test.py.md | 4 +- .../DataStructure/AssociativeArray.py.md | 4 +- .../yosupo/DataStructure/StaticRMQ.test.py.md | 4 +- .../yosupo/DataStructure/Unionfind.test.py.md | 4 +- Test/yosupo/Sample/A+B.test.py.md | 4 +- Test/yosupo/Sample/ManyA+B.test.py.md | 4 +- Test/yukicoder/0001.test.py.md | 4 +- Test/yukicoder/0002.test.py.md | 6 +-- Test/yukicoder/0003.test.py.md | 4 +- Test/yukicoder/0004.test.py.md | 4 +- Test/yukicoder/0005.test.py.md | 4 +- Test/yukicoder/0007.test.py.md | 4 +- Test/yukicoder/0008.test.py.md | 4 +- Test/yukicoder/0009.test.py.md | 4 +- Test/yukicoder/0015.test.py.md | 4 +- Test/yukicoder/0044.test.py.md | 4 +- Test/yukicoder/0053.test.py.md | 4 +- Test/yukicoder/0064.test.py.md | 4 +- Test/yukicoder/0167.test.py.md | 4 +- Test/yukicoder/0182.test.py.md | 4 +- Test/yukicoder/0204.test.py.md | 4 +- Test/yukicoder/0208.test.py.md | 4 +- Test/yukicoder/0244.test.py.md | 4 +- Test/yukicoder/0314.test.py.md | 4 +- Test/yukicoder/0451.test.py.md | 4 +- Test/yukicoder/0677.test.py.md | 4 +- Test/yukicoder/0697.test.py.md | 4 +- Test/yukicoder/0713.test.py.md | 4 +- Test/yukicoder/0786.test.py.md | 4 +- Test/yukicoder/0847.test.py.md | 6 +-- Test/yukicoder/1003.test.py.md | 4 +- Test/yukicoder/1155.test.py.md | 4 +- Test/yukicoder/1367.test.py.md | 4 +- Test/yukicoder/1454.test.py.md | 4 +- Test/yukicoder/1639.test.py.md | 4 +- Test/yukicoder/1737.test.py.md | 6 +-- Test/yukicoder/1749.test.py.md | 4 +- Test/yukicoder/1808.test.py.md | 4 +- Test/yukicoder/2034.test.py.md | 4 +- Test/yukicoder/2093.test.py.md | 4 +- Test/yukicoder/2371.test.py.md | 4 +- Test/yukicoder/2373.test.py.md | 4 +- Tree/BinaryIndexedTree.py.md | 4 +- Tree/FindCenter.py.md | 4 +- Tree/FindDiameter.py.md | 4 +- Tree/LazySegTree.py.md | 4 +- Tree/RangeMinimamQuery.py.md | 4 +- Tree/SegTree.py.md | 4 +- Tree/UnionFindTree.py.md | 4 +- index.md | 6 +++ 130 files changed, 351 insertions(+), 263 deletions(-) create mode 100644 DP/SlideMinAlgorithm.py.md create mode 100644 Math/MatrixPow.py.md diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md index 09b6335..d382528 100644 --- a/DP/LongestCommonSubsequence.py.md +++ b/DP/LongestCommonSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md index 2f11be7..7094ddf 100644 --- a/DP/LongestIncreasingSubsequence.py.md +++ b/DP/LongestIncreasingSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ diff --git a/DP/SlideMinAlgorithm.py.md b/DP/SlideMinAlgorithm.py.md new file mode 100644 index 0000000..7c04956 --- /dev/null +++ b/DP/SlideMinAlgorithm.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "from collections import deque\n\ndef SlideMinAlgorithm(a: list, k: int) ->\ + \ list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q = deque()\n q.append((a[k\ + \ - 1], k - 1))\n for i in reversed(range(k - 1)):\n if q[0][0] < a[i]:\n\ + \ q.appendleft((a[i], i))\n ans[0] = q[0][0]\n\n for i in range(1,\ + \ n - k + 1):\n if q[0][1] < i:\n q.popleft()\n while\ + \ q:\n if q[-1][0] <= a[i + k - 1]:\n q.pop()\n \ + \ else:\n break\n q.append((a[i + k - 1], i + k -\ + \ 1))\n ans[i] = q[0][0]\n\n return ans\n\n\ndef main() -> None:\n \ + \ a = [3, 1, 4, 1, 5, 9, 2, 6, 5]\n print(SlideMinAlgorithm(a, 4))\n\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: DP/SlideMinAlgorithm.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: DP/SlideMinAlgorithm.py +layout: document +redirect_from: +- /library/DP/SlideMinAlgorithm.py +- /library/DP/SlideMinAlgorithm.py.html +title: DP/SlideMinAlgorithm.py +--- diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md index f11f7e0..6e43f03 100644 --- a/Geometry/RotateLeft.py.md +++ b/Geometry/RotateLeft.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md index d6f8d11..f62b63f 100644 --- a/Geometry/RotateReverse.py.md +++ b/Geometry/RotateReverse.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md index 82c41ba..c349482 100644 --- a/Geometry/RotateRight.py.md +++ b/Geometry/RotateRight.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md index 514288d..93dd7bf 100644 --- a/Geometry/RotateTranspose.py.md +++ b/Geometry/RotateTranspose.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md index 319466f..e1d1a9c 100644 --- a/Geometry/SharedPoint.py.md +++ b/Geometry/SharedPoint.py.md @@ -10,11 +10,11 @@ data: links: - https://atcoder.jp/contests/abc259/submissions/33150317 - https://atcoder.jp/contests/abc259/tasks/abc259_d - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md index 2eec9ec..993211b 100644 --- a/Graph/BellmanFord.py.md +++ b/Graph/BellmanFord.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Graph/Dijkstra.py.md b/Graph/Dijkstra.py.md index 81dfe16..4aca629 100644 --- a/Graph/Dijkstra.py.md +++ b/Graph/Dijkstra.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int, g: list, INF=10**18)\ \ -> list:\n n = len(g)\n dist = [INF] * n\n dist[s] = 0\n q = [(0,\ diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md index 2f6a487..b3d91dd 100644 --- a/Graph/EulerTour.py.md +++ b/Graph/EulerTour.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 32ba8a1..7005743 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md index 719075a..d8c9447 100644 --- a/Graph/LowestCommonAncestor.py.md +++ b/Graph/LowestCommonAncestor.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md index 56fb8a9..71d9722 100644 --- a/Graph/Prim.py.md +++ b/Graph/Prim.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md index 65e2f2d..879a3eb 100644 --- a/Graph/StronglyConnectedComponent.py.md +++ b/Graph/StronglyConnectedComponent.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md index 86e40ae..80bbbf6 100644 --- a/Graph/TopologicalSort.py.md +++ b/Graph/TopologicalSort.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md index 41d11be..5798116 100644 --- a/Graph/warshall_floyd.py.md +++ b/Graph/warshall_floyd.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ \ for i in range(n):\n for j in range(n):\n dist[i][j]\ diff --git a/Math/BinaryToDecimal.py.md b/Math/BinaryToDecimal.py.md index 22ab4e3..7303c14 100644 --- a/Math/BinaryToDecimal.py.md +++ b/Math/BinaryToDecimal.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ diff --git a/Math/CumulativeSum.py.md b/Math/CumulativeSum.py.md index 63c51ed..6720970 100644 --- a/Math/CumulativeSum.py.md +++ b/Math/CumulativeSum.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ diff --git a/Math/DecimalToBinary.py.md b/Math/DecimalToBinary.py.md index 31148ec..95b6782 100644 --- a/Math/DecimalToBinary.py.md +++ b/Math/DecimalToBinary.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 6ed227f..dd40101 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\n\nclass Dice:\n \"\"\"\u30B5\u30A4\u30B3\u30ED\u306E\u5168\ \u3066\u306E\u72B6\u614B (up, down, front, back, left, right \u306E\u9806) (u\ @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_A.test.py - Test/AOJ/ITP1/ITP1_11_B.test.py + - Test/AOJ/ITP1/ITP1_11_A.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/DigitSum_int.py.md b/Math/DigitSum_int.py.md index 40336eb..3aa8160 100644 --- a/Math/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ diff --git a/Math/DigitSum_str.py.md b/Math/DigitSum_str.py.md index 83a0e23..7f9b765 100644 --- a/Math/DigitSum_str.py.md +++ b/Math/DigitSum_str.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ diff --git a/Math/Divisor.py.md b/Math/Divisor.py.md index b9b2a4d..afc9da6 100644 --- a/Math/Divisor.py.md +++ b/Math/Divisor.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def divisors(n: int) -> list:\n divisor = []\n for i in range(1, int(n**0.5)\ \ + 1):\n if n % i == 0:\n divisor.append(i)\n if\ diff --git a/Math/ExtGCD.py.md b/Math/ExtGCD.py.md index 3ddcaa2..678a33c 100644 --- a/Math/ExtGCD.py.md +++ b/Math/ExtGCD.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index 2340715..2f0897f 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -17,28 +17,28 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ \ while tmp % i == 0:\n cnt += 1\n tmp\ \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ \ 1])\n\n return arr\n\n\ndef main() -> None:\n print(factorization(2592))\n\ - \n\nif __name__ == \"__main\":\n main()" + \n\nif __name__ == \"__main__\":\n main()" dependsOn: [] isVerificationFile: false path: Math/Factorization.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' + timestamp: '2023-11-10 19:18:05+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/0847.test.py - - Test/yukicoder/0002.test.py - Test/yukicoder/1737.test.py + - Test/yukicoder/0002.test.py + - Test/yukicoder/0847.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Math/FromFloatToInt.py.md b/Math/FromFloatToInt.py.md index 87509c7..6631920 100644 --- a/Math/FromFloatToInt.py.md +++ b/Math/FromFloatToInt.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ diff --git a/Math/ManhattanDistanceSearch.py.md b/Math/ManhattanDistanceSearch.py.md index 37a9e0c..6c7f733 100644 --- a/Math/ManhattanDistanceSearch.py.md +++ b/Math/ManhattanDistanceSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ diff --git a/Math/MatrixPow.py.md b/Math/MatrixPow.py.md new file mode 100644 index 0000000..6a93669 --- /dev/null +++ b/Math/MatrixPow.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "def matrix_multi(a: list, b: list, mod=998244353) -> list:\n len_a, len_b,\ + \ len_b_zero = len(a), len(b), len(b[0])\n c = [[0] * len(b[0]) for _ in range(len_a)]\n\ + \ for i in range(len_a):\n for j in range(len_b_zero):\n \ + \ for k in range(len_b):\n c[i][j] += a[i][k] * b[k][j]\n \ + \ c[i][j] %= mod\n\n return c\n\n\ndef matrix_pow(a: list, n: int)\ + \ -> list:\n len_a = len(a)\n cnt = [[0] * len_a for _ in range(len_a)]\n\ + \n for i in range(len_a):\n cnt[i][i] = 1\n\n while n > 0:\n \ + \ if n & 1:\n cnt = matrix_multi(a, cnt)\n\n a = matrix_multi(a,\ + \ a)\n n >>= 1\n\n return cnt\n\n\ndef main() -> None:\n n = int(input())\n\ + \n fibonacci = [[1, 1], [1, 0]]\n fibonacci = matrix_pow(fibonacci, n)\n\ + \n ans = fibonacci[1][0]\n # print(*fibonacci, sep=\"\\n\")\n print(ans)\n\ + \n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: Math/MatrixPow.py + requiredBy: [] + timestamp: '2023-11-10 19:18:05+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Math/MatrixPow.py +layout: document +redirect_from: +- /library/Math/MatrixPow.py +- /library/Math/MatrixPow.py.html +title: Math/MatrixPow.py +--- diff --git a/Math/MaxCumulativeSum.py.md b/Math/MaxCumulativeSum.py.md index 4b16b86..fa65d66 100644 --- a/Math/MaxCumulativeSum.py.md +++ b/Math/MaxCumulativeSum.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def MaxCumulativeSum(num_array: list, k: int):\n max_cumulative_sum =\ \ []\n count = 0\n for i in range(k):\n count += num_array[i]\n \ diff --git a/Math/NFactorizarition.py.md b/Math/NFactorizarition.py.md index 563a914..022a4ae 100644 --- a/Math/NFactorizarition.py.md +++ b/Math/NFactorizarition.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ diff --git a/Math/PrimaryCheck.py.md b/Math/PrimaryCheck.py.md index 773eaca..dbcfdf8 100644 --- a/Math/PrimaryCheck.py.md +++ b/Math/PrimaryCheck.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index ee8be7d..5f174db 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -17,11 +17,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ @@ -37,9 +37,9 @@ data: timestamp: '2023-06-29 01:19:46+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: + - Test/AOJ/Volume11/1172.test.py - Test/yukicoder/0007.test.py - Test/yukicoder/0713.test.py - - Test/AOJ/Volume11/1172.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document redirect_from: diff --git a/Math/SortedMultiset.py.md b/Math/SortedMultiset.py.md index 7fcf247..c54ecdd 100644 --- a/Math/SortedMultiset.py.md +++ b/Math/SortedMultiset.py.md @@ -11,11 +11,11 @@ data: - https://atcoder.jp/contests/abc253/tasks/abc253_c - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ diff --git a/Math/SortedSet.py.md b/Math/SortedSet.py.md index f96a8f1..08866d1 100644 --- a/Math/SortedSet.py.md +++ b/Math/SortedSet.py.md @@ -14,11 +14,11 @@ data: - https://atcoder.jp/contests/abc260/tasks/abc260_d - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ diff --git a/Math/XorToN.py.md b/Math/XorToN.py.md index 0fc4eb2..d9e648b 100644 --- a/Math/XorToN.py.md +++ b/Math/XorToN.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ diff --git a/Math/doubling.py.md b/Math/doubling.py.md index 82b069e..9458d0d 100644 --- a/Math/doubling.py.md +++ b/Math/doubling.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ diff --git a/Math/nCk.py.md b/Math/nCk.py.md index 24b337a..45a3fdb 100644 --- a/Math/nCk.py.md +++ b/Math/nCk.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ diff --git a/Math/nCkFactorization.py.md b/Math/nCkFactorization.py.md index 530daef..985f5a3 100644 --- a/Math/nCkFactorization.py.md +++ b/Math/nCkFactorization.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ diff --git a/Other/debug.py.md b/Other/debug.py.md index 41b3ff4..0e719cd 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md index 362d779..54be65c 100644 --- a/Search/BinarySearch.py.md +++ b/Search/BinarySearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def check(arg):\n if 1:\n return True\n else:\n return\ \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md index 7634b87..e59ae14 100644 --- a/Search/BitSearch.py.md +++ b/Search/BitSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index 677c999..e0bd643 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index 535e579..2f25153 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(sy: int, sx: int, dist: list) ->\ \ list:\n INF = float('inf')\n d = ((0, 1), (0, -1), (1, 0), (-1, 0))\n\ diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md index d4ce1b2..eb67922 100644 --- a/String/BoyerMoore.py.md +++ b/String/BoyerMoore.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md index 07ecdfd..0b3e60a 100644 --- a/String/CoordinateCompression.py.md +++ b/String/CoordinateCompression.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md index aeb3d4b..9f0b5dc 100644 --- a/String/RunLengthEncoding.py.md +++ b/String/RunLengthEncoding.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ diff --git a/Template/Template.py.md b/Template/Template.py.md index b05b85f..42252c6 100644 --- a/Template/Template.py.md +++ b/Template/Template.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md index b388731..f311a34 100644 --- a/Template/VerifyHelperTemplate.py.md +++ b/Template/VerifyHelperTemplate.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md index 1a9092a..6d85259 100644 --- a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md index 76d7449..804815b 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 88c0873..5441b43 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import PrimaryCheck\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index 051ce8a..0c4d1de 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ \ndef main():\n n = int(input())\n s = set(list(map(int, input().split())))\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md index 46c7969..1841385 100644 --- a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import BinaryIndexedTree\n\ diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md index 1374f83..a7ff272 100644 --- a/Test/AOJ/DSL/DSL_1_A.test.py.md +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md index 1b769e7..027d686 100644 --- a/Test/AOJ/GRL/GRL_1_A.test.py.md +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import Dijkstra\n\n\ diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index d3ec532..7cef93c 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index e396d9c..fac10a5 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ # verification-helper: ERROR 1e-4\n\nfrom statistics import pstdev\n\ndef main():\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md index 017916f..045d609 100644 --- a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ # verification-helper: ERROR 1e-5\n\ndef main():\n n = int(input())\n x\ diff --git a/Test/AOJ/ITP1/ITP1_11_A.test.py.md b/Test/AOJ/ITP1/ITP1_11_A.test.py.md index 6071292..330fa35 100644 --- a/Test/AOJ/ITP1/ITP1_11_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_B.test.py.md b/Test/AOJ/ITP1/ITP1_11_B.test.py.md index 442c8b2..55933cf 100644 --- a/Test/AOJ/ITP1/ITP1_11_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_C.test.py.md b/Test/AOJ/ITP1/ITP1_11_C.test.py.md index 10ac13d..49a7c4c 100644 --- a/Test/AOJ/ITP1/ITP1_11_C.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_C.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_11_D.test.py.md b/Test/AOJ/ITP1/ITP1_11_D.test.py.md index c22c775..d8cb24d 100644 --- a/Test/AOJ/ITP1/ITP1_11_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_2_A.test.py.md b/Test/AOJ/ITP1/ITP1_2_A.test.py.md index 45bfc5a..0748e7b 100644 --- a/Test/AOJ/ITP1/ITP1_2_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_2_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja\n\ \n\ndef main() -> None:\n a, b = map(int, input().split())\n if a < b:\n\ diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index 8e4e341..9411c0a 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Divisor\n\ndef\ diff --git a/Test/AOJ/ITP1/ITP1_8_B.test.py.md b/Test/AOJ/ITP1/ITP1_8_B.test.py.md index 57209be..6ba020d 100644 --- a/Test/AOJ/ITP1/ITP1_8_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_8_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import DigitSum_int\n\ diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md index beb9927..3392a4d 100644 --- a/Test/AOJ/Volume0/0000.test.py.md +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index 0b6ff5e..002908b 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ diff --git a/Test/AOJ/Volume0/0002.test.py.md b/Test/AOJ/Volume0/0002.test.py.md index 6000675..bae5952 100644 --- a/Test/AOJ/Volume0/0002.test.py.md +++ b/Test/AOJ/Volume0/0002.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume0/0003.test.py.md b/Test/AOJ/Volume0/0003.test.py.md index 1d6f5cc..5184e58 100644 --- a/Test/AOJ/Volume0/0003.test.py.md +++ b/Test/AOJ/Volume0/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003\n\ \ndef main():\n N = int(input())\n for _ in range(N):\n a, b, c =\ diff --git a/Test/AOJ/Volume0/0004.test.py.md b/Test/AOJ/Volume0/0004.test.py.md index 0146ab4..2e182ff 100644 --- a/Test/AOJ/Volume0/0004.test.py.md +++ b/Test/AOJ/Volume0/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004\n\ \ndef main():\n while True:\n try:\n a, b, c, d, e, f = map(int,\ diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md index 810d576..d556196 100644 --- a/Test/AOJ/Volume10/1000.test.py.md +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1147.test.py.md b/Test/AOJ/Volume11/1147.test.py.md index 04afb02..2fda11e 100644 --- a/Test/AOJ/Volume11/1147.test.py.md +++ b/Test/AOJ/Volume11/1147.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume11/1153.test.py.md b/Test/AOJ/Volume11/1153.test.py.md index 79e0005..c0f74ea 100644 --- a/Test/AOJ/Volume11/1153.test.py.md +++ b/Test/AOJ/Volume11/1153.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1172.test.py.md b/Test/AOJ/Volume11/1172.test.py.md index 6d3c9db..353e10f 100644 --- a/Test/AOJ/Volume11/1172.test.py.md +++ b/Test/AOJ/Volume11/1172.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import SieveOfEratosthenes\n\ diff --git a/Test/AOJ/Volume16/1608.test.py.md b/Test/AOJ/Volume16/1608.test.py.md index f8a1d00..d1452c6 100644 --- a/Test/AOJ/Volume16/1608.test.py.md +++ b/Test/AOJ/Volume16/1608.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume16/1640.test.py.md b/Test/AOJ/Volume16/1640.test.py.md index e898fd4..697de14 100644 --- a/Test/AOJ/Volume16/1640.test.py.md +++ b/Test/AOJ/Volume16/1640.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md index 1e8ec22..fc8e19b 100644 --- a/Test/AOJ/Volume21/2197.test.py.md +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume29/2944.test.py.md b/Test/AOJ/Volume29/2944.test.py.md index b9b41e1..20cfe70 100644 --- a/Test/AOJ/Volume29/2944.test.py.md +++ b/Test/AOJ/Volume29/2944.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume32/3202.test.py.md b/Test/AOJ/Volume32/3202.test.py.md index 94a854e..993a319 100644 --- a/Test/AOJ/Volume32/3202.test.py.md +++ b/Test/AOJ/Volume32/3202.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp\n\ \nfrom collections import deque\n\ndef main() -> None:\n while True:\n \ diff --git a/Test/AOJ/Volume5/0516.test.py.md b/Test/AOJ/Volume5/0516.test.py.md index 6ecf98a..6764b4b 100644 --- a/Test/AOJ/Volume5/0516.test.py.md +++ b/Test/AOJ/Volume5/0516.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import MaxCumulativeSum\n\ diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md index 04d8759..b355a87 100644 --- a/Test/yosupo/DataStructure/AssociativeArray.py.md +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/associative_array links: - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md index 714d643..bb287bc 100644 --- a/Test/yosupo/DataStructure/StaticRMQ.test.py.md +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/staticrmq links: - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index 8721e8c..95d852c 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/unionfind links: - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index 2d602f9..a63a7e2 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/aplusb links: - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index 993fda4..2056d25 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/many_aplusb links: - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ diff --git a/Test/yukicoder/0001.test.py.md b/Test/yukicoder/0001.test.py.md index 49bd3f7..4699df0 100644 --- a/Test/yukicoder/0001.test.py.md +++ b/Test/yukicoder/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1 links: - https://yukicoder.me/problems/no/1 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1\n\nfrom\ \ collections import defaultdict\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 236ccde..6935c1f 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2 links: - https://yukicoder.me/problems/no/2 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef main()\ @@ -30,7 +30,7 @@ data: isVerificationFile: true path: Test/yukicoder/0002.test.py requiredBy: [] - timestamp: '2023-06-29 01:08:34+09:00' + timestamp: '2023-11-10 19:18:05+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0002.test.py diff --git a/Test/yukicoder/0003.test.py.md b/Test/yukicoder/0003.test.py.md index 440ff1d..50cd090 100644 --- a/Test/yukicoder/0003.test.py.md +++ b/Test/yukicoder/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/3 links: - https://yukicoder.me/problems/no/3 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/3\n\nfrom\ \ collections import deque\n\ndef main() -> None:\n\n n = int(input())\n\n\ diff --git a/Test/yukicoder/0004.test.py.md b/Test/yukicoder/0004.test.py.md index b0fc0c4..b636e7e 100644 --- a/Test/yukicoder/0004.test.py.md +++ b/Test/yukicoder/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/4 links: - https://yukicoder.me/problems/no/4 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/4\n\ndef\ \ main() -> None:\n\n n = int(input())\n w = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0005.test.py.md b/Test/yukicoder/0005.test.py.md index 548e341..032ab98 100644 --- a/Test/yukicoder/0005.test.py.md +++ b/Test/yukicoder/0005.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/5 links: - https://yukicoder.me/problems/no/5 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/5\n\ndef\ \ main() -> None:\n\n l = int(input())\n n = int(input())\n w = sorted(list(map(int,\ diff --git a/Test/yukicoder/0007.test.py.md b/Test/yukicoder/0007.test.py.md index 4ba6e2a..f283e13 100644 --- a/Test/yukicoder/0007.test.py.md +++ b/Test/yukicoder/0007.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/7 links: - https://yukicoder.me/problems/no/7 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/7\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0008.test.py.md b/Test/yukicoder/0008.test.py.md index 690b757..c7d4479 100644 --- a/Test/yukicoder/0008.test.py.md +++ b/Test/yukicoder/0008.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/8 links: - https://yukicoder.me/problems/no/8 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/8\n\ndef\ \ main() -> None:\n p = int(input())\n for _ in range(p):\n n, k\ diff --git a/Test/yukicoder/0009.test.py.md b/Test/yukicoder/0009.test.py.md index e95a80c..2fdc499 100644 --- a/Test/yukicoder/0009.test.py.md +++ b/Test/yukicoder/0009.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ \ heapq import heapify, heappop, heappush\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0015.test.py.md b/Test/yukicoder/0015.test.py.md index 766a640..cabd6bb 100644 --- a/Test/yukicoder/0015.test.py.md +++ b/Test/yukicoder/0015.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n# verification-helper:\ \ IGNORE\n\nfrom itertools import product\nfrom bisect import bisect_right\n\n\ diff --git a/Test/yukicoder/0044.test.py.md b/Test/yukicoder/0044.test.py.md index 29e6d9a..810b5be 100644 --- a/Test/yukicoder/0044.test.py.md +++ b/Test/yukicoder/0044.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/44 links: - https://yukicoder.me/problems/no/44 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/44\n\n\n\ def main() -> None:\n\n n = int(input())\n\n dp = [0] * (n + 1)\n dp[0]\ diff --git a/Test/yukicoder/0053.test.py.md b/Test/yukicoder/0053.test.py.md index 21f32d9..68bfa8a 100644 --- a/Test/yukicoder/0053.test.py.md +++ b/Test/yukicoder/0053.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/53 links: - https://yukicoder.me/problems/no/53 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/53\n# verification-helper:\ \ ERROR 1e-9\n\ndef main() -> None:\n n = int(input())\n print(4 * pow(0.75,\ diff --git a/Test/yukicoder/0064.test.py.md b/Test/yukicoder/0064.test.py.md index cb3ede9..c480cb8 100644 --- a/Test/yukicoder/0064.test.py.md +++ b/Test/yukicoder/0064.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/64 links: - https://yukicoder.me/problems/no/64 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/64\n\ndef\ \ main() -> None:\n f0, f1, n = map(int, input().split())\n a = [f0, f1,\ diff --git a/Test/yukicoder/0167.test.py.md b/Test/yukicoder/0167.test.py.md index 0c99f4d..4054e35 100644 --- a/Test/yukicoder/0167.test.py.md +++ b/Test/yukicoder/0167.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/167 links: - https://yukicoder.me/problems/no/167 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/167\n\nimport\ \ sys\nsys.set_int_max_str_digits(10**9)\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0182.test.py.md b/Test/yukicoder/0182.test.py.md index 2b8ab8e..08616be 100644 --- a/Test/yukicoder/0182.test.py.md +++ b/Test/yukicoder/0182.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/182 links: - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0204.test.py.md b/Test/yukicoder/0204.test.py.md index f2fce8f..15d1c09 100644 --- a/Test/yukicoder/0204.test.py.md +++ b/Test/yukicoder/0204.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/204 links: - https://yukicoder.me/problems/no/204 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/204\n\n\n\ def main() -> None:\n d = int(input())\n c1 = input()\n c2 = input()\n\ diff --git a/Test/yukicoder/0208.test.py.md b/Test/yukicoder/0208.test.py.md index efd5619..641a771 100644 --- a/Test/yukicoder/0208.test.py.md +++ b/Test/yukicoder/0208.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/208 links: - https://yukicoder.me/problems/no/208 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/208\n\ndef\ \ main() -> None:\n x, y = map(int, input().split())\n x2, y2 = map(int,\ diff --git a/Test/yukicoder/0244.test.py.md b/Test/yukicoder/0244.test.py.md index 2a5e852..6a8f084 100644 --- a/Test/yukicoder/0244.test.py.md +++ b/Test/yukicoder/0244.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/244 links: - https://yukicoder.me/problems/no/244 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/244\n\ndef\ \ main() -> None:\n n = int(input())\n\n print(n - 1)\n\n\nif __name__ ==\ diff --git a/Test/yukicoder/0314.test.py.md b/Test/yukicoder/0314.test.py.md index 4402415..b44d1f3 100644 --- a/Test/yukicoder/0314.test.py.md +++ b/Test/yukicoder/0314.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/314 links: - https://yukicoder.me/problems/no/314 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/314\n\ndef\ \ main() -> None:\n n = int(input())\n \n dp = [[0] * 3 for _ in range(n\ diff --git a/Test/yukicoder/0451.test.py.md b/Test/yukicoder/0451.test.py.md index cbb91bc..e22549c 100644 --- a/Test/yukicoder/0451.test.py.md +++ b/Test/yukicoder/0451.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/451 links: - https://yukicoder.me/problems/no/451 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/451\n\ndef\ \ main() -> None:\n n = int(input())\n b = [int(input()) for _ in range(n)]\n\ diff --git a/Test/yukicoder/0677.test.py.md b/Test/yukicoder/0677.test.py.md index 1e4b6e1..c38ebe7 100644 --- a/Test/yukicoder/0677.test.py.md +++ b/Test/yukicoder/0677.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/677 links: - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ diff --git a/Test/yukicoder/0697.test.py.md b/Test/yukicoder/0697.test.py.md index bd706a2..6ac6e0d 100644 --- a/Test/yukicoder/0697.test.py.md +++ b/Test/yukicoder/0697.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/697 links: - https://yukicoder.me/problems/no/697 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/697\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom collections import deque\n\nh, w =\ diff --git a/Test/yukicoder/0713.test.py.md b/Test/yukicoder/0713.test.py.md index 66cfd14..8d4b629 100644 --- a/Test/yukicoder/0713.test.py.md +++ b/Test/yukicoder/0713.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/713 links: - https://yukicoder.me/problems/no/713 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/713\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0786.test.py.md b/Test/yukicoder/0786.test.py.md index 80c9efb..ef688ef 100644 --- a/Test/yukicoder/0786.test.py.md +++ b/Test/yukicoder/0786.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/786 links: - https://yukicoder.me/problems/no/786 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/786\n\ndef\ \ main() -> None:\n n = int(input())\n dp = [0] * (n + 1)\n dp[1] = 1\n\ diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index 817cb64..fd8ef26 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/847 links: - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef dfs(a:\ @@ -33,7 +33,7 @@ data: isVerificationFile: true path: Test/yukicoder/0847.test.py requiredBy: [] - timestamp: '2023-06-29 01:08:34+09:00' + timestamp: '2023-11-10 19:18:05+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0847.test.py diff --git a/Test/yukicoder/1003.test.py.md b/Test/yukicoder/1003.test.py.md index 0e69a7b..a1e9633 100644 --- a/Test/yukicoder/1003.test.py.md +++ b/Test/yukicoder/1003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1003 links: - https://yukicoder.me/problems/no/1003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1003\n\n\ def main() -> None:\n print(\"Yes\") if not int(input()) % 6 else print(\"\ diff --git a/Test/yukicoder/1155.test.py.md b/Test/yukicoder/1155.test.py.md index 1a0661a..4c0bcd0 100644 --- a/Test/yukicoder/1155.test.py.md +++ b/Test/yukicoder/1155.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1155 links: - https://yukicoder.me/problems/no/1155 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1155\n\n\ def main() -> None:\n place = [\"Shiitakerando\", \"Otsukakokusaibijutsukan\"\ diff --git a/Test/yukicoder/1367.test.py.md b/Test/yukicoder/1367.test.py.md index 2a1b962..bb37225 100644 --- a/Test/yukicoder/1367.test.py.md +++ b/Test/yukicoder/1367.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1367 links: - https://yukicoder.me/problems/no/1367 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1367\n\n\ def main() -> None:\n s = input()\n t = \"kadomatsu\"\n ind = 0\n \ diff --git a/Test/yukicoder/1454.test.py.md b/Test/yukicoder/1454.test.py.md index 4c20f1e..171fc86 100644 --- a/Test/yukicoder/1454.test.py.md +++ b/Test/yukicoder/1454.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1454 links: - https://yukicoder.me/problems/no/1454 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1454\n\n\ def main() -> None:\n n, m, x, y = map(int, input().split())\n a = list(map(int,\ diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md index 12ec227..dd89c44 100644 --- a/Test/yukicoder/1639.test.py.md +++ b/Test/yukicoder/1639.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1639 links: - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 0d4cbb6..b6553aa 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1737 links: - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\n\ @@ -29,7 +29,7 @@ data: isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] - timestamp: '2023-07-09 23:09:33+09:00' + timestamp: '2023-11-10 19:18:05+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/1737.test.py diff --git a/Test/yukicoder/1749.test.py.md b/Test/yukicoder/1749.test.py.md index 22c5a05..f949199 100644 --- a/Test/yukicoder/1749.test.py.md +++ b/Test/yukicoder/1749.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1749 links: - https://yukicoder.me/problems/no/1749 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1749\n\n\ def main() -> None:\n n, m, t = map(int, input().split())\n \n g = [[]\ diff --git a/Test/yukicoder/1808.test.py.md b/Test/yukicoder/1808.test.py.md index e037fad..d8b45c6 100644 --- a/Test/yukicoder/1808.test.py.md +++ b/Test/yukicoder/1808.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1808 links: - https://yukicoder.me/problems/no/1808 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1808\n\n\ def is_ok(k: int) -> bool:\n check = True\n cnt = 0\n for i in range(n):\n\ diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index 3459f1d..e61ba60 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2034 links: - https://yukicoder.me/problems/no/2034 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ diff --git a/Test/yukicoder/2093.test.py.md b/Test/yukicoder/2093.test.py.md index 637741c..241fea0 100644 --- a/Test/yukicoder/2093.test.py.md +++ b/Test/yukicoder/2093.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2093 links: - https://yukicoder.me/problems/no/2093 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2093\n\n\ def main() -> None:\n N, I = map(int, input().split())\n s, a = [0] * N,\ diff --git a/Test/yukicoder/2371.test.py.md b/Test/yukicoder/2371.test.py.md index b05eb9b..9972388 100644 --- a/Test/yukicoder/2371.test.py.md +++ b/Test/yukicoder/2371.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2371 links: - https://yukicoder.me/problems/no/2371 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2371\n\n\ def main() -> None:\n h, m = map(int, input().split())\n time = h * 60 +\ diff --git a/Test/yukicoder/2373.test.py.md b/Test/yukicoder/2373.test.py.md index 44dc501..a5e44cd 100644 --- a/Test/yukicoder/2373.test.py.md +++ b/Test/yukicoder/2373.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2373 links: - https://yukicoder.me/problems/no/2373 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2373\n\n\ def main() -> None:\n n = int(input())\n s = list(input())\n dp = [[False]\ diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index cb587ba..ddd2d1c 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md index 77b45b2..67808b3 100644 --- a/Tree/FindCenter.py.md +++ b/Tree/FindCenter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md index a7d1ccc..386496a 100644 --- a/Tree/FindDiameter.py.md +++ b/Tree/FindDiameter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md index cc50b12..e42c60e 100644 --- a/Tree/LazySegTree.py.md +++ b/Tree/LazySegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index 7e2b799..cbda7a5 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md index 1acb552..d9994fa 100644 --- a/Tree/SegTree.py.md +++ b/Tree/SegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index c389d14..a02a6ef 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class UnionFind:\n def __init__(self, n):\n self.n = n\n \ \ self.p = [-1] * n\n\n\n def leader(self, a):\n while self.p[a] >=\ diff --git a/index.md b/index.md index a294eed..6037200 100644 --- a/index.md +++ b/index.md @@ -9,6 +9,9 @@ data: - icon: ':warning:' path: DP/LongestIncreasingSubsequence.py title: DP/LongestIncreasingSubsequence.py + - icon: ':warning:' + path: DP/SlideMinAlgorithm.py + title: DP/SlideMinAlgorithm.py - name: Geometry pages: - icon: ':warning:' @@ -90,6 +93,9 @@ data: - icon: ':warning:' path: Math/ManhattanDistanceSearch.py title: Math/ManhattanDistanceSearch.py + - icon: ':warning:' + path: Math/MatrixPow.py + title: Math/MatrixPow.py - icon: ':heavy_check_mark:' path: Math/MaxCumulativeSum.py title: Math/MaxCumulativeSum.py From 0a5ce513623c31ebaf2407bf8cacda39b988a6c6 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 2 Dec 2023 11:20:37 +0000 Subject: [PATCH 35/38] [auto-verifier] docs commit 791e7215475e702e3045e5e628267a32c5f0049d --- DP/SlideMaxAlgorithm.py.md | 40 +++++++++++++++++++++++++++++ Math/Dice.py.md | 2 +- Math/Divisor.py.md | 4 +++ Math/Factorization.py.md | 6 ++--- Test/yukicoder/0002.test.py.md | 2 +- Test/yukicoder/0847.test.py.md | 2 +- Test/yukicoder/1737.test.py.md | 2 +- Test/yukicoder/2557.test.py.md | 36 ++++++++++++++++++++++++++ Test/yukicoder/2558.test.py.md | 36 ++++++++++++++++++++++++++ Test/yukicoder/2559.test.py.md | 39 ++++++++++++++++++++++++++++ Test/yukicoder/2570.test.py.md | 47 ++++++++++++++++++++++++++++++++++ Tree/UnionFindTree.py.md | 2 +- index.md | 15 +++++++++++ 13 files changed, 225 insertions(+), 8 deletions(-) create mode 100644 DP/SlideMaxAlgorithm.py.md create mode 100644 Test/yukicoder/2557.test.py.md create mode 100644 Test/yukicoder/2558.test.py.md create mode 100644 Test/yukicoder/2559.test.py.md create mode 100644 Test/yukicoder/2570.test.py.md diff --git a/DP/SlideMaxAlgorithm.py.md b/DP/SlideMaxAlgorithm.py.md new file mode 100644 index 0000000..2a98a09 --- /dev/null +++ b/DP/SlideMaxAlgorithm.py.md @@ -0,0 +1,40 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# \u3080\u305A\u3044\nfrom collections import deque\n\ndef SlideMinAlgorithm(a:\ + \ list, k: int) -> list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q\ + \ = deque()\n q.append((a[0], 0))\n for i in range(1, k):\n if q[0][0]\ + \ < a[i]:\n q.appendleft((a[i], i))\n ans[0] = q[0][0]\n\n for\ + \ i in range(1, n - k + 1):\n if q[0][1] < i:\n q.popleft()\n\ + \ while q:\n if q[-1][0] >= a[i + k - 1]:\n q.pop()\n\ + \ else:\n break\n q.append((a[i + k - 1], i +\ + \ k - 1))\n ans[i] = q[0][0]\n\n return ans\n\n\ndef main() -> None:\n\ + \ a = [3, 1, 4, 1, 5, 9, 2, 6, 5]\n print(SlideMinAlgorithm(a, 4))\n\n\n\ + if __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: false + path: DP/SlideMaxAlgorithm.py + requiredBy: [] + timestamp: '1970-01-01 00:00:00+00:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: DP/SlideMaxAlgorithm.py +layout: document +redirect_from: +- /library/DP/SlideMaxAlgorithm.py +- /library/DP/SlideMaxAlgorithm.py.html +title: DP/SlideMaxAlgorithm.py +--- diff --git a/Math/Dice.py.md b/Math/Dice.py.md index dd40101..342a405 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_B.test.py - Test/AOJ/ITP1/ITP1_11_A.test.py + - Test/AOJ/ITP1/ITP1_11_B.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/Divisor.py.md b/Math/Divisor.py.md index afc9da6..7f23f73 100644 --- a/Math/Divisor.py.md +++ b/Math/Divisor.py.md @@ -6,6 +6,9 @@ data: - icon: ':heavy_check_mark:' path: Test/AOJ/ITP1/ITP1_3_D.test.py title: Test/AOJ/ITP1/ITP1_3_D.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2570.test.py + title: Test/yukicoder/2570.test.py _isVerificationFailed: false _pathExtension: py _verificationStatusIcon: ':heavy_check_mark:' @@ -29,6 +32,7 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/ITP1/ITP1_3_D.test.py + - Test/yukicoder/2570.test.py documentation_of: Math/Divisor.py layout: document redirect_from: diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index 2f0897f..bfcf21d 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -23,7 +23,7 @@ data: \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "def factorization(n: int) -> int:\n arr, tmp = [], n\n for i in range(2,\ + code: "def factorization(n: int) -> list:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ \ while tmp % i == 0:\n cnt += 1\n tmp\ \ //= i\n arr.append([i, cnt])\n\n if tmp != 1:\n arr.append([tmp,\ @@ -33,11 +33,11 @@ data: isVerificationFile: false path: Math/Factorization.py requiredBy: [] - timestamp: '2023-11-10 19:18:05+09:00' + timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/1737.test.py - Test/yukicoder/0002.test.py + - Test/yukicoder/1737.test.py - Test/yukicoder/0847.test.py documentation_of: Math/Factorization.py layout: document diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 6935c1f..a371324 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -30,7 +30,7 @@ data: isVerificationFile: true path: Test/yukicoder/0002.test.py requiredBy: [] - timestamp: '2023-11-10 19:18:05+09:00' + timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0002.test.py diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index fd8ef26..d40dd66 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -33,7 +33,7 @@ data: isVerificationFile: true path: Test/yukicoder/0847.test.py requiredBy: [] - timestamp: '2023-11-10 19:18:05+09:00' + timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/0847.test.py diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index b6553aa..500b6f2 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -29,7 +29,7 @@ data: isVerificationFile: true path: Test/yukicoder/1737.test.py requiredBy: [] - timestamp: '2023-11-10 19:18:05+09:00' + timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/1737.test.py diff --git a/Test/yukicoder/2557.test.py.md b/Test/yukicoder/2557.test.py.md new file mode 100644 index 0000000..19358fd --- /dev/null +++ b/Test/yukicoder/2557.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2557 + links: + - https://yukicoder.me/problems/no/2557 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2557\n\n\ + def main() -> None:\n N = int(input())\n\n if N < 1200:\n print(\"\ + green\")\n else:\n print(\"difficult\")\n\n\nif __name__ == \"__main__\"\ + :\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2557.test.py + requiredBy: [] + timestamp: '2023-12-02 20:13:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2557.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2557.test.py +- /verify/Test/yukicoder/2557.test.py.html +title: Test/yukicoder/2557.test.py +--- diff --git a/Test/yukicoder/2558.test.py.md b/Test/yukicoder/2558.test.py.md new file mode 100644 index 0000000..5d96fbf --- /dev/null +++ b/Test/yukicoder/2558.test.py.md @@ -0,0 +1,36 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2558 + links: + - https://yukicoder.me/problems/no/2558 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2558\n\n\ + def main() -> None:\n A, B, a, b = map(int, input().split())\n for x in\ + \ range(A * B + 1):\n if x % A == a and x % B == b:\n print(x)\n\ + \ exit()\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2558.test.py + requiredBy: [] + timestamp: '2023-12-02 20:13:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2558.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2558.test.py +- /verify/Test/yukicoder/2558.test.py.html +title: Test/yukicoder/2558.test.py +--- diff --git a/Test/yukicoder/2559.test.py.md b/Test/yukicoder/2559.test.py.md new file mode 100644 index 0000000..47e2a8e --- /dev/null +++ b/Test/yukicoder/2559.test.py.md @@ -0,0 +1,39 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2559 + links: + - https://yukicoder.me/problems/no/2559 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2559\n\n\ + def main() -> None:\n N, X = map(int, input().split())\n A, B = [0] * N,\ + \ [0] * N\n for i in range(N):\n A[i], B[i] = map(int, input().split())\n\ + \ \n ans = []\n for j in range(1, X + 1):\n cnt = 0\n for\ + \ i in range(N):\n cnt = max(cnt, max(B[i] - abs(j - A[i]), 0))\n \ + \ ans.append(cnt)\n\n print(*ans)\n\n\nif __name__ == \"__main__\":\n\ + \ main()" + dependsOn: [] + isVerificationFile: true + path: Test/yukicoder/2559.test.py + requiredBy: [] + timestamp: '2023-12-02 20:13:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2559.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2559.test.py +- /verify/Test/yukicoder/2559.test.py.html +title: Test/yukicoder/2559.test.py +--- diff --git a/Test/yukicoder/2570.test.py.md b/Test/yukicoder/2570.test.py.md new file mode 100644 index 0000000..c83f699 --- /dev/null +++ b/Test/yukicoder/2570.test.py.md @@ -0,0 +1,47 @@ +--- +data: + _extendedDependsOn: + - icon: ':heavy_check_mark:' + path: Math/Divisor.py + title: Math/Divisor.py + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':heavy_check_mark:' + attributes: + PROBLEM: https://yukicoder.me/problems/no/2570 + links: + - https://yukicoder.me/problems/no/2570 + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2570\n\n\ + import sys\nsys.path.append(\"../../\")\n\nfrom Math import Divisor\n\ndef divisors(n:\ + \ int) -> list:\n divisor = []\n for i in range(1, int(n**0.5) + 1):\n \ + \ if n % i == 0:\n divisor.append(i)\n if i != n //\ + \ i:\n divisor.append(n // i)\n\n divisor.sort()\n return\ + \ divisor\n\n\ndef main() -> None:\n N, K = map(int, input().split())\n \ + \ A = list(map(int, input().split()))\n\n p = set()\n for i in range(N):\n\ + \ for j in Divisor.divisors(A[i]):\n p.add(j)\n\n ans = []\n\ + \ for x in p:\n cnt = 0\n for i in range(N):\n cnt\ + \ += min(A[i] % x, x - (A[i] % x))\n if cnt <= K:\n ans.append(x)\n\ + \n print(max(ans))\n\n\nif __name__ == \"__main__\":\n main()" + dependsOn: + - Math/Divisor.py + isVerificationFile: true + path: Test/yukicoder/2570.test.py + requiredBy: [] + timestamp: '2023-12-02 20:13:06+09:00' + verificationStatus: TEST_ACCEPTED + verifiedWith: [] +documentation_of: Test/yukicoder/2570.test.py +layout: document +redirect_from: +- /verify/Test/yukicoder/2570.test.py +- /verify/Test/yukicoder/2570.test.py.html +title: Test/yukicoder/2570.test.py +--- diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index a02a6ef..6cb6f6a 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -39,8 +39,8 @@ data: timestamp: '2022-07-15 00:14:10+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/DSL/DSL_1_A.test.py - Test/yosupo/DataStructure/Unionfind.test.py + - Test/AOJ/DSL/DSL_1_A.test.py documentation_of: Tree/UnionFindTree.py layout: document redirect_from: diff --git a/index.md b/index.md index 6037200..39a5118 100644 --- a/index.md +++ b/index.md @@ -9,6 +9,9 @@ data: - icon: ':warning:' path: DP/LongestIncreasingSubsequence.py title: DP/LongestIncreasingSubsequence.py + - icon: ':warning:' + path: DP/SlideMaxAlgorithm.py + title: DP/SlideMaxAlgorithm.py - icon: ':warning:' path: DP/SlideMinAlgorithm.py title: DP/SlideMinAlgorithm.py @@ -439,5 +442,17 @@ data: - icon: ':heavy_check_mark:' path: Test/yukicoder/2373.test.py title: Test/yukicoder/2373.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2557.test.py + title: Test/yukicoder/2557.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2558.test.py + title: Test/yukicoder/2558.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2559.test.py + title: Test/yukicoder/2559.test.py + - icon: ':heavy_check_mark:' + path: Test/yukicoder/2570.test.py + title: Test/yukicoder/2570.test.py layout: toppage --- From 3682fc700e3d31426a4fe58cf062e10558bbb370 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 2 Dec 2023 11:31:42 +0000 Subject: [PATCH 36/38] [auto-verifier] docs commit 6807921a02ef4c166e211ce4a26e24a3dee34d05 --- Test/yukicoder/2570.test.py.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Test/yukicoder/2570.test.py.md b/Test/yukicoder/2570.test.py.md index c83f699..384d295 100644 --- a/Test/yukicoder/2570.test.py.md +++ b/Test/yukicoder/2570.test.py.md @@ -20,22 +20,19 @@ data: \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2570\n\n\ - import sys\nsys.path.append(\"../../\")\n\nfrom Math import Divisor\n\ndef divisors(n:\ - \ int) -> list:\n divisor = []\n for i in range(1, int(n**0.5) + 1):\n \ - \ if n % i == 0:\n divisor.append(i)\n if i != n //\ - \ i:\n divisor.append(n // i)\n\n divisor.sort()\n return\ - \ divisor\n\n\ndef main() -> None:\n N, K = map(int, input().split())\n \ - \ A = list(map(int, input().split()))\n\n p = set()\n for i in range(N):\n\ - \ for j in Divisor.divisors(A[i]):\n p.add(j)\n\n ans = []\n\ - \ for x in p:\n cnt = 0\n for i in range(N):\n cnt\ - \ += min(A[i] % x, x - (A[i] % x))\n if cnt <= K:\n ans.append(x)\n\ - \n print(max(ans))\n\n\nif __name__ == \"__main__\":\n main()" + import sys\nsys.path.append(\"../../\")\n\nfrom Math import Divisor\n\ndef main()\ + \ -> None:\n N, K = map(int, input().split())\n A = list(map(int, input().split()))\n\ + \n p = set()\n for i in range(N):\n for j in Divisor.divisors(A[i]):\n\ + \ p.add(j)\n\n ans = []\n for x in p:\n cnt = 0\n \ + \ for i in range(N):\n cnt += min(A[i] % x, x - (A[i] % x))\n \ + \ if cnt <= K:\n ans.append(x)\n\n print(max(ans))\n\n\nif\ + \ __name__ == \"__main__\":\n main()" dependsOn: - Math/Divisor.py isVerificationFile: true path: Test/yukicoder/2570.test.py requiredBy: [] - timestamp: '2023-12-02 20:13:06+09:00' + timestamp: '2023-12-02 20:24:38+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yukicoder/2570.test.py From 18c8e38a2be8cee80dc65c01a0188edb2c43e653 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 23 Apr 2024 03:25:25 +0000 Subject: [PATCH 37/38] [auto-verifier] docs commit 83254c9cd782b1abeddca5d5238ab7fd3b260248 --- DP/LongestCommonSubsequence.py.md | 4 +-- DP/LongestIncreasingSubsequence.py.md | 4 +-- DP/SlideMaxAlgorithm.py.md | 4 +-- DP/SlideMinAlgorithm.py.md | 4 +-- Geometry/RotateLeft.py.md | 4 +-- Geometry/RotateReverse.py.md | 4 +-- Geometry/RotateRight.py.md | 4 +-- Geometry/RotateTranspose.py.md | 4 +-- Geometry/SharedPoint.py.md | 4 +-- Graph/BellmanFord.py.md | 4 +-- Graph/Dijkstra.py.md | 4 +-- Graph/EulerTour.py.md | 4 +-- Graph/Kruskal.py.md | 4 +-- Graph/LowestCommonAncestor.py.md | 4 +-- Graph/Prim.py.md | 4 +-- Graph/StronglyConnectedComponent.py.md | 4 +-- Graph/TopologicalSort.py.md | 4 +-- Graph/warshall_floyd.py.md | 4 +-- Math/BinaryToDecimal.py.md | 4 +-- Math/CumulativeSum.py.md | 4 +-- Math/DecimalToBinary.py.md | 4 +-- Math/Dice.py.md | 6 ++-- Math/DigitSum_int.py.md | 4 +-- Math/DigitSum_str.py.md | 4 +-- Math/Divisor.py.md | 4 +-- Math/ExtGCD.py.md | 4 +-- Math/Factorization.py.md | 6 ++-- Math/FromFloatToInt.py.md | 4 +-- Math/ManhattanDistanceSearch.py.md | 4 +-- Math/MatrixPow.py.md | 4 +-- Math/MaxCumulativeSum.py.md | 4 +-- Math/NFactorizarition.py.md | 4 +-- Math/PrimaryCheck.py.md | 4 +-- Math/SieveOfEratosthenes.py.md | 6 ++-- Math/SortedMultiset.py.md | 4 +-- Math/SortedSet.py.md | 4 +-- Math/XorToN.py.md | 4 +-- Math/doubling.py.md | 4 +-- Math/nCk.py.md | 4 +-- Math/nCkFactorization.py.md | 4 +-- Other/debug.py.md | 4 +-- Search/BinarySearch.py.md | 4 +-- Search/BitSearch.py.md | 4 +-- Search/BreadthFirstSearch_graph.py.md | 4 +-- Search/BreadthFirstSearch_grid.py.md | 4 +-- String/BoyerMoore.py.md | 4 +-- String/CoordinateCompression.py.md | 4 +-- String/RunLengthEncoding.py.md | 4 +-- Template/Template.py.md | 4 +-- Template/VerifyHelperTemplate.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 4 +-- Test/AOJ/ALDS1/ALDS1_5_D.test.py.md | 4 +-- Test/AOJ/DSL/DSL_1_A.test.py.md | 6 ++-- Test/AOJ/GRL/GRL_1_A.test.py.md | 4 +-- Test/AOJ/GRL/GRL_1_B.test.py.md | 4 +-- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 4 +-- Test/AOJ/ITP1/ALDS1_10_D.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_11_A.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_11_B.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_11_C.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_11_D.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_2_A.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 4 +-- Test/AOJ/ITP1/ITP1_8_B.test.py.md | 4 +-- Test/AOJ/Volume0/0000.test.py.md | 4 +-- Test/AOJ/Volume0/0001.test.py.md | 4 +-- Test/AOJ/Volume0/0002.test.py.md | 4 +-- Test/AOJ/Volume0/0003.test.py.md | 4 +-- Test/AOJ/Volume0/0004.test.py.md | 4 +-- Test/AOJ/Volume10/1000.test.py.md | 4 +-- Test/AOJ/Volume11/1147.test.py.md | 4 +-- Test/AOJ/Volume11/1153.test.py.md | 4 +-- Test/AOJ/Volume11/1172.test.py.md | 4 +-- Test/AOJ/Volume16/1608.test.py.md | 4 +-- Test/AOJ/Volume16/1640.test.py.md | 4 +-- Test/AOJ/Volume21/2197.test.py.md | 4 +-- Test/AOJ/Volume29/2944.test.py.md | 4 +-- Test/AOJ/Volume32/3202.test.py.md | 4 +-- Test/AOJ/Volume5/0516.test.py.md | 4 +-- .../DataStructure/AssociativeArray.py.md | 4 +-- .../yosupo/DataStructure/StaticRMQ.test.py.md | 4 +-- .../yosupo/DataStructure/Unionfind.test.py.md | 6 ++-- Test/yosupo/Sample/A+B.test.py.md | 4 +-- Test/yosupo/Sample/ManyA+B.test.py.md | 4 +-- Test/yukicoder/0001.test.py.md | 4 +-- Test/yukicoder/0002.test.py.md | 4 +-- Test/yukicoder/0003.test.py.md | 4 +-- Test/yukicoder/0004.test.py.md | 4 +-- Test/yukicoder/0005.test.py.md | 4 +-- Test/yukicoder/0007.test.py.md | 4 +-- Test/yukicoder/0008.test.py.md | 4 +-- Test/yukicoder/0009.test.py.md | 4 +-- Test/yukicoder/0015.test.py.md | 4 +-- Test/yukicoder/0044.test.py.md | 4 +-- Test/yukicoder/0053.test.py.md | 4 +-- Test/yukicoder/0064.test.py.md | 4 +-- Test/yukicoder/0167.test.py.md | 4 +-- Test/yukicoder/0182.test.py.md | 4 +-- Test/yukicoder/0204.test.py.md | 4 +-- Test/yukicoder/0208.test.py.md | 4 +-- Test/yukicoder/0244.test.py.md | 4 +-- Test/yukicoder/0314.test.py.md | 4 +-- Test/yukicoder/0451.test.py.md | 4 +-- Test/yukicoder/0677.test.py.md | 4 +-- Test/yukicoder/0697.test.py.md | 4 +-- Test/yukicoder/0713.test.py.md | 4 +-- Test/yukicoder/0786.test.py.md | 4 +-- Test/yukicoder/0847.test.py.md | 4 +-- Test/yukicoder/1003.test.py.md | 4 +-- Test/yukicoder/1155.test.py.md | 4 +-- Test/yukicoder/1367.test.py.md | 4 +-- Test/yukicoder/1454.test.py.md | 4 +-- Test/yukicoder/1639.test.py.md | 4 +-- Test/yukicoder/1737.test.py.md | 4 +-- Test/yukicoder/1749.test.py.md | 4 +-- Test/yukicoder/1808.test.py.md | 4 +-- Test/yukicoder/2034.test.py.md | 4 +-- Test/yukicoder/2093.test.py.md | 4 +-- Test/yukicoder/2371.test.py.md | 4 +-- Test/yukicoder/2373.test.py.md | 4 +-- Test/yukicoder/2557.test.py.md | 4 +-- Test/yukicoder/2558.test.py.md | 4 +-- Test/yukicoder/2559.test.py.md | 4 +-- Test/yukicoder/2570.test.py.md | 4 +-- Tree/BinaryIndexedTree.py.md | 4 +-- Tree/FindCenter.py.md | 4 +-- Tree/FindDiameter.py.md | 4 +-- Tree/LazySegTree.py.md | 4 +-- Tree/RangeMinimamQuery.py.md | 4 +-- Tree/SegTree.py.md | 4 +-- Tree/UnionFindTree.py.md | 34 +++++++++++-------- 134 files changed, 290 insertions(+), 286 deletions(-) diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md index d382528..0f937b7 100644 --- a/DP/LongestCommonSubsequence.py.md +++ b/DP/LongestCommonSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md index 7094ddf..7df1522 100644 --- a/DP/LongestIncreasingSubsequence.py.md +++ b/DP/LongestIncreasingSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ diff --git a/DP/SlideMaxAlgorithm.py.md b/DP/SlideMaxAlgorithm.py.md index 2a98a09..63cd523 100644 --- a/DP/SlideMaxAlgorithm.py.md +++ b/DP/SlideMaxAlgorithm.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3080\u305A\u3044\nfrom collections import deque\n\ndef SlideMinAlgorithm(a:\ \ list, k: int) -> list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q\ diff --git a/DP/SlideMinAlgorithm.py.md b/DP/SlideMinAlgorithm.py.md index 7c04956..501be5a 100644 --- a/DP/SlideMinAlgorithm.py.md +++ b/DP/SlideMinAlgorithm.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef SlideMinAlgorithm(a: list, k: int) ->\ \ list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q = deque()\n q.append((a[k\ diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md index 6e43f03..137a8c8 100644 --- a/Geometry/RotateLeft.py.md +++ b/Geometry/RotateLeft.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md index f62b63f..1f4a3f4 100644 --- a/Geometry/RotateReverse.py.md +++ b/Geometry/RotateReverse.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md index c349482..447e7ea 100644 --- a/Geometry/RotateRight.py.md +++ b/Geometry/RotateRight.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md index 93dd7bf..80e1ce2 100644 --- a/Geometry/RotateTranspose.py.md +++ b/Geometry/RotateTranspose.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md index e1d1a9c..147bf75 100644 --- a/Geometry/SharedPoint.py.md +++ b/Geometry/SharedPoint.py.md @@ -10,11 +10,11 @@ data: links: - https://atcoder.jp/contests/abc259/submissions/33150317 - https://atcoder.jp/contests/abc259/tasks/abc259_d - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md index 993211b..3c798b9 100644 --- a/Graph/BellmanFord.py.md +++ b/Graph/BellmanFord.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Graph/Dijkstra.py.md b/Graph/Dijkstra.py.md index 4aca629..a1fabeb 100644 --- a/Graph/Dijkstra.py.md +++ b/Graph/Dijkstra.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int, g: list, INF=10**18)\ \ -> list:\n n = len(g)\n dist = [INF] * n\n dist[s] = 0\n q = [(0,\ diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md index b3d91dd..2d32cbc 100644 --- a/Graph/EulerTour.py.md +++ b/Graph/EulerTour.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 7005743..0b2f0ea 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md index d8c9447..1e1b57c 100644 --- a/Graph/LowestCommonAncestor.py.md +++ b/Graph/LowestCommonAncestor.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md index 71d9722..148c98b 100644 --- a/Graph/Prim.py.md +++ b/Graph/Prim.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md index 879a3eb..e60e9b3 100644 --- a/Graph/StronglyConnectedComponent.py.md +++ b/Graph/StronglyConnectedComponent.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md index 80bbbf6..2453f3f 100644 --- a/Graph/TopologicalSort.py.md +++ b/Graph/TopologicalSort.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md index 5798116..afebf5b 100644 --- a/Graph/warshall_floyd.py.md +++ b/Graph/warshall_floyd.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ \ for i in range(n):\n for j in range(n):\n dist[i][j]\ diff --git a/Math/BinaryToDecimal.py.md b/Math/BinaryToDecimal.py.md index 7303c14..86bc18e 100644 --- a/Math/BinaryToDecimal.py.md +++ b/Math/BinaryToDecimal.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ diff --git a/Math/CumulativeSum.py.md b/Math/CumulativeSum.py.md index 6720970..593dcb3 100644 --- a/Math/CumulativeSum.py.md +++ b/Math/CumulativeSum.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ diff --git a/Math/DecimalToBinary.py.md b/Math/DecimalToBinary.py.md index 95b6782..d78457e 100644 --- a/Math/DecimalToBinary.py.md +++ b/Math/DecimalToBinary.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 342a405..3754225 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\n\nclass Dice:\n \"\"\"\u30B5\u30A4\u30B3\u30ED\u306E\u5168\ \u3066\u306E\u72B6\u614B (up, down, front, back, left, right \u306E\u9806) (u\ @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_A.test.py - Test/AOJ/ITP1/ITP1_11_B.test.py + - Test/AOJ/ITP1/ITP1_11_A.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/DigitSum_int.py.md b/Math/DigitSum_int.py.md index 3aa8160..117680e 100644 --- a/Math/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ diff --git a/Math/DigitSum_str.py.md b/Math/DigitSum_str.py.md index 7f9b765..626875c 100644 --- a/Math/DigitSum_str.py.md +++ b/Math/DigitSum_str.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ diff --git a/Math/Divisor.py.md b/Math/Divisor.py.md index 7f23f73..2618719 100644 --- a/Math/Divisor.py.md +++ b/Math/Divisor.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def divisors(n: int) -> list:\n divisor = []\n for i in range(1, int(n**0.5)\ \ + 1):\n if n % i == 0:\n divisor.append(i)\n if\ diff --git a/Math/ExtGCD.py.md b/Math/ExtGCD.py.md index 678a33c..273234a 100644 --- a/Math/ExtGCD.py.md +++ b/Math/ExtGCD.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index bfcf21d..1a3eade 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -17,11 +17,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> list:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ @@ -36,9 +36,9 @@ data: timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: + - Test/yukicoder/0847.test.py - Test/yukicoder/0002.test.py - Test/yukicoder/1737.test.py - - Test/yukicoder/0847.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Math/FromFloatToInt.py.md b/Math/FromFloatToInt.py.md index 6631920..79afb47 100644 --- a/Math/FromFloatToInt.py.md +++ b/Math/FromFloatToInt.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ diff --git a/Math/ManhattanDistanceSearch.py.md b/Math/ManhattanDistanceSearch.py.md index 6c7f733..7b1af7c 100644 --- a/Math/ManhattanDistanceSearch.py.md +++ b/Math/ManhattanDistanceSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ diff --git a/Math/MatrixPow.py.md b/Math/MatrixPow.py.md index 6a93669..9266ae6 100644 --- a/Math/MatrixPow.py.md +++ b/Math/MatrixPow.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def matrix_multi(a: list, b: list, mod=998244353) -> list:\n len_a, len_b,\ \ len_b_zero = len(a), len(b), len(b[0])\n c = [[0] * len(b[0]) for _ in range(len_a)]\n\ diff --git a/Math/MaxCumulativeSum.py.md b/Math/MaxCumulativeSum.py.md index fa65d66..4acf2d8 100644 --- a/Math/MaxCumulativeSum.py.md +++ b/Math/MaxCumulativeSum.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def MaxCumulativeSum(num_array: list, k: int):\n max_cumulative_sum =\ \ []\n count = 0\n for i in range(k):\n count += num_array[i]\n \ diff --git a/Math/NFactorizarition.py.md b/Math/NFactorizarition.py.md index 022a4ae..658b3fb 100644 --- a/Math/NFactorizarition.py.md +++ b/Math/NFactorizarition.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ diff --git a/Math/PrimaryCheck.py.md b/Math/PrimaryCheck.py.md index dbcfdf8..c386305 100644 --- a/Math/PrimaryCheck.py.md +++ b/Math/PrimaryCheck.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index 5f174db..f8f73c2 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -17,11 +17,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ @@ -38,8 +38,8 @@ data: verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/AOJ/Volume11/1172.test.py - - Test/yukicoder/0007.test.py - Test/yukicoder/0713.test.py + - Test/yukicoder/0007.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document redirect_from: diff --git a/Math/SortedMultiset.py.md b/Math/SortedMultiset.py.md index c54ecdd..ba1de8a 100644 --- a/Math/SortedMultiset.py.md +++ b/Math/SortedMultiset.py.md @@ -11,11 +11,11 @@ data: - https://atcoder.jp/contests/abc253/tasks/abc253_c - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ diff --git a/Math/SortedSet.py.md b/Math/SortedSet.py.md index 08866d1..b6bfb58 100644 --- a/Math/SortedSet.py.md +++ b/Math/SortedSet.py.md @@ -14,11 +14,11 @@ data: - https://atcoder.jp/contests/abc260/tasks/abc260_d - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ diff --git a/Math/XorToN.py.md b/Math/XorToN.py.md index d9e648b..52cf896 100644 --- a/Math/XorToN.py.md +++ b/Math/XorToN.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ diff --git a/Math/doubling.py.md b/Math/doubling.py.md index 9458d0d..23ebb7e 100644 --- a/Math/doubling.py.md +++ b/Math/doubling.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ diff --git a/Math/nCk.py.md b/Math/nCk.py.md index 45a3fdb..ab7dc1f 100644 --- a/Math/nCk.py.md +++ b/Math/nCk.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ diff --git a/Math/nCkFactorization.py.md b/Math/nCkFactorization.py.md index 985f5a3..7d91cbb 100644 --- a/Math/nCkFactorization.py.md +++ b/Math/nCkFactorization.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ diff --git a/Other/debug.py.md b/Other/debug.py.md index 0e719cd..4f1eb2f 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md index 54be65c..4f8c0fd 100644 --- a/Search/BinarySearch.py.md +++ b/Search/BinarySearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def check(arg):\n if 1:\n return True\n else:\n return\ \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md index e59ae14..448797a 100644 --- a/Search/BitSearch.py.md +++ b/Search/BitSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index e0bd643..e5f0fe7 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index 2f25153..02ac64a 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(sy: int, sx: int, dist: list) ->\ \ list:\n INF = float('inf')\n d = ((0, 1), (0, -1), (1, 0), (-1, 0))\n\ diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md index eb67922..cb7405e 100644 --- a/String/BoyerMoore.py.md +++ b/String/BoyerMoore.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md index 0b3e60a..a86fa59 100644 --- a/String/CoordinateCompression.py.md +++ b/String/CoordinateCompression.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md index 9f0b5dc..97dc13b 100644 --- a/String/RunLengthEncoding.py.md +++ b/String/RunLengthEncoding.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ diff --git a/Template/Template.py.md b/Template/Template.py.md index 42252c6..5bae346 100644 --- a/Template/Template.py.md +++ b/Template/Template.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md index f311a34..b45cbca 100644 --- a/Template/VerifyHelperTemplate.py.md +++ b/Template/VerifyHelperTemplate.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md index 6d85259..5f3588b 100644 --- a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md index 804815b..1953022 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 5441b43..613932c 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import PrimaryCheck\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index 0c4d1de..e9bac30 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ \ndef main():\n n = int(input())\n s = set(list(map(int, input().split())))\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md index 1841385..e59c621 100644 --- a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import BinaryIndexedTree\n\ diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md index a7ff272..930a92f 100644 --- a/Test/AOJ/DSL/DSL_1_A.test.py.md +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ @@ -30,7 +30,7 @@ data: isVerificationFile: true path: Test/AOJ/DSL/DSL_1_A.test.py requiredBy: [] - timestamp: '2022-08-11 00:02:49+09:00' + timestamp: '2024-04-23 12:17:37+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/AOJ/DSL/DSL_1_A.test.py diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md index 027d686..1e3aac8 100644 --- a/Test/AOJ/GRL/GRL_1_A.test.py.md +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import Dijkstra\n\n\ diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index 7cef93c..6b1535c 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index fac10a5..64227ef 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ # verification-helper: ERROR 1e-4\n\nfrom statistics import pstdev\n\ndef main():\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md index 045d609..ebff42c 100644 --- a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ # verification-helper: ERROR 1e-5\n\ndef main():\n n = int(input())\n x\ diff --git a/Test/AOJ/ITP1/ITP1_11_A.test.py.md b/Test/AOJ/ITP1/ITP1_11_A.test.py.md index 330fa35..656db49 100644 --- a/Test/AOJ/ITP1/ITP1_11_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_B.test.py.md b/Test/AOJ/ITP1/ITP1_11_B.test.py.md index 55933cf..96d0130 100644 --- a/Test/AOJ/ITP1/ITP1_11_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_C.test.py.md b/Test/AOJ/ITP1/ITP1_11_C.test.py.md index 49a7c4c..3cb2756 100644 --- a/Test/AOJ/ITP1/ITP1_11_C.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_C.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_11_D.test.py.md b/Test/AOJ/ITP1/ITP1_11_D.test.py.md index d8cb24d..6cb5610 100644 --- a/Test/AOJ/ITP1/ITP1_11_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_2_A.test.py.md b/Test/AOJ/ITP1/ITP1_2_A.test.py.md index 0748e7b..ce72b79 100644 --- a/Test/AOJ/ITP1/ITP1_2_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_2_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja\n\ \n\ndef main() -> None:\n a, b = map(int, input().split())\n if a < b:\n\ diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index 9411c0a..b220332 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Divisor\n\ndef\ diff --git a/Test/AOJ/ITP1/ITP1_8_B.test.py.md b/Test/AOJ/ITP1/ITP1_8_B.test.py.md index 6ba020d..c2df035 100644 --- a/Test/AOJ/ITP1/ITP1_8_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_8_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import DigitSum_int\n\ diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md index 3392a4d..d78fb8c 100644 --- a/Test/AOJ/Volume0/0000.test.py.md +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index 002908b..63466fa 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ diff --git a/Test/AOJ/Volume0/0002.test.py.md b/Test/AOJ/Volume0/0002.test.py.md index bae5952..98c47fc 100644 --- a/Test/AOJ/Volume0/0002.test.py.md +++ b/Test/AOJ/Volume0/0002.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume0/0003.test.py.md b/Test/AOJ/Volume0/0003.test.py.md index 5184e58..4e2645f 100644 --- a/Test/AOJ/Volume0/0003.test.py.md +++ b/Test/AOJ/Volume0/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003\n\ \ndef main():\n N = int(input())\n for _ in range(N):\n a, b, c =\ diff --git a/Test/AOJ/Volume0/0004.test.py.md b/Test/AOJ/Volume0/0004.test.py.md index 2e182ff..003a57f 100644 --- a/Test/AOJ/Volume0/0004.test.py.md +++ b/Test/AOJ/Volume0/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004\n\ \ndef main():\n while True:\n try:\n a, b, c, d, e, f = map(int,\ diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md index d556196..8e03870 100644 --- a/Test/AOJ/Volume10/1000.test.py.md +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1147.test.py.md b/Test/AOJ/Volume11/1147.test.py.md index 2fda11e..f3eee9d 100644 --- a/Test/AOJ/Volume11/1147.test.py.md +++ b/Test/AOJ/Volume11/1147.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume11/1153.test.py.md b/Test/AOJ/Volume11/1153.test.py.md index c0f74ea..5e8e40a 100644 --- a/Test/AOJ/Volume11/1153.test.py.md +++ b/Test/AOJ/Volume11/1153.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1172.test.py.md b/Test/AOJ/Volume11/1172.test.py.md index 353e10f..87f6d1e 100644 --- a/Test/AOJ/Volume11/1172.test.py.md +++ b/Test/AOJ/Volume11/1172.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import SieveOfEratosthenes\n\ diff --git a/Test/AOJ/Volume16/1608.test.py.md b/Test/AOJ/Volume16/1608.test.py.md index d1452c6..09375f5 100644 --- a/Test/AOJ/Volume16/1608.test.py.md +++ b/Test/AOJ/Volume16/1608.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume16/1640.test.py.md b/Test/AOJ/Volume16/1640.test.py.md index 697de14..501dcc5 100644 --- a/Test/AOJ/Volume16/1640.test.py.md +++ b/Test/AOJ/Volume16/1640.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md index fc8e19b..0d5db6f 100644 --- a/Test/AOJ/Volume21/2197.test.py.md +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume29/2944.test.py.md b/Test/AOJ/Volume29/2944.test.py.md index 20cfe70..8ecbc97 100644 --- a/Test/AOJ/Volume29/2944.test.py.md +++ b/Test/AOJ/Volume29/2944.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume32/3202.test.py.md b/Test/AOJ/Volume32/3202.test.py.md index 993a319..ea5f766 100644 --- a/Test/AOJ/Volume32/3202.test.py.md +++ b/Test/AOJ/Volume32/3202.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp\n\ \nfrom collections import deque\n\ndef main() -> None:\n while True:\n \ diff --git a/Test/AOJ/Volume5/0516.test.py.md b/Test/AOJ/Volume5/0516.test.py.md index 6764b4b..ef30b8b 100644 --- a/Test/AOJ/Volume5/0516.test.py.md +++ b/Test/AOJ/Volume5/0516.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import MaxCumulativeSum\n\ diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md index b355a87..fe61976 100644 --- a/Test/yosupo/DataStructure/AssociativeArray.py.md +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/associative_array links: - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md index bb287bc..94c784a 100644 --- a/Test/yosupo/DataStructure/StaticRMQ.test.py.md +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/staticrmq links: - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index 95d852c..c19677b 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/unionfind links: - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ @@ -30,7 +30,7 @@ data: isVerificationFile: true path: Test/yosupo/DataStructure/Unionfind.test.py requiredBy: [] - timestamp: '2023-06-29 00:35:03+09:00' + timestamp: '2024-04-23 12:17:37+09:00' verificationStatus: TEST_ACCEPTED verifiedWith: [] documentation_of: Test/yosupo/DataStructure/Unionfind.test.py diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index a63a7e2..ad4295d 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/aplusb links: - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index 2056d25..e0c8f55 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/many_aplusb links: - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ diff --git a/Test/yukicoder/0001.test.py.md b/Test/yukicoder/0001.test.py.md index 4699df0..1fdb555 100644 --- a/Test/yukicoder/0001.test.py.md +++ b/Test/yukicoder/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1 links: - https://yukicoder.me/problems/no/1 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1\n\nfrom\ \ collections import defaultdict\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index a371324..0e2eb64 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2 links: - https://yukicoder.me/problems/no/2 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef main()\ diff --git a/Test/yukicoder/0003.test.py.md b/Test/yukicoder/0003.test.py.md index 50cd090..4fbf9dd 100644 --- a/Test/yukicoder/0003.test.py.md +++ b/Test/yukicoder/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/3 links: - https://yukicoder.me/problems/no/3 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/3\n\nfrom\ \ collections import deque\n\ndef main() -> None:\n\n n = int(input())\n\n\ diff --git a/Test/yukicoder/0004.test.py.md b/Test/yukicoder/0004.test.py.md index b636e7e..5bcfdfd 100644 --- a/Test/yukicoder/0004.test.py.md +++ b/Test/yukicoder/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/4 links: - https://yukicoder.me/problems/no/4 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/4\n\ndef\ \ main() -> None:\n\n n = int(input())\n w = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0005.test.py.md b/Test/yukicoder/0005.test.py.md index 032ab98..285003e 100644 --- a/Test/yukicoder/0005.test.py.md +++ b/Test/yukicoder/0005.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/5 links: - https://yukicoder.me/problems/no/5 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/5\n\ndef\ \ main() -> None:\n\n l = int(input())\n n = int(input())\n w = sorted(list(map(int,\ diff --git a/Test/yukicoder/0007.test.py.md b/Test/yukicoder/0007.test.py.md index f283e13..8dd10c3 100644 --- a/Test/yukicoder/0007.test.py.md +++ b/Test/yukicoder/0007.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/7 links: - https://yukicoder.me/problems/no/7 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/7\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0008.test.py.md b/Test/yukicoder/0008.test.py.md index c7d4479..41f761d 100644 --- a/Test/yukicoder/0008.test.py.md +++ b/Test/yukicoder/0008.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/8 links: - https://yukicoder.me/problems/no/8 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/8\n\ndef\ \ main() -> None:\n p = int(input())\n for _ in range(p):\n n, k\ diff --git a/Test/yukicoder/0009.test.py.md b/Test/yukicoder/0009.test.py.md index 2fdc499..812b999 100644 --- a/Test/yukicoder/0009.test.py.md +++ b/Test/yukicoder/0009.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ \ heapq import heapify, heappop, heappush\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0015.test.py.md b/Test/yukicoder/0015.test.py.md index cabd6bb..3c4cc86 100644 --- a/Test/yukicoder/0015.test.py.md +++ b/Test/yukicoder/0015.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n# verification-helper:\ \ IGNORE\n\nfrom itertools import product\nfrom bisect import bisect_right\n\n\ diff --git a/Test/yukicoder/0044.test.py.md b/Test/yukicoder/0044.test.py.md index 810b5be..82ac17a 100644 --- a/Test/yukicoder/0044.test.py.md +++ b/Test/yukicoder/0044.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/44 links: - https://yukicoder.me/problems/no/44 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/44\n\n\n\ def main() -> None:\n\n n = int(input())\n\n dp = [0] * (n + 1)\n dp[0]\ diff --git a/Test/yukicoder/0053.test.py.md b/Test/yukicoder/0053.test.py.md index 68bfa8a..1d98e82 100644 --- a/Test/yukicoder/0053.test.py.md +++ b/Test/yukicoder/0053.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/53 links: - https://yukicoder.me/problems/no/53 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/53\n# verification-helper:\ \ ERROR 1e-9\n\ndef main() -> None:\n n = int(input())\n print(4 * pow(0.75,\ diff --git a/Test/yukicoder/0064.test.py.md b/Test/yukicoder/0064.test.py.md index c480cb8..f2c34b7 100644 --- a/Test/yukicoder/0064.test.py.md +++ b/Test/yukicoder/0064.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/64 links: - https://yukicoder.me/problems/no/64 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/64\n\ndef\ \ main() -> None:\n f0, f1, n = map(int, input().split())\n a = [f0, f1,\ diff --git a/Test/yukicoder/0167.test.py.md b/Test/yukicoder/0167.test.py.md index 4054e35..bb33983 100644 --- a/Test/yukicoder/0167.test.py.md +++ b/Test/yukicoder/0167.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/167 links: - https://yukicoder.me/problems/no/167 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/167\n\nimport\ \ sys\nsys.set_int_max_str_digits(10**9)\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0182.test.py.md b/Test/yukicoder/0182.test.py.md index 08616be..a78cb5b 100644 --- a/Test/yukicoder/0182.test.py.md +++ b/Test/yukicoder/0182.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/182 links: - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0204.test.py.md b/Test/yukicoder/0204.test.py.md index 15d1c09..7a0319c 100644 --- a/Test/yukicoder/0204.test.py.md +++ b/Test/yukicoder/0204.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/204 links: - https://yukicoder.me/problems/no/204 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/204\n\n\n\ def main() -> None:\n d = int(input())\n c1 = input()\n c2 = input()\n\ diff --git a/Test/yukicoder/0208.test.py.md b/Test/yukicoder/0208.test.py.md index 641a771..be8e5de 100644 --- a/Test/yukicoder/0208.test.py.md +++ b/Test/yukicoder/0208.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/208 links: - https://yukicoder.me/problems/no/208 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/208\n\ndef\ \ main() -> None:\n x, y = map(int, input().split())\n x2, y2 = map(int,\ diff --git a/Test/yukicoder/0244.test.py.md b/Test/yukicoder/0244.test.py.md index 6a8f084..16c1a52 100644 --- a/Test/yukicoder/0244.test.py.md +++ b/Test/yukicoder/0244.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/244 links: - https://yukicoder.me/problems/no/244 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/244\n\ndef\ \ main() -> None:\n n = int(input())\n\n print(n - 1)\n\n\nif __name__ ==\ diff --git a/Test/yukicoder/0314.test.py.md b/Test/yukicoder/0314.test.py.md index b44d1f3..896c371 100644 --- a/Test/yukicoder/0314.test.py.md +++ b/Test/yukicoder/0314.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/314 links: - https://yukicoder.me/problems/no/314 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/314\n\ndef\ \ main() -> None:\n n = int(input())\n \n dp = [[0] * 3 for _ in range(n\ diff --git a/Test/yukicoder/0451.test.py.md b/Test/yukicoder/0451.test.py.md index e22549c..166bb84 100644 --- a/Test/yukicoder/0451.test.py.md +++ b/Test/yukicoder/0451.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/451 links: - https://yukicoder.me/problems/no/451 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/451\n\ndef\ \ main() -> None:\n n = int(input())\n b = [int(input()) for _ in range(n)]\n\ diff --git a/Test/yukicoder/0677.test.py.md b/Test/yukicoder/0677.test.py.md index c38ebe7..697c90a 100644 --- a/Test/yukicoder/0677.test.py.md +++ b/Test/yukicoder/0677.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/677 links: - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ diff --git a/Test/yukicoder/0697.test.py.md b/Test/yukicoder/0697.test.py.md index 6ac6e0d..a1e67d5 100644 --- a/Test/yukicoder/0697.test.py.md +++ b/Test/yukicoder/0697.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/697 links: - https://yukicoder.me/problems/no/697 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/697\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom collections import deque\n\nh, w =\ diff --git a/Test/yukicoder/0713.test.py.md b/Test/yukicoder/0713.test.py.md index 8d4b629..ded5fdf 100644 --- a/Test/yukicoder/0713.test.py.md +++ b/Test/yukicoder/0713.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/713 links: - https://yukicoder.me/problems/no/713 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/713\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0786.test.py.md b/Test/yukicoder/0786.test.py.md index ef688ef..1074de8 100644 --- a/Test/yukicoder/0786.test.py.md +++ b/Test/yukicoder/0786.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/786 links: - https://yukicoder.me/problems/no/786 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/786\n\ndef\ \ main() -> None:\n n = int(input())\n dp = [0] * (n + 1)\n dp[1] = 1\n\ diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index d40dd66..a4d642d 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/847 links: - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef dfs(a:\ diff --git a/Test/yukicoder/1003.test.py.md b/Test/yukicoder/1003.test.py.md index a1e9633..7a285d3 100644 --- a/Test/yukicoder/1003.test.py.md +++ b/Test/yukicoder/1003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1003 links: - https://yukicoder.me/problems/no/1003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1003\n\n\ def main() -> None:\n print(\"Yes\") if not int(input()) % 6 else print(\"\ diff --git a/Test/yukicoder/1155.test.py.md b/Test/yukicoder/1155.test.py.md index 4c0bcd0..8c5e4d1 100644 --- a/Test/yukicoder/1155.test.py.md +++ b/Test/yukicoder/1155.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1155 links: - https://yukicoder.me/problems/no/1155 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1155\n\n\ def main() -> None:\n place = [\"Shiitakerando\", \"Otsukakokusaibijutsukan\"\ diff --git a/Test/yukicoder/1367.test.py.md b/Test/yukicoder/1367.test.py.md index bb37225..d8fa573 100644 --- a/Test/yukicoder/1367.test.py.md +++ b/Test/yukicoder/1367.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1367 links: - https://yukicoder.me/problems/no/1367 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1367\n\n\ def main() -> None:\n s = input()\n t = \"kadomatsu\"\n ind = 0\n \ diff --git a/Test/yukicoder/1454.test.py.md b/Test/yukicoder/1454.test.py.md index 171fc86..23de9f5 100644 --- a/Test/yukicoder/1454.test.py.md +++ b/Test/yukicoder/1454.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1454 links: - https://yukicoder.me/problems/no/1454 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1454\n\n\ def main() -> None:\n n, m, x, y = map(int, input().split())\n a = list(map(int,\ diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md index dd89c44..9528f07 100644 --- a/Test/yukicoder/1639.test.py.md +++ b/Test/yukicoder/1639.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1639 links: - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 500b6f2..7e6d917 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1737 links: - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\n\ diff --git a/Test/yukicoder/1749.test.py.md b/Test/yukicoder/1749.test.py.md index f949199..8768185 100644 --- a/Test/yukicoder/1749.test.py.md +++ b/Test/yukicoder/1749.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1749 links: - https://yukicoder.me/problems/no/1749 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1749\n\n\ def main() -> None:\n n, m, t = map(int, input().split())\n \n g = [[]\ diff --git a/Test/yukicoder/1808.test.py.md b/Test/yukicoder/1808.test.py.md index d8b45c6..c790e40 100644 --- a/Test/yukicoder/1808.test.py.md +++ b/Test/yukicoder/1808.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1808 links: - https://yukicoder.me/problems/no/1808 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1808\n\n\ def is_ok(k: int) -> bool:\n check = True\n cnt = 0\n for i in range(n):\n\ diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index e61ba60..297983d 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2034 links: - https://yukicoder.me/problems/no/2034 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ diff --git a/Test/yukicoder/2093.test.py.md b/Test/yukicoder/2093.test.py.md index 241fea0..4a60838 100644 --- a/Test/yukicoder/2093.test.py.md +++ b/Test/yukicoder/2093.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2093 links: - https://yukicoder.me/problems/no/2093 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2093\n\n\ def main() -> None:\n N, I = map(int, input().split())\n s, a = [0] * N,\ diff --git a/Test/yukicoder/2371.test.py.md b/Test/yukicoder/2371.test.py.md index 9972388..27cd8d0 100644 --- a/Test/yukicoder/2371.test.py.md +++ b/Test/yukicoder/2371.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2371 links: - https://yukicoder.me/problems/no/2371 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2371\n\n\ def main() -> None:\n h, m = map(int, input().split())\n time = h * 60 +\ diff --git a/Test/yukicoder/2373.test.py.md b/Test/yukicoder/2373.test.py.md index a5e44cd..5f122d9 100644 --- a/Test/yukicoder/2373.test.py.md +++ b/Test/yukicoder/2373.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2373 links: - https://yukicoder.me/problems/no/2373 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2373\n\n\ def main() -> None:\n n = int(input())\n s = list(input())\n dp = [[False]\ diff --git a/Test/yukicoder/2557.test.py.md b/Test/yukicoder/2557.test.py.md index 19358fd..df45e43 100644 --- a/Test/yukicoder/2557.test.py.md +++ b/Test/yukicoder/2557.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2557 links: - https://yukicoder.me/problems/no/2557 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2557\n\n\ def main() -> None:\n N = int(input())\n\n if N < 1200:\n print(\"\ diff --git a/Test/yukicoder/2558.test.py.md b/Test/yukicoder/2558.test.py.md index 5d96fbf..deaa38d 100644 --- a/Test/yukicoder/2558.test.py.md +++ b/Test/yukicoder/2558.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2558 links: - https://yukicoder.me/problems/no/2558 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2558\n\n\ def main() -> None:\n A, B, a, b = map(int, input().split())\n for x in\ diff --git a/Test/yukicoder/2559.test.py.md b/Test/yukicoder/2559.test.py.md index 47e2a8e..5865f40 100644 --- a/Test/yukicoder/2559.test.py.md +++ b/Test/yukicoder/2559.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2559 links: - https://yukicoder.me/problems/no/2559 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2559\n\n\ def main() -> None:\n N, X = map(int, input().split())\n A, B = [0] * N,\ diff --git a/Test/yukicoder/2570.test.py.md b/Test/yukicoder/2570.test.py.md index 384d295..59cc6b3 100644 --- a/Test/yukicoder/2570.test.py.md +++ b/Test/yukicoder/2570.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2570 links: - https://yukicoder.me/problems/no/2570 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2570\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Divisor\n\ndef main()\ diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index ddd2d1c..e76c2f9 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md index 67808b3..9d3ea3f 100644 --- a/Tree/FindCenter.py.md +++ b/Tree/FindCenter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md index 386496a..7bc8d37 100644 --- a/Tree/FindDiameter.py.md +++ b/Tree/FindDiameter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md index e42c60e..a253fd6 100644 --- a/Tree/LazySegTree.py.md +++ b/Tree/LazySegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index cbda7a5..20cf94b 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md index d9994fa..6f57bca 100644 --- a/Tree/SegTree.py.md +++ b/Tree/SegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index 6cb6f6a..cb6d22f 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -14,29 +14,33 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" - code: "class UnionFind:\n def __init__(self, n):\n self.n = n\n \ - \ self.p = [-1] * n\n\n\n def leader(self, a):\n while self.p[a] >=\ - \ 0:\n a = self.p[a]\n return a\n\n\n def merge(self, a,\ - \ b):\n x = self.leader(a)\n y = self.leader(b)\n\n if x\ - \ == y:\n return x\n\n if self.p[x] > self.p[y]:\n \ - \ x, y = y, x\n\n self.p[x] += self.p[y]\n self.p[y] = x\n\n \ - \ return x\n\n def same(self, a, b):\n return self.leader(a) ==\ - \ self.leader(b)\n\n def size(self, a):\n return -self.p[self.leader(a)]\n\ - \ndef main() -> None:\n n, m = map(int, input().split())\n\n uf = UnionFind(n)\n\ - \n for _ in range(m):\n a, b = map(int,input().split())\n uf.merge(a\ - \ - 1, b - 1)\n\n ans = 0\n for i in range(n):\n ans = max(ans, uf.size(i))\n\ - \n print(ans)\n\nif __name__ == \"__main__\":\n main()" + code: "class UnionFind:\n def __init__(self, n: int) -> None:\n self.n\ + \ = n\n self.p = [-1] * n\n\n\n def leader(self, a: int) -> int:\n \ + \ while self.p[a] >= 0:\n a = self.p[a]\n return a\n\n\ + \n def merge(self, a: int, b: int) -> int:\n x = self.leader(a)\n \ + \ y = self.leader(b)\n\n if x == y:\n return x\n\n \ + \ if self.p[x] > self.p[y]:\n x, y = y, x\n\n self.p[x] +=\ + \ self.p[y]\n self.p[y] = x\n\n return x\n\n def same(self, a:\ + \ int, b: int) -> bool:\n return self.leader(a) == self.leader(b)\n\n \ + \ def groups(self) -> list:\n member = [[] for _ in range(self.n)]\n\ + \ for i in range(self.n):\n member[self.leader(i)].append(i)\n\ + \ return member\n\n def size(self, a: int) -> int:\n return -self.p[self.leader(a)]\n\ + \n\ndef main() -> None:\n N, M = map(int, input().split())\n\n UF = UnionFind(N)\n\ + \n for _ in range(m):\n A, B = map(lambda x: int(x) - 1,input().split())\n\ + \ UF.merge(A, B)\n\n ans = 0\n for i in range(N):\n ans =\ + \ max(ans, UF.size(i))\n\n print(ans)\n\n\nif __name__ == \"__main__\":\n \ + \ main()" dependsOn: [] isVerificationFile: false path: Tree/UnionFindTree.py requiredBy: [] - timestamp: '2022-07-15 00:14:10+09:00' + timestamp: '2024-04-23 12:17:37+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - Test/yosupo/DataStructure/Unionfind.test.py From da714bfdff2a7aeab1c3178325feba26a222b40e Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 21 Aug 2024 13:07:26 +0000 Subject: [PATCH 38/38] [auto-verifier] docs commit 3a3ff8f19faef5426d5574dc5360db76e520841f --- DP/LongestCommonSubsequence.py.md | 4 +- DP/LongestIncreasingSubsequence.py.md | 4 +- DP/SlideMaxAlgorithm.py.md | 4 +- DP/SlideMinAlgorithm.py.md | 4 +- Geometry/RotateLeft.py.md | 4 +- Geometry/RotateReverse.py.md | 4 +- Geometry/RotateRight.py.md | 4 +- Geometry/RotateTranspose.py.md | 4 +- Geometry/SharedPoint.py.md | 4 +- Graph/BellmanFord.py.md | 4 +- Graph/Dijkstra.py.md | 4 +- Graph/EulerTour.py.md | 4 +- Graph/Kruskal.py.md | 4 +- Graph/LowestCommonAncestor.py.md | 4 +- Graph/Prim.py.md | 4 +- Graph/StronglyConnectedComponent.py.md | 4 +- Graph/TopologicalSort.py.md | 4 +- Graph/warshall_floyd.py.md | 4 +- Math/BinaryToDecimal.py.md | 4 +- Math/Combination.py.md | 42 +++++++++++++++++++ Math/CumulativeSum.py.md | 4 +- Math/DecimalToBinary.py.md | 4 +- Math/Dice.py.md | 6 +-- Math/DigitSum_int.py.md | 4 +- Math/DigitSum_str.py.md | 4 +- Math/Divisor.py.md | 6 +-- Math/ExtGCD.py.md | 4 +- Math/Factorization.py.md | 6 +-- Math/FromFloatToInt.py.md | 4 +- Math/ManhattanDistanceSearch.py.md | 4 +- Math/MatrixPow.py.md | 4 +- Math/MaxCumulativeSum.py.md | 4 +- Math/NFactorizarition.py.md | 4 +- Math/PrimaryCheck.py.md | 4 +- Math/SieveOfEratosthenes.py.md | 6 +-- Math/SortedMultiset.py.md | 4 +- Math/SortedSet.py.md | 4 +- Math/XorToN.py.md | 4 +- Math/doubling.py.md | 4 +- Math/nCk.py.md | 4 +- Math/nCkFactorization.py.md | 4 +- Other/debug.py.md | 4 +- Search/BinarySearch.py.md | 4 +- Search/BitSearch.py.md | 4 +- Search/BreadthFirstSearch_graph.py.md | 4 +- Search/BreadthFirstSearch_grid.py.md | 4 +- String/BoyerMoore.py.md | 4 +- String/CoordinateCompression.py.md | 4 +- String/RunLengthEncoding.py.md | 4 +- Template/Template.py.md | 4 +- Template/VerifyHelperTemplate.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_13_A.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_1_B.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_1_C.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_4_B.test.py.md | 4 +- Test/AOJ/ALDS1/ALDS1_5_D.test.py.md | 4 +- Test/AOJ/DSL/DSL_1_A.test.py.md | 4 +- Test/AOJ/GRL/GRL_1_A.test.py.md | 4 +- Test/AOJ/GRL/GRL_1_B.test.py.md | 4 +- Test/AOJ/ITP1/ALDS1_10_C.test.py.md | 4 +- Test/AOJ/ITP1/ALDS1_10_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_A.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_B.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_C.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_11_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_2_A.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_3_D.test.py.md | 4 +- Test/AOJ/ITP1/ITP1_8_B.test.py.md | 4 +- Test/AOJ/Volume0/0000.test.py.md | 4 +- Test/AOJ/Volume0/0001.test.py.md | 4 +- Test/AOJ/Volume0/0002.test.py.md | 4 +- Test/AOJ/Volume0/0003.test.py.md | 4 +- Test/AOJ/Volume0/0004.test.py.md | 4 +- Test/AOJ/Volume10/1000.test.py.md | 4 +- Test/AOJ/Volume11/1147.test.py.md | 4 +- Test/AOJ/Volume11/1153.test.py.md | 4 +- Test/AOJ/Volume11/1172.test.py.md | 4 +- Test/AOJ/Volume16/1608.test.py.md | 4 +- Test/AOJ/Volume16/1640.test.py.md | 4 +- Test/AOJ/Volume21/2197.test.py.md | 4 +- Test/AOJ/Volume29/2944.test.py.md | 4 +- Test/AOJ/Volume32/3202.test.py.md | 4 +- Test/AOJ/Volume5/0516.test.py.md | 4 +- .../DataStructure/AssociativeArray.py.md | 4 +- .../yosupo/DataStructure/StaticRMQ.test.py.md | 4 +- .../yosupo/DataStructure/Unionfind.test.py.md | 4 +- Test/yosupo/Sample/A+B.test.py.md | 4 +- Test/yosupo/Sample/ManyA+B.test.py.md | 4 +- Test/yukicoder/0001.test.py.md | 4 +- Test/yukicoder/0002.test.py.md | 4 +- Test/yukicoder/0003.test.py.md | 4 +- Test/yukicoder/0004.test.py.md | 4 +- Test/yukicoder/0005.test.py.md | 4 +- Test/yukicoder/0007.test.py.md | 4 +- Test/yukicoder/0008.test.py.md | 4 +- Test/yukicoder/0009.test.py.md | 4 +- Test/yukicoder/0015.test.py.md | 4 +- Test/yukicoder/0044.test.py.md | 4 +- Test/yukicoder/0053.test.py.md | 4 +- Test/yukicoder/0064.test.py.md | 4 +- Test/yukicoder/0167.test.py.md | 4 +- Test/yukicoder/0182.test.py.md | 4 +- Test/yukicoder/0204.test.py.md | 4 +- Test/yukicoder/0208.test.py.md | 4 +- Test/yukicoder/0244.test.py.md | 4 +- Test/yukicoder/0314.test.py.md | 4 +- Test/yukicoder/0451.test.py.md | 4 +- Test/yukicoder/0677.test.py.md | 4 +- Test/yukicoder/0697.test.py.md | 4 +- Test/yukicoder/0713.test.py.md | 4 +- Test/yukicoder/0786.test.py.md | 4 +- Test/yukicoder/0847.test.py.md | 4 +- Test/yukicoder/1003.test.py.md | 4 +- Test/yukicoder/1155.test.py.md | 4 +- Test/yukicoder/1367.test.py.md | 4 +- Test/yukicoder/1454.test.py.md | 4 +- Test/yukicoder/1639.test.py.md | 4 +- Test/yukicoder/1737.test.py.md | 4 +- Test/yukicoder/1749.test.py.md | 4 +- Test/yukicoder/1808.test.py.md | 4 +- Test/yukicoder/2034.test.py.md | 4 +- Test/yukicoder/2093.test.py.md | 4 +- Test/yukicoder/2371.test.py.md | 4 +- Test/yukicoder/2373.test.py.md | 4 +- Test/yukicoder/2557.test.py.md | 4 +- Test/yukicoder/2558.test.py.md | 4 +- Test/yukicoder/2559.test.py.md | 4 +- Test/yukicoder/2570.test.py.md | 4 +- Tree/BinaryIndexedTree.py.md | 4 +- Tree/FindCenter.py.md | 4 +- Tree/FindDiameter.py.md | 4 +- Tree/LazySegTree.py.md | 4 +- Tree/RangeMinimamQuery.py.md | 4 +- Tree/SegTree.py.md | 4 +- Tree/UnionFindTree.py.md | 6 +-- index.md | 3 ++ 136 files changed, 318 insertions(+), 273 deletions(-) create mode 100644 Math/Combination.py.md diff --git a/DP/LongestCommonSubsequence.py.md b/DP/LongestCommonSubsequence.py.md index 0f937b7..1719885 100644 --- a/DP/LongestCommonSubsequence.py.md +++ b/DP/LongestCommonSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LCS(S, T):\n L1 = len(S)\n L2 = len(T)\n dp = [[0] * (L2 + 1)\ \ for i in range(L1 + 1)]\n\n for i in range(L1 - 1, -1, -1):\n for\ diff --git a/DP/LongestIncreasingSubsequence.py.md b/DP/LongestIncreasingSubsequence.py.md index 7df1522..f7816a9 100644 --- a/DP/LongestIncreasingSubsequence.py.md +++ b/DP/LongestIncreasingSubsequence.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from bisect import bisect_left\n\ndef LIS(n: int, a: list) -> int:\n INF\ \ = 10 ** 18\n dp = [INF] * n\n for i in a:\n x = bisect_left(dp,\ diff --git a/DP/SlideMaxAlgorithm.py.md b/DP/SlideMaxAlgorithm.py.md index 63cd523..fe2274e 100644 --- a/DP/SlideMaxAlgorithm.py.md +++ b/DP/SlideMaxAlgorithm.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3080\u305A\u3044\nfrom collections import deque\n\ndef SlideMinAlgorithm(a:\ \ list, k: int) -> list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q\ diff --git a/DP/SlideMinAlgorithm.py.md b/DP/SlideMinAlgorithm.py.md index 501be5a..bb81d33 100644 --- a/DP/SlideMinAlgorithm.py.md +++ b/DP/SlideMinAlgorithm.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef SlideMinAlgorithm(a: list, k: int) ->\ \ list:\n n = len(a)\n ans = [-1] * (n - k + 1)\n q = deque()\n q.append((a[k\ diff --git a/Geometry/RotateLeft.py.md b/Geometry/RotateLeft.py.md index 137a8c8..ba530f7 100644 --- a/Geometry/RotateLeft.py.md +++ b/Geometry/RotateLeft.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def LeftRotate(l: list) -> list:\n \"\"\"\u5DE6\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateReverse.py.md b/Geometry/RotateReverse.py.md index 1f4a3f4..57c17dc 100644 --- a/Geometry/RotateReverse.py.md +++ b/Geometry/RotateReverse.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def ReverseRotate(l: list) -> list:\n \"\"\"180\xB0\u56DE\u8EE2\u3055\u305B\ \u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * w for _ in range(h)]\n\ diff --git a/Geometry/RotateRight.py.md b/Geometry/RotateRight.py.md index 447e7ea..610a383 100644 --- a/Geometry/RotateRight.py.md +++ b/Geometry/RotateRight.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RightRotate(l: list) -> list:\n \"\"\"\u53F3\u306B90\xB0\u56DE\u8EE2\ \u3055\u305B\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None] * h\ diff --git a/Geometry/RotateTranspose.py.md b/Geometry/RotateTranspose.py.md index 80e1ce2..4871bf1 100644 --- a/Geometry/RotateTranspose.py.md +++ b/Geometry/RotateTranspose.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def TransposeRotate(l: list) -> list:\n \"\"\"\u8EE2\u7F6E\u884C\u5217\ \u3092\u6C42\u3081\u308B\"\"\"\n h, w = len(l), len(l[0])\n ans = [[None]\ diff --git a/Geometry/SharedPoint.py.md b/Geometry/SharedPoint.py.md index 147bf75..c90293b 100644 --- a/Geometry/SharedPoint.py.md +++ b/Geometry/SharedPoint.py.md @@ -10,11 +10,11 @@ data: links: - https://atcoder.jp/contests/abc259/submissions/33150317 - https://atcoder.jp/contests/abc259/tasks/abc259_d - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def SharedPoint(x1: int, y1: int, r1: int, x2: int, y2: int, r2: int) ->\ \ int:\n \"\"\"2\u3064\u306E\u5186\u306E\u5171\u6709\u70B9\u306E\u500B\u6570\ diff --git a/Graph/BellmanFord.py.md b/Graph/BellmanFord.py.md index 3c798b9..3ba6717 100644 --- a/Graph/BellmanFord.py.md +++ b/Graph/BellmanFord.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u8A08\u7B97\u91CF\uFF1AO(|V||E|)\ndef bellman_ford(n: int, g: list, s:\ \ int) -> list:\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Graph/Dijkstra.py.md b/Graph/Dijkstra.py.md index a1fabeb..7710c58 100644 --- a/Graph/Dijkstra.py.md +++ b/Graph/Dijkstra.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from heapq import heappush, heappop\n\ndef dijkstra(s: int, g: list, INF=10**18)\ \ -> list:\n n = len(g)\n dist = [INF] * n\n dist[s] = 0\n q = [(0,\ diff --git a/Graph/EulerTour.py.md b/Graph/EulerTour.py.md index 2d32cbc..5ea2884 100644 --- a/Graph/EulerTour.py.md +++ b/Graph/EulerTour.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\n\nfor _ in range(n - 1):\n a, b = map(int,input().split())\n\ diff --git a/Graph/Kruskal.py.md b/Graph/Kruskal.py.md index 0b2f0ea..a40bb6b 100644 --- a/Graph/Kruskal.py.md +++ b/Graph/Kruskal.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Kruskal:\n def __init__(self, n: int, g: list) -> None:\n \ \ self.n = n\n self.g = g.sort(key=lambda x: x[2])\n self.p = [-1]\ diff --git a/Graph/LowestCommonAncestor.py.md b/Graph/LowestCommonAncestor.py.md index 1e1b57c..96211f4 100644 --- a/Graph/LowestCommonAncestor.py.md +++ b/Graph/LowestCommonAncestor.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\nsys.setrecursionlimit(10 ** 6)\n\nn = int(input())\ng = [[] for\ \ _ in range(n)]\nfor i in range(n):\n a = list(map(int, input().split()))[1:]\n\ diff --git a/Graph/Prim.py.md b/Graph/Prim.py.md index 148c98b..46a9dec 100644 --- a/Graph/Prim.py.md +++ b/Graph/Prim.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6700\u5C0F\u5168\u57DF\u6728\uFF08\u30D7\u30EA\u30E0\u6CD5\uFF09\nfrom\ \ heapq import heappop, heappush, heapify\n\nn, m = map(int,input().split())\n\ diff --git a/Graph/StronglyConnectedComponent.py.md b/Graph/StronglyConnectedComponent.py.md index e60e9b3..ccb932a 100644 --- a/Graph/StronglyConnectedComponent.py.md +++ b/Graph/StronglyConnectedComponent.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\n\"SCC\uFF08Strongly Connected Component\uFF09\ \ := \u5F37\u9023\u7D50\u6210\u5206\u5206\u89E3\"\nclass SCC:\n def __init__(self,\ diff --git a/Graph/TopologicalSort.py.md b/Graph/TopologicalSort.py.md index 2453f3f..e9579f1 100644 --- a/Graph/TopologicalSort.py.md +++ b/Graph/TopologicalSort.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\nfrom heapq import heappop, heappush\n\ \nn, m = map(int,input().split())\n\ng = [[] for _ in range(n)]\nd = defaultdict(int)\ diff --git a/Graph/warshall_floyd.py.md b/Graph/warshall_floyd.py.md index afebf5b..ba883d3 100644 --- a/Graph/warshall_floyd.py.md +++ b/Graph/warshall_floyd.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# warshall_floyd\u6CD5\ndef warshall_floyd() -> list:\n for k in range(n):\n\ \ for i in range(n):\n for j in range(n):\n dist[i][j]\ diff --git a/Math/BinaryToDecimal.py.md b/Math/BinaryToDecimal.py.md index 86bc18e..35a838e 100644 --- a/Math/BinaryToDecimal.py.md +++ b/Math/BinaryToDecimal.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \uFF12\u9032\u6570 -> 10\u9032\u6570\u3078\u306E\u5909\u63DB\ndef BinaryToDecimal(num):\n\ \ num = str(num)[::-1]\n decimal_number = 0\n for i in range(len(num)):\n\ diff --git a/Math/Combination.py.md b/Math/Combination.py.md new file mode 100644 index 0000000..e96f607 --- /dev/null +++ b/Math/Combination.py.md @@ -0,0 +1,42 @@ +--- +data: + _extendedDependsOn: [] + _extendedRequiredBy: [] + _extendedVerifiedWith: [] + _isVerificationFailed: false + _pathExtension: py + _verificationStatusIcon: ':warning:' + attributes: + links: [] + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ + \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" + code: "class Combination:\n def __init__(self, N: int, MOD: int) -> None:\n \ + \ self.N = N + 100\n self.MOD = MOD\n self.fac = [0]*(self.N\ + \ + 1)\n self.fac_inv = [0]*(self.N + 1)\n self.fac[0] = 1\n \ + \ self.fac_inv[0] = 1\n\n for i in range(1, self.N + 1):\n \ + \ self.fac[i] = self.fac[i - 1] * i\n self.fac[i] %= self.MOD\n\ + \ \n for i in range(1, self.N + 1):\n self.fac_inv[i]\ + \ = pow(self.fac[i], self.MOD - 2, self.MOD)\n \n def nCr(self, N: int,\ + \ R: int) -> int:\n return self.fac[N]*self.fac_inv[R]*self.fac_inv[N -\ + \ R] % self.MOD\n\n def nPr(self, N: int, R: int) -> int:\n return self.nCr(N,\ + \ R)*self.fac[R] % self.MOD\n\n\ndef main() -> None:\n N = 10**5\n mod =\ + \ 998244353\n Com = Combination(N, mod)\n\n\nif __name__ == \"__main__\":\n\ + \ main()" + dependsOn: [] + isVerificationFile: false + path: Math/Combination.py + requiredBy: [] + timestamp: '2024-08-21 21:59:55+09:00' + verificationStatus: LIBRARY_NO_TESTS + verifiedWith: [] +documentation_of: Math/Combination.py +layout: document +redirect_from: +- /library/Math/Combination.py +- /library/Math/Combination.py.html +title: Math/Combination.py +--- diff --git a/Math/CumulativeSum.py.md b/Math/CumulativeSum.py.md index 593dcb3..cce6d3f 100644 --- a/Math/CumulativeSum.py.md +++ b/Math/CumulativeSum.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u914D\u5217\u306E\u7D2F\u7A4D\u548C\u3092\u6C42\u3081\u308B\ndef CumulativeSum(num_array):\n\ \ for i in range(len(num_array) - 1):\n num_array[i + 1] += num_array[i]\n\ diff --git a/Math/DecimalToBinary.py.md b/Math/DecimalToBinary.py.md index d78457e..76a98f1 100644 --- a/Math/DecimalToBinary.py.md +++ b/Math/DecimalToBinary.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 10\u9032\u6570 -> 2\u9032\u6570\u3078\u306E\u5909\u63DB\ndef DeciamlToBinary(num):\n\ \ binary_number = \"\"\n while num > 0:\n binary_number += str(num\ diff --git a/Math/Dice.py.md b/Math/Dice.py.md index 3754225..ab2ad12 100644 --- a/Math/Dice.py.md +++ b/Math/Dice.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\n\nclass Dice:\n \"\"\"\u30B5\u30A4\u30B3\u30ED\u306E\u5168\ \u3066\u306E\u72B6\u614B (up, down, front, back, left, right \u306E\u9806) (u\ @@ -67,8 +67,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_11_B.test.py - Test/AOJ/ITP1/ITP1_11_A.test.py + - Test/AOJ/ITP1/ITP1_11_B.test.py documentation_of: Math/Dice.py layout: document redirect_from: diff --git a/Math/DigitSum_int.py.md b/Math/DigitSum_int.py.md index 117680e..0afaef2 100644 --- a/Math/DigitSum_int.py.md +++ b/Math/DigitSum_int.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: int) -> int:\n '''int \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n digit_sum = 0\n\n while num > 0:\n digit_sum\ diff --git a/Math/DigitSum_str.py.md b/Math/DigitSum_str.py.md index 626875c..6adcdf9 100644 --- a/Math/DigitSum_str.py.md +++ b/Math/DigitSum_str.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def DigitSum(num: str) -> int:\n '''str \u578B\u306E\u6841\u548C\u3092\ \u6C42\u3081\u308B'''\n return sum([int(num[i]) for i in range(len(num))])\n\ diff --git a/Math/Divisor.py.md b/Math/Divisor.py.md index 2618719..c5ac4d6 100644 --- a/Math/Divisor.py.md +++ b/Math/Divisor.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def divisors(n: int) -> list:\n divisor = []\n for i in range(1, int(n**0.5)\ \ + 1):\n if n % i == 0:\n divisor.append(i)\n if\ @@ -31,8 +31,8 @@ data: timestamp: '2023-06-29 00:35:03+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/ITP1/ITP1_3_D.test.py - Test/yukicoder/2570.test.py + - Test/AOJ/ITP1/ITP1_3_D.test.py documentation_of: Math/Divisor.py layout: document redirect_from: diff --git a/Math/ExtGCD.py.md b/Math/ExtGCD.py.md index 273234a..d1698f5 100644 --- a/Math/ExtGCD.py.md +++ b/Math/ExtGCD.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def extgcd(a: int, b: int) -> int:\n \"ax + by = gcd(a,b) = d \u3068\u306A\ \u308B (x, y, d) \u3092\u8FD4\u3059\"\n if b == 0:\n return (1, 0, a)\n\ diff --git a/Math/Factorization.py.md b/Math/Factorization.py.md index 1a3eade..cc2897e 100644 --- a/Math/Factorization.py.md +++ b/Math/Factorization.py.md @@ -17,11 +17,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def factorization(n: int) -> list:\n arr, tmp = [], n\n for i in range(2,\ \ int(-(-n ** 0.5 // 1)) + 1):\n if tmp % i == 0:\n cnt = 0\n\ @@ -36,9 +36,9 @@ data: timestamp: '2023-12-02 20:13:06+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yukicoder/0847.test.py - Test/yukicoder/0002.test.py - Test/yukicoder/1737.test.py + - Test/yukicoder/0847.test.py documentation_of: Math/Factorization.py layout: document redirect_from: diff --git a/Math/FromFloatToInt.py.md b/Math/FromFloatToInt.py.md index 79afb47..f7f636e 100644 --- a/Math/FromFloatToInt.py.md +++ b/Math/FromFloatToInt.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def FloatToInt(FLOAT):\n return int(FLOAT.replace(\".\", \"\")), len(FLOAT)\ \ - FLOAT.index(\".\") - 1 # tuple \u3067return\n\nn = \"314.1592653589\" # \u958B\ diff --git a/Math/ManhattanDistanceSearch.py.md b/Math/ManhattanDistanceSearch.py.md index 7b1af7c..6555b07 100644 --- a/Math/ManhattanDistanceSearch.py.md +++ b/Math/ManhattanDistanceSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def manhattan_distance(li: list, k: int) -> int: # \u8FD4\u308A\u5024\u6CE8\ \u610F\n \"\u30DE\u30F3\u30CF\u30C3\u30BF\u30F3\u8DDD\u96E2\u3067\u884C\u3051\ diff --git a/Math/MatrixPow.py.md b/Math/MatrixPow.py.md index 9266ae6..a7a9fb2 100644 --- a/Math/MatrixPow.py.md +++ b/Math/MatrixPow.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def matrix_multi(a: list, b: list, mod=998244353) -> list:\n len_a, len_b,\ \ len_b_zero = len(a), len(b), len(b[0])\n c = [[0] * len(b[0]) for _ in range(len_a)]\n\ diff --git a/Math/MaxCumulativeSum.py.md b/Math/MaxCumulativeSum.py.md index 4acf2d8..76da920 100644 --- a/Math/MaxCumulativeSum.py.md +++ b/Math/MaxCumulativeSum.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def MaxCumulativeSum(num_array: list, k: int):\n max_cumulative_sum =\ \ []\n count = 0\n for i in range(k):\n count += num_array[i]\n \ diff --git a/Math/NFactorizarition.py.md b/Math/NFactorizarition.py.md index 658b3fb..d697b23 100644 --- a/Math/NFactorizarition.py.md +++ b/Math/NFactorizarition.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 2ms\u306E\u5834\u5408\u306F10^6\u307E\u3067\u884C\u3051\u308B\ndef primes_list(n):\n\ \ \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\u306E\u7BE9\u3067n\u4EE5\ diff --git a/Math/PrimaryCheck.py.md b/Math/PrimaryCheck.py.md index c386305..83b2dce 100644 --- a/Math/PrimaryCheck.py.md +++ b/Math/PrimaryCheck.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def PrimaryCheck(x: int) -> bool:\n if x == 1:\n return False\n\ \n for i in range(2, int(x ** 0.5) + 1):\n if x % i == 0:\n \ diff --git a/Math/SieveOfEratosthenes.py.md b/Math/SieveOfEratosthenes.py.md index f8f73c2..b91c525 100644 --- a/Math/SieveOfEratosthenes.py.md +++ b/Math/SieveOfEratosthenes.py.md @@ -17,11 +17,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes(n: int) -> list:\n \"\u7D20\u6570\u306E\u5217\u6319\u3092\u884C\ \u3046\"\n\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1]\ @@ -37,9 +37,9 @@ data: timestamp: '2023-06-29 01:19:46+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/AOJ/Volume11/1172.test.py - Test/yukicoder/0713.test.py - Test/yukicoder/0007.test.py + - Test/AOJ/Volume11/1172.test.py documentation_of: Math/SieveOfEratosthenes.py layout: document redirect_from: diff --git a/Math/SortedMultiset.py.md b/Math/SortedMultiset.py.md index ba1de8a..d94db7a 100644 --- a/Math/SortedMultiset.py.md +++ b/Math/SortedMultiset.py.md @@ -11,11 +11,11 @@ data: - https://atcoder.jp/contests/abc253/tasks/abc253_c - https://github.com/tatyam-prime/SortedSet/blob/main/SortedMultiset.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedMultiset \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\ diff --git a/Math/SortedSet.py.md b/Math/SortedSet.py.md index b6bfb58..9f73ee0 100644 --- a/Math/SortedSet.py.md +++ b/Math/SortedSet.py.md @@ -14,11 +14,11 @@ data: - https://atcoder.jp/contests/abc260/tasks/abc260_d - https://github.com/tatyam-prime/SortedSet/blob/main/SortedSet.py - https://qiita.com/tatyam/items/492c70ac4c955c055602 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# 99.99% tatyam \u3055\u3093\u304C\u516C\u958B\u3055\u308C\u3066\u3044\u308B\ \ SortedSet \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\n# \u4E00\u90E8\u81EA\ diff --git a/Math/XorToN.py.md b/Math/XorToN.py.md index 52cf896..1133ba2 100644 --- a/Math/XorToN.py.md +++ b/Math/XorToN.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def XorToN(N: int) -> int:\n \"0 \u301C N \u307E\u3067\u306E XOR \u306E\ \u5024\u3092\u8FD4\u3059\u95A2\u6570\"\n \n if N % 4 == 0:\n return\ diff --git a/Math/doubling.py.md b/Math/doubling.py.md index 23ebb7e..4fb71c2 100644 --- a/Math/doubling.py.md +++ b/Math/doubling.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class Doubling():\n def __init__(self, n, k_max, f) -> None:\n \ \ \"\"\"\u8981\u7D20\u6570n\u306E\u30C0\u30D6\u30EA\u30F3\u30B0\u30C6\u30FC\u30D6\ diff --git a/Math/nCk.py.md b/Math/nCk.py.md index ab7dc1f..e1738cb 100644 --- a/Math/nCk.py.md +++ b/Math/nCk.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def calc_facinv(n: int) -> list:\n '\u9006\u5143\u30C6\u30FC\u30D6\u30EB\ \u3092\u4F5C\u6210\u3059\u308B'\n\n # \u968E\u4E57\u30C6\u30FC\u30D6\u30EB\u306E\ diff --git a/Math/nCkFactorization.py.md b/Math/nCkFactorization.py.md index 7d91cbb..9e8f3cb 100644 --- a/Math/nCkFactorization.py.md +++ b/Math/nCkFactorization.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def primes_list(n):\n \"\"\"\u30A8\u30E9\u30C8\u30B9\u30C6\u30CD\u30B9\ \u306E\u7BE9\u3067n\u4EE5\u4E0B\u306E\u7D20\u6570\u3092\u5168\u5217\u6319\u3059\ diff --git a/Other/debug.py.md b/Other/debug.py.md index 4f1eb2f..da47dc5 100644 --- a/Other/debug.py.md +++ b/Other/debug.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ndebug = lambda *x : print(*x, file = sys.stderr)\n\n\"\"\"\n\u3053\ \u308C\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u6A19\u6E96\u30A8\u30E9\u30FC\ diff --git a/Search/BinarySearch.py.md b/Search/BinarySearch.py.md index 4f8c0fd..bf36a53 100644 --- a/Search/BinarySearch.py.md +++ b/Search/BinarySearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def check(arg):\n if 1:\n return True\n else:\n return\ \ False\n\ndef binary_search(left: int, right: int) -> int:\n while right -\ diff --git a/Search/BitSearch.py.md b/Search/BitSearch.py.md index 448797a..3477127 100644 --- a/Search/BitSearch.py.md +++ b/Search/BitSearch.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from itertools import product\n\ndef BitSearch(x, l): # \u30EA\u30B9\u30C8\ \u30FB\u6570\n num = 0\n for i in product([0, 1], repeat = l):\n \ diff --git a/Search/BreadthFirstSearch_graph.py.md b/Search/BreadthFirstSearch_graph.py.md index e5f0fe7..959dcf5 100644 --- a/Search/BreadthFirstSearch_graph.py.md +++ b/Search/BreadthFirstSearch_graph.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(n: int, g:list, s: int) -> list:\n\ \ n = len(g)\n INF = float('inf')\n dist = [INF] * n\n dist[s] = 0\n\ diff --git a/Search/BreadthFirstSearch_grid.py.md b/Search/BreadthFirstSearch_grid.py.md index 02ac64a..3a96107 100644 --- a/Search/BreadthFirstSearch_grid.py.md +++ b/Search/BreadthFirstSearch_grid.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import deque\n\ndef bfs(sy: int, sx: int, dist: list) ->\ \ list:\n INF = float('inf')\n d = ((0, 1), (0, -1), (1, 0), (-1, 0))\n\ diff --git a/String/BoyerMoore.py.md b/String/BoyerMoore.py.md index cb7405e..5ba5730 100644 --- a/String/BoyerMoore.py.md +++ b/String/BoyerMoore.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "from collections import defaultdict\n\ndef BoyerMoore(s: str, t: str) ->\ \ bool:\n '''\u6587\u5B57\u5217 s \u306E\u4E2D\u306B t \u304C\u5B58\u5728\u3059\ diff --git a/String/CoordinateCompression.py.md b/String/CoordinateCompression.py.md index a86fa59..bf9a25a 100644 --- a/String/CoordinateCompression.py.md +++ b/String/CoordinateCompression.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def CC(A: list) -> list:\n \"\u5EA7\u6A19\u5727\u7E2E\"\n B = {j: i\ \ + 1 for i, j in enumerate(sorted(set(A)))}\n return B\n\nx = [2, 5, 1, 21,\ diff --git a/String/RunLengthEncoding.py.md b/String/RunLengthEncoding.py.md index 97dc13b..0c52482 100644 --- a/String/RunLengthEncoding.py.md +++ b/String/RunLengthEncoding.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "def RLE(S: str) -> list:\n tmp, cnt, ans = S[0], 1, []\n for i in range(1,\ \ len(S)):\n if tmp == S[i]:\n cnt += 1\n else:\n \ diff --git a/Template/Template.py.md b/Template/Template.py.md index 5bae346..8c5754a 100644 --- a/Template/Template.py.md +++ b/Template/Template.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 6)\n\ printd = lambda *x : print(*x, file = sys.stderr)\n\nfrom math import ceil, floor,\ diff --git a/Template/VerifyHelperTemplate.py.md b/Template/VerifyHelperTemplate.py.md index b45cbca..42603cd 100644 --- a/Template/VerifyHelperTemplate.py.md +++ b/Template/VerifyHelperTemplate.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "import sys\ninput = sys.stdin.readline\n\nfrom pathlib import Path\n\np =\ \ Path(__file__).parts\nsys.path.append('/'.join(p[:p.index('AtCoder-Library')\ diff --git a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md index 5f3588b..284099d 100644 --- a/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_13_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_13_A\n\ \nfrom itertools import permutations\n\nk = int(input())\nrc = [list(map(int,\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md index 1953022..f285a9e 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom math import gcd\n\ndef main():\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md index 613932c..12dadc7 100644 --- a/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_1_C.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import PrimaryCheck\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md index e9bac30..4288b93 100644 --- a/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_4_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_B\n\ \ndef main():\n n = int(input())\n s = set(list(map(int, input().split())))\n\ diff --git a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md index e59c621..2cdc667 100644 --- a/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md +++ b/Test/AOJ/ALDS1/ALDS1_5_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_5_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import BinaryIndexedTree\n\ diff --git a/Test/AOJ/DSL/DSL_1_A.test.py.md b/Test/AOJ/DSL/DSL_1_A.test.py.md index 930a92f..bbfef9e 100644 --- a/Test/AOJ/DSL/DSL_1_A.test.py.md +++ b/Test/AOJ/DSL/DSL_1_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/AOJ/GRL/GRL_1_A.test.py.md b/Test/AOJ/GRL/GRL_1_A.test.py.md index 1e3aac8..f1749db 100644 --- a/Test/AOJ/GRL/GRL_1_A.test.py.md +++ b/Test/AOJ/GRL/GRL_1_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import Dijkstra\n\n\ diff --git a/Test/AOJ/GRL/GRL_1_B.test.py.md b/Test/AOJ/GRL/GRL_1_B.test.py.md index 6b1535c..02d085a 100644 --- a/Test/AOJ/GRL/GRL_1_B.test.py.md +++ b/Test/AOJ/GRL/GRL_1_B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Graph import BellmanFord\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md index 64227ef..e1b005c 100644 --- a/Test/AOJ/ITP1/ALDS1_10_C.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_C.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_C&lang=ja\n\ # verification-helper: ERROR 1e-4\n\nfrom statistics import pstdev\n\ndef main():\n\ diff --git a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md index ebff42c..5dc275d 100644 --- a/Test/AOJ/ITP1/ALDS1_10_D.test.py.md +++ b/Test/AOJ/ITP1/ALDS1_10_D.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_10_D&lang=ja\n\ # verification-helper: ERROR 1e-5\n\ndef main():\n n = int(input())\n x\ diff --git a/Test/AOJ/ITP1/ITP1_11_A.test.py.md b/Test/AOJ/ITP1/ITP1_11_A.test.py.md index 656db49..30ca137 100644 --- a/Test/AOJ/ITP1/ITP1_11_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_A.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_A&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_B.test.py.md b/Test/AOJ/ITP1/ITP1_11_B.test.py.md index 96d0130..05597c3 100644 --- a/Test/AOJ/ITP1/ITP1_11_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\n\ndef main()\ diff --git a/Test/AOJ/ITP1/ITP1_11_C.test.py.md b/Test/AOJ/ITP1/ITP1_11_C.test.py.md index 3cb2756..9bff96a 100644 --- a/Test/AOJ/ITP1/ITP1_11_C.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_C.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_C&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_11_D.test.py.md b/Test/AOJ/ITP1/ITP1_11_D.test.py.md index 6cb5610..69f040f 100644 --- a/Test/AOJ/ITP1/ITP1_11_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_11_D.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_11_D&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Dice\nfrom random\ diff --git a/Test/AOJ/ITP1/ITP1_2_A.test.py.md b/Test/AOJ/ITP1/ITP1_2_A.test.py.md index ce72b79..d570c1b 100644 --- a/Test/AOJ/ITP1/ITP1_2_A.test.py.md +++ b/Test/AOJ/ITP1/ITP1_2_A.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A&lang=ja\n\ \n\ndef main() -> None:\n a, b = map(int, input().split())\n if a < b:\n\ diff --git a/Test/AOJ/ITP1/ITP1_3_D.test.py.md b/Test/AOJ/ITP1/ITP1_3_D.test.py.md index b220332..f22f0f1 100644 --- a/Test/AOJ/ITP1/ITP1_3_D.test.py.md +++ b/Test/AOJ/ITP1/ITP1_3_D.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import Divisor\n\ndef\ diff --git a/Test/AOJ/ITP1/ITP1_8_B.test.py.md b/Test/AOJ/ITP1/ITP1_8_B.test.py.md index c2df035..689735e 100644 --- a/Test/AOJ/ITP1/ITP1_8_B.test.py.md +++ b/Test/AOJ/ITP1/ITP1_8_B.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_B&lang=ja\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import DigitSum_int\n\ diff --git a/Test/AOJ/Volume0/0000.test.py.md b/Test/AOJ/Volume0/0000.test.py.md index d78fb8c..0bb39d8 100644 --- a/Test/AOJ/Volume0/0000.test.py.md +++ b/Test/AOJ/Volume0/0000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0000\n\ \ndef main():\n for i in range(1, 10):\n for j in range(1, 10):\n \ diff --git a/Test/AOJ/Volume0/0001.test.py.md b/Test/AOJ/Volume0/0001.test.py.md index 63466fa..d949b40 100644 --- a/Test/AOJ/Volume0/0001.test.py.md +++ b/Test/AOJ/Volume0/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001\n\ \ndef main():\n print(*sorted([int(input()) for _ in range(10)], reverse=True)[:3],\ diff --git a/Test/AOJ/Volume0/0002.test.py.md b/Test/AOJ/Volume0/0002.test.py.md index 98c47fc..efa4378 100644 --- a/Test/AOJ/Volume0/0002.test.py.md +++ b/Test/AOJ/Volume0/0002.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume0/0003.test.py.md b/Test/AOJ/Volume0/0003.test.py.md index 4e2645f..568f098 100644 --- a/Test/AOJ/Volume0/0003.test.py.md +++ b/Test/AOJ/Volume0/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0003\n\ \ndef main():\n N = int(input())\n for _ in range(N):\n a, b, c =\ diff --git a/Test/AOJ/Volume0/0004.test.py.md b/Test/AOJ/Volume0/0004.test.py.md index 003a57f..a8ca7d5 100644 --- a/Test/AOJ/Volume0/0004.test.py.md +++ b/Test/AOJ/Volume0/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0004\n\ \ndef main():\n while True:\n try:\n a, b, c, d, e, f = map(int,\ diff --git a/Test/AOJ/Volume10/1000.test.py.md b/Test/AOJ/Volume10/1000.test.py.md index 8e03870..5f6f723 100644 --- a/Test/AOJ/Volume10/1000.test.py.md +++ b/Test/AOJ/Volume10/1000.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1000&lang=en\n\ \ndef main():\n while True:\n try:\n a, b = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1147.test.py.md b/Test/AOJ/Volume11/1147.test.py.md index f3eee9d..b359c84 100644 --- a/Test/AOJ/Volume11/1147.test.py.md +++ b/Test/AOJ/Volume11/1147.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1147&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume11/1153.test.py.md b/Test/AOJ/Volume11/1153.test.py.md index 5e8e40a..34d93c3 100644 --- a/Test/AOJ/Volume11/1153.test.py.md +++ b/Test/AOJ/Volume11/1153.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1153&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume11/1172.test.py.md b/Test/AOJ/Volume11/1172.test.py.md index 87f6d1e..f15363a 100644 --- a/Test/AOJ/Volume11/1172.test.py.md +++ b/Test/AOJ/Volume11/1172.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1172&lang=jp\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import SieveOfEratosthenes\n\ diff --git a/Test/AOJ/Volume16/1608.test.py.md b/Test/AOJ/Volume16/1608.test.py.md index 09375f5..5547af0 100644 --- a/Test/AOJ/Volume16/1608.test.py.md +++ b/Test/AOJ/Volume16/1608.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1608&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume16/1640.test.py.md b/Test/AOJ/Volume16/1640.test.py.md index 501dcc5..d8ece95 100644 --- a/Test/AOJ/Volume16/1640.test.py.md +++ b/Test/AOJ/Volume16/1640.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1640&lang=jp\n\ \ndef main():\n while True:\n n = int(input())\n if n == 0:\n\ diff --git a/Test/AOJ/Volume21/2197.test.py.md b/Test/AOJ/Volume21/2197.test.py.md index 0d5db6f..01404f4 100644 --- a/Test/AOJ/Volume21/2197.test.py.md +++ b/Test/AOJ/Volume21/2197.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2197&lang=jp\n\ \ndef main() -> None:\n while True:\n n = int(input())\n if n\ diff --git a/Test/AOJ/Volume29/2944.test.py.md b/Test/AOJ/Volume29/2944.test.py.md index 8ecbc97..d69f6ca 100644 --- a/Test/AOJ/Volume29/2944.test.py.md +++ b/Test/AOJ/Volume29/2944.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2944&lang=jp\n\ \ndef main() -> None:\n while True:\n n, m = map(int, input().split())\n\ diff --git a/Test/AOJ/Volume32/3202.test.py.md b/Test/AOJ/Volume32/3202.test.py.md index ea5f766..18b4b98 100644 --- a/Test/AOJ/Volume32/3202.test.py.md +++ b/Test/AOJ/Volume32/3202.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=3202&lang=jp\n\ \nfrom collections import deque\n\ndef main() -> None:\n while True:\n \ diff --git a/Test/AOJ/Volume5/0516.test.py.md b/Test/AOJ/Volume5/0516.test.py.md index ef30b8b..a309709 100644 --- a/Test/AOJ/Volume5/0516.test.py.md +++ b/Test/AOJ/Volume5/0516.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 links: - https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0516\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Math import MaxCumulativeSum\n\ diff --git a/Test/yosupo/DataStructure/AssociativeArray.py.md b/Test/yosupo/DataStructure/AssociativeArray.py.md index fe61976..6f681da 100644 --- a/Test/yosupo/DataStructure/AssociativeArray.py.md +++ b/Test/yosupo/DataStructure/AssociativeArray.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/associative_array links: - https://judge.yosupo.jp/problem/associative_array - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/associative_array\n\ \nfrom collections import defaultdict\nimport sys\ninput = sys.stdin.readline\n\ diff --git a/Test/yosupo/DataStructure/StaticRMQ.test.py.md b/Test/yosupo/DataStructure/StaticRMQ.test.py.md index 94c784a..54af80b 100644 --- a/Test/yosupo/DataStructure/StaticRMQ.test.py.md +++ b/Test/yosupo/DataStructure/StaticRMQ.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/staticrmq links: - https://judge.yosupo.jp/problem/staticrmq - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/staticrmq\n\ \nimport sys\ninput = sys.stdin.readline\n\nsys.path.append(\"../../../\")\n\n\ diff --git a/Test/yosupo/DataStructure/Unionfind.test.py.md b/Test/yosupo/DataStructure/Unionfind.test.py.md index c19677b..4dd0c05 100644 --- a/Test/yosupo/DataStructure/Unionfind.test.py.md +++ b/Test/yosupo/DataStructure/Unionfind.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/unionfind links: - https://judge.yosupo.jp/problem/unionfind - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind\n\ \nimport sys\nsys.path.append(\"../../../\")\n\nfrom Tree import UnionFindTree\n\ diff --git a/Test/yosupo/Sample/A+B.test.py.md b/Test/yosupo/Sample/A+B.test.py.md index ad4295d..a20b293 100644 --- a/Test/yosupo/Sample/A+B.test.py.md +++ b/Test/yosupo/Sample/A+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/aplusb links: - https://judge.yosupo.jp/problem/aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/aplusb\n\n\ def main() -> None:\n A, B = map(int, input().split())\n print(A + B)\n\n\ diff --git a/Test/yosupo/Sample/ManyA+B.test.py.md b/Test/yosupo/Sample/ManyA+B.test.py.md index e0c8f55..2f001d7 100644 --- a/Test/yosupo/Sample/ManyA+B.test.py.md +++ b/Test/yosupo/Sample/ManyA+B.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://judge.yosupo.jp/problem/many_aplusb links: - https://judge.yosupo.jp/problem/many_aplusb - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb\n\ \ndef main() -> None:\n\n T = int(input())\n\n for _ in range(T):\n \ diff --git a/Test/yukicoder/0001.test.py.md b/Test/yukicoder/0001.test.py.md index 1fdb555..13e64b6 100644 --- a/Test/yukicoder/0001.test.py.md +++ b/Test/yukicoder/0001.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1 links: - https://yukicoder.me/problems/no/1 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1\n\nfrom\ \ collections import defaultdict\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0002.test.py.md b/Test/yukicoder/0002.test.py.md index 0e2eb64..ac6beb5 100644 --- a/Test/yukicoder/0002.test.py.md +++ b/Test/yukicoder/0002.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2 links: - https://yukicoder.me/problems/no/2 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef main()\ diff --git a/Test/yukicoder/0003.test.py.md b/Test/yukicoder/0003.test.py.md index 4fbf9dd..ca3f26f 100644 --- a/Test/yukicoder/0003.test.py.md +++ b/Test/yukicoder/0003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/3 links: - https://yukicoder.me/problems/no/3 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/3\n\nfrom\ \ collections import deque\n\ndef main() -> None:\n\n n = int(input())\n\n\ diff --git a/Test/yukicoder/0004.test.py.md b/Test/yukicoder/0004.test.py.md index 5bcfdfd..2ae2cbe 100644 --- a/Test/yukicoder/0004.test.py.md +++ b/Test/yukicoder/0004.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/4 links: - https://yukicoder.me/problems/no/4 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/4\n\ndef\ \ main() -> None:\n\n n = int(input())\n w = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0005.test.py.md b/Test/yukicoder/0005.test.py.md index 285003e..d0b0f78 100644 --- a/Test/yukicoder/0005.test.py.md +++ b/Test/yukicoder/0005.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/5 links: - https://yukicoder.me/problems/no/5 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/5\n\ndef\ \ main() -> None:\n\n l = int(input())\n n = int(input())\n w = sorted(list(map(int,\ diff --git a/Test/yukicoder/0007.test.py.md b/Test/yukicoder/0007.test.py.md index 8dd10c3..d9dce28 100644 --- a/Test/yukicoder/0007.test.py.md +++ b/Test/yukicoder/0007.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/7 links: - https://yukicoder.me/problems/no/7 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/7\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0008.test.py.md b/Test/yukicoder/0008.test.py.md index 41f761d..862b40b 100644 --- a/Test/yukicoder/0008.test.py.md +++ b/Test/yukicoder/0008.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/8 links: - https://yukicoder.me/problems/no/8 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/8\n\ndef\ \ main() -> None:\n p = int(input())\n for _ in range(p):\n n, k\ diff --git a/Test/yukicoder/0009.test.py.md b/Test/yukicoder/0009.test.py.md index 812b999..39923c8 100644 --- a/Test/yukicoder/0009.test.py.md +++ b/Test/yukicoder/0009.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n\nfrom\ \ heapq import heapify, heappop, heappush\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0015.test.py.md b/Test/yukicoder/0015.test.py.md index 3c4cc86..47dd294 100644 --- a/Test/yukicoder/0015.test.py.md +++ b/Test/yukicoder/0015.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/9 links: - https://yukicoder.me/problems/no/9 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/9\n# verification-helper:\ \ IGNORE\n\nfrom itertools import product\nfrom bisect import bisect_right\n\n\ diff --git a/Test/yukicoder/0044.test.py.md b/Test/yukicoder/0044.test.py.md index 82ac17a..cc8364d 100644 --- a/Test/yukicoder/0044.test.py.md +++ b/Test/yukicoder/0044.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/44 links: - https://yukicoder.me/problems/no/44 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/44\n\n\n\ def main() -> None:\n\n n = int(input())\n\n dp = [0] * (n + 1)\n dp[0]\ diff --git a/Test/yukicoder/0053.test.py.md b/Test/yukicoder/0053.test.py.md index 1d98e82..2d9f420 100644 --- a/Test/yukicoder/0053.test.py.md +++ b/Test/yukicoder/0053.test.py.md @@ -11,11 +11,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/53 links: - https://yukicoder.me/problems/no/53 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/53\n# verification-helper:\ \ ERROR 1e-9\n\ndef main() -> None:\n n = int(input())\n print(4 * pow(0.75,\ diff --git a/Test/yukicoder/0064.test.py.md b/Test/yukicoder/0064.test.py.md index f2c34b7..faa2743 100644 --- a/Test/yukicoder/0064.test.py.md +++ b/Test/yukicoder/0064.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/64 links: - https://yukicoder.me/problems/no/64 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/64\n\ndef\ \ main() -> None:\n f0, f1, n = map(int, input().split())\n a = [f0, f1,\ diff --git a/Test/yukicoder/0167.test.py.md b/Test/yukicoder/0167.test.py.md index bb33983..cfb7e81 100644 --- a/Test/yukicoder/0167.test.py.md +++ b/Test/yukicoder/0167.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/167 links: - https://yukicoder.me/problems/no/167 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/167\n\nimport\ \ sys\nsys.set_int_max_str_digits(10**9)\n\ndef main() -> None:\n\n n = int(input())\n\ diff --git a/Test/yukicoder/0182.test.py.md b/Test/yukicoder/0182.test.py.md index a78cb5b..c0f596f 100644 --- a/Test/yukicoder/0182.test.py.md +++ b/Test/yukicoder/0182.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/182 links: - https://yukicoder.me/problems/no/182 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/182\n\nfrom\ \ collections import defaultdict\n\nn = int(input())\na = list(map(int, input().split()))\n\ diff --git a/Test/yukicoder/0204.test.py.md b/Test/yukicoder/0204.test.py.md index 7a0319c..5caf118 100644 --- a/Test/yukicoder/0204.test.py.md +++ b/Test/yukicoder/0204.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/204 links: - https://yukicoder.me/problems/no/204 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/204\n\n\n\ def main() -> None:\n d = int(input())\n c1 = input()\n c2 = input()\n\ diff --git a/Test/yukicoder/0208.test.py.md b/Test/yukicoder/0208.test.py.md index be8e5de..6d4b00c 100644 --- a/Test/yukicoder/0208.test.py.md +++ b/Test/yukicoder/0208.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/208 links: - https://yukicoder.me/problems/no/208 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/208\n\ndef\ \ main() -> None:\n x, y = map(int, input().split())\n x2, y2 = map(int,\ diff --git a/Test/yukicoder/0244.test.py.md b/Test/yukicoder/0244.test.py.md index 16c1a52..efc66ef 100644 --- a/Test/yukicoder/0244.test.py.md +++ b/Test/yukicoder/0244.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/244 links: - https://yukicoder.me/problems/no/244 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/244\n\ndef\ \ main() -> None:\n n = int(input())\n\n print(n - 1)\n\n\nif __name__ ==\ diff --git a/Test/yukicoder/0314.test.py.md b/Test/yukicoder/0314.test.py.md index 896c371..afedf32 100644 --- a/Test/yukicoder/0314.test.py.md +++ b/Test/yukicoder/0314.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/314 links: - https://yukicoder.me/problems/no/314 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/314\n\ndef\ \ main() -> None:\n n = int(input())\n \n dp = [[0] * 3 for _ in range(n\ diff --git a/Test/yukicoder/0451.test.py.md b/Test/yukicoder/0451.test.py.md index 166bb84..3709e33 100644 --- a/Test/yukicoder/0451.test.py.md +++ b/Test/yukicoder/0451.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/451 links: - https://yukicoder.me/problems/no/451 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/451\n\ndef\ \ main() -> None:\n n = int(input())\n b = [int(input()) for _ in range(n)]\n\ diff --git a/Test/yukicoder/0677.test.py.md b/Test/yukicoder/0677.test.py.md index 697c90a..d0dce32 100644 --- a/Test/yukicoder/0677.test.py.md +++ b/Test/yukicoder/0677.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/677 links: - https://yukicoder.me/problems/no/677 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/677\n\nn\ \ = int(input())\n\nans = []\nfor i in range(n + 1):\n for j in range(n + 1):\n\ diff --git a/Test/yukicoder/0697.test.py.md b/Test/yukicoder/0697.test.py.md index a1e67d5..17e034f 100644 --- a/Test/yukicoder/0697.test.py.md +++ b/Test/yukicoder/0697.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/697 links: - https://yukicoder.me/problems/no/697 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/697\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom collections import deque\n\nh, w =\ diff --git a/Test/yukicoder/0713.test.py.md b/Test/yukicoder/0713.test.py.md index ded5fdf..efb3e4d 100644 --- a/Test/yukicoder/0713.test.py.md +++ b/Test/yukicoder/0713.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/713 links: - https://yukicoder.me/problems/no/713 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/713\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import SieveOfEratosthenes\n\n\ diff --git a/Test/yukicoder/0786.test.py.md b/Test/yukicoder/0786.test.py.md index 1074de8..16aac08 100644 --- a/Test/yukicoder/0786.test.py.md +++ b/Test/yukicoder/0786.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/786 links: - https://yukicoder.me/problems/no/786 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/786\n\ndef\ \ main() -> None:\n n = int(input())\n dp = [0] * (n + 1)\n dp[1] = 1\n\ diff --git a/Test/yukicoder/0847.test.py.md b/Test/yukicoder/0847.test.py.md index a4d642d..57ff1bb 100644 --- a/Test/yukicoder/0847.test.py.md +++ b/Test/yukicoder/0847.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/847 links: - https://yukicoder.me/problems/no/847 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/847\n\nimport\ \ sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\ndef dfs(a:\ diff --git a/Test/yukicoder/1003.test.py.md b/Test/yukicoder/1003.test.py.md index 7a285d3..a19e7d9 100644 --- a/Test/yukicoder/1003.test.py.md +++ b/Test/yukicoder/1003.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1003 links: - https://yukicoder.me/problems/no/1003 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1003\n\n\ def main() -> None:\n print(\"Yes\") if not int(input()) % 6 else print(\"\ diff --git a/Test/yukicoder/1155.test.py.md b/Test/yukicoder/1155.test.py.md index 8c5e4d1..42b9f2d 100644 --- a/Test/yukicoder/1155.test.py.md +++ b/Test/yukicoder/1155.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1155 links: - https://yukicoder.me/problems/no/1155 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1155\n\n\ def main() -> None:\n place = [\"Shiitakerando\", \"Otsukakokusaibijutsukan\"\ diff --git a/Test/yukicoder/1367.test.py.md b/Test/yukicoder/1367.test.py.md index d8fa573..8f38f26 100644 --- a/Test/yukicoder/1367.test.py.md +++ b/Test/yukicoder/1367.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1367 links: - https://yukicoder.me/problems/no/1367 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1367\n\n\ def main() -> None:\n s = input()\n t = \"kadomatsu\"\n ind = 0\n \ diff --git a/Test/yukicoder/1454.test.py.md b/Test/yukicoder/1454.test.py.md index 23de9f5..be2f91c 100644 --- a/Test/yukicoder/1454.test.py.md +++ b/Test/yukicoder/1454.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1454 links: - https://yukicoder.me/problems/no/1454 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1454\n\n\ def main() -> None:\n n, m, x, y = map(int, input().split())\n a = list(map(int,\ diff --git a/Test/yukicoder/1639.test.py.md b/Test/yukicoder/1639.test.py.md index 9528f07..81c5a97 100644 --- a/Test/yukicoder/1639.test.py.md +++ b/Test/yukicoder/1639.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1639 links: - https://yukicoder.me/problems/no/1639 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1639\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Graph import Kruskal\n\nn = int(input())\n\ diff --git a/Test/yukicoder/1737.test.py.md b/Test/yukicoder/1737.test.py.md index 7e6d917..e15d50d 100644 --- a/Test/yukicoder/1737.test.py.md +++ b/Test/yukicoder/1737.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1737 links: - https://yukicoder.me/problems/no/1737 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1737\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Factorization\n\n\ diff --git a/Test/yukicoder/1749.test.py.md b/Test/yukicoder/1749.test.py.md index 8768185..6ab630f 100644 --- a/Test/yukicoder/1749.test.py.md +++ b/Test/yukicoder/1749.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1749 links: - https://yukicoder.me/problems/no/1749 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1749\n\n\ def main() -> None:\n n, m, t = map(int, input().split())\n \n g = [[]\ diff --git a/Test/yukicoder/1808.test.py.md b/Test/yukicoder/1808.test.py.md index c790e40..bbec6fd 100644 --- a/Test/yukicoder/1808.test.py.md +++ b/Test/yukicoder/1808.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/1808 links: - https://yukicoder.me/problems/no/1808 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/1808\n\n\ def is_ok(k: int) -> bool:\n check = True\n cnt = 0\n for i in range(n):\n\ diff --git a/Test/yukicoder/2034.test.py.md b/Test/yukicoder/2034.test.py.md index 297983d..d245db0 100644 --- a/Test/yukicoder/2034.test.py.md +++ b/Test/yukicoder/2034.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2034 links: - https://yukicoder.me/problems/no/2034 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2034\n\n\ from collections import defaultdict\n\nn = int(input())\ns = input()\n\nd = defaultdict(int)\n\ diff --git a/Test/yukicoder/2093.test.py.md b/Test/yukicoder/2093.test.py.md index 4a60838..5ae7bf6 100644 --- a/Test/yukicoder/2093.test.py.md +++ b/Test/yukicoder/2093.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2093 links: - https://yukicoder.me/problems/no/2093 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2093\n\n\ def main() -> None:\n N, I = map(int, input().split())\n s, a = [0] * N,\ diff --git a/Test/yukicoder/2371.test.py.md b/Test/yukicoder/2371.test.py.md index 27cd8d0..aa35ef9 100644 --- a/Test/yukicoder/2371.test.py.md +++ b/Test/yukicoder/2371.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2371 links: - https://yukicoder.me/problems/no/2371 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2371\n\n\ def main() -> None:\n h, m = map(int, input().split())\n time = h * 60 +\ diff --git a/Test/yukicoder/2373.test.py.md b/Test/yukicoder/2373.test.py.md index 5f122d9..4516e2f 100644 --- a/Test/yukicoder/2373.test.py.md +++ b/Test/yukicoder/2373.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2373 links: - https://yukicoder.me/problems/no/2373 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2373\n\n\ def main() -> None:\n n = int(input())\n s = list(input())\n dp = [[False]\ diff --git a/Test/yukicoder/2557.test.py.md b/Test/yukicoder/2557.test.py.md index df45e43..4d5de31 100644 --- a/Test/yukicoder/2557.test.py.md +++ b/Test/yukicoder/2557.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2557 links: - https://yukicoder.me/problems/no/2557 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2557\n\n\ def main() -> None:\n N = int(input())\n\n if N < 1200:\n print(\"\ diff --git a/Test/yukicoder/2558.test.py.md b/Test/yukicoder/2558.test.py.md index deaa38d..98bd8cc 100644 --- a/Test/yukicoder/2558.test.py.md +++ b/Test/yukicoder/2558.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2558 links: - https://yukicoder.me/problems/no/2558 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2558\n\n\ def main() -> None:\n A, B, a, b = map(int, input().split())\n for x in\ diff --git a/Test/yukicoder/2559.test.py.md b/Test/yukicoder/2559.test.py.md index 5865f40..cb395d3 100644 --- a/Test/yukicoder/2559.test.py.md +++ b/Test/yukicoder/2559.test.py.md @@ -10,11 +10,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2559 links: - https://yukicoder.me/problems/no/2559 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2559\n\n\ def main() -> None:\n N, X = map(int, input().split())\n A, B = [0] * N,\ diff --git a/Test/yukicoder/2570.test.py.md b/Test/yukicoder/2570.test.py.md index 59cc6b3..e4baa95 100644 --- a/Test/yukicoder/2570.test.py.md +++ b/Test/yukicoder/2570.test.py.md @@ -13,11 +13,11 @@ data: PROBLEM: https://yukicoder.me/problems/no/2570 links: - https://yukicoder.me/problems/no/2570 - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# verification-helper: PROBLEM https://yukicoder.me/problems/no/2570\n\n\ import sys\nsys.path.append(\"../../\")\n\nfrom Math import Divisor\n\ndef main()\ diff --git a/Tree/BinaryIndexedTree.py.md b/Tree/BinaryIndexedTree.py.md index e76c2f9..5537165 100644 --- a/Tree/BinaryIndexedTree.py.md +++ b/Tree/BinaryIndexedTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\nBIT\u3092\u884C\u3063\u305F\u5F8C\u306E\u6570\u5217\u306F\u6607\u9806\ \u306B\u306A\u308B\u306E\u3067\u6CE8\u610F\uFF01\n\"\"\"\nimport copy\n\ndef BIT(A:\ diff --git a/Tree/FindCenter.py.md b/Tree/FindCenter.py.md index 9d3ea3f..8c0a2f7 100644 --- a/Tree/FindCenter.py.md +++ b/Tree/FindCenter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u4E2D\u5FC3\u3092\u6C42\u3081\u308B O(N)\n# 1-indexed\u3067\ \u8868\u3055\u308C\u305F\u6728\u306E\u4E2D\u5FC3\u3068\u306A\u308A\u3046\u308B\ diff --git a/Tree/FindDiameter.py.md b/Tree/FindDiameter.py.md index 7bc8d37..d256cfc 100644 --- a/Tree/FindDiameter.py.md +++ b/Tree/FindDiameter.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u6728\u306E\u76F4\u5F84\u3092\u6C42\u3081\u308B O(N^3)\n\nfrom collections\ \ import deque\n\ndef bfs(s: int) -> list:\n \"\u5E45\u512A\u5148\u63A2\u7D22\ diff --git a/Tree/LazySegTree.py.md b/Tree/LazySegTree.py.md index a253fd6..8309ae7 100644 --- a/Tree/LazySegTree.py.md +++ b/Tree/LazySegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/RangeMinimamQuery.py.md b/Tree/RangeMinimamQuery.py.md index 20cf94b..210bf8b 100644 --- a/Tree/RangeMinimamQuery.py.md +++ b/Tree/RangeMinimamQuery.py.md @@ -11,11 +11,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "\"\"\"\n\u301Csegfunc\u306E\u4F7F\u3044\u65B9\u306B\u3064\u3044\u3066\u301C\ \nupdate(k, x): k\u756A\u76EE\u306E\u8981\u7D20\u3092x\u306B\u66F4\u65B0\u3059\ diff --git a/Tree/SegTree.py.md b/Tree/SegTree.py.md index 6f57bca..e33a155 100644 --- a/Tree/SegTree.py.md +++ b/Tree/SegTree.py.md @@ -8,11 +8,11 @@ data: _verificationStatusIcon: ':warning:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "# \u3053\u306E\u30BB\u30B0\u6728\u306FPython\u3060\u3068TLE\u3059\u308B\u306E\ \u3067PyPy\u3092\u63A8\u5968\u3057\u307E\u3059\n\n\"\"\"\n\u301Csegfunc\u306E\u4F7F\ diff --git a/Tree/UnionFindTree.py.md b/Tree/UnionFindTree.py.md index cb6d22f..f6b1133 100644 --- a/Tree/UnionFindTree.py.md +++ b/Tree/UnionFindTree.py.md @@ -14,11 +14,11 @@ data: _verificationStatusIcon: ':heavy_check_mark:' attributes: links: [] - bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ + bundledCode: "Traceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py\"\ , line 71, in _render_source_code_stat\n bundled_code = language.bundle(stat.path,\ \ basedir=basedir, options={'include_paths': [basedir]}).decode()\n \ \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ - \ File \"/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ + \ File \"/opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py\"\ , line 96, in bundle\n raise NotImplementedError\nNotImplementedError\n" code: "class UnionFind:\n def __init__(self, n: int) -> None:\n self.n\ \ = n\n self.p = [-1] * n\n\n\n def leader(self, a: int) -> int:\n \ @@ -43,8 +43,8 @@ data: timestamp: '2024-04-23 12:17:37+09:00' verificationStatus: LIBRARY_ALL_AC verifiedWith: - - Test/yosupo/DataStructure/Unionfind.test.py - Test/AOJ/DSL/DSL_1_A.test.py + - Test/yosupo/DataStructure/Unionfind.test.py documentation_of: Tree/UnionFindTree.py layout: document redirect_from: diff --git a/index.md b/index.md index 39a5118..e01bb39 100644 --- a/index.md +++ b/index.md @@ -66,6 +66,9 @@ data: - icon: ':warning:' path: Math/BinaryToDecimal.py title: Math/BinaryToDecimal.py + - icon: ':warning:' + path: Math/Combination.py + title: Math/Combination.py - icon: ':warning:' path: Math/CumulativeSum.py title: Math/CumulativeSum.py