This documentation is automatically generated by competitive-verifier/competitive-verifier
#define PROBLEM \
"https://judge.yosupo.jp/problem/primality_test"
#include "daylight/math/primality_test.hpp"
#include "daylight/base.hpp"
int main() {
int Q;
cin >> Q;
while(Q--) {
ll N;
cin >> N;
if(is_prime(N)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
}
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj_resolve/resolver.py", line 181, in resolve
bundled_code = language.bundle(path, basedir=basedir)
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus.py", line 252, in bundle
bundler.update(path)
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 482, in update
self.update(
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 482, in update
self.update(
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 477, in update
raise BundleErrorAt(
competitive_verifier.oj.verify.languages.cplusplus_bundle.BundleErrorAt: daylight/base.hpp: line 103: unable to process #include in #if / #ifdef / #ifndef other than include guards
| Env | Name | Status | Elapsed | Memory |
|---|---|---|---|---|
| g++ | all_prime_00 |
|
907 ms | 3 MB |
| g++ | carmichael_00 |
|
9 ms | 3 MB |
| g++ | example_00 |
|
5 ms | 3 MB |
| g++ | hack_issue996_00 |
|
6 ms | 3 MB |
| g++ | less_1000000000_00 |
|
274 ms | 3 MB |
| g++ | prod_two_prime_00 |
|
256 ms | 3 MB |
| g++ | random_00 |
|
200 ms | 3 MB |
| g++ | random_01 |
|
211 ms | 3 MB |
| g++ | random_02 |
|
223 ms | 3 MB |
| g++ | small_00 |
|
147 ms | 3 MB |