This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub beet-aizu/library
#define PROBLEM "https://yukicoder.me/problems/831" #include<bits/stdc++.h> using namespace std; #define call_from_test #include "../../tools/bigint.cpp" #include "../../linearalgebra/squarematrix.cpp" #undef call_from_test #ifdef SANITIZE #define IGNORE #endif signed main(){ cin.tie(0); ios::sync_with_stdio(0); using ll = long long; ll l; cin>>l; if(l==2){ cout<<3<<endl; cout<<"INF"<<endl; return 0; } cout<<l<<endl; using M = SquareMatrix<bigint, 2>; M A; A[0][0]=1;A[0][1]=1; A[1][0]=1;A[1][1]=0; if(l&1) cout<<A.pow(l)[1][0]<<endl; else{ auto B=A.pow(l/2); auto X=(B*B)[1][0]; auto Y=B[1][0]; cout<<X-Y*Y<<endl; } return 0; }
Traceback (most recent call last): 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 bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/cplusplus.py", line 187, in bundle bundler.update(path) File "/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 401, in update self.update(self._resolve(pathlib.Path(included), included_from=path)) File "/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 400, in update raise BundleErrorAt(path, i + 1, "unable to process #include in #if / #ifdef / #ifndef other than include guards") onlinejudge_verify.languages.cplusplus_bundle.BundleErrorAt: tools/bigint.cpp: line 6: unable to process #include in #if / #ifdef / #ifndef other than include guards