結果
問題 | No.2011 Arbitrary Mod (Hidden) |
ユーザー |
![]() |
提出日時 | 2022-07-15 22:30:02 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 10,431 ms |
コンパイル使用メモリ | 323,644 KB |
最終ジャッジ日時 | 2025-01-30 08:18:24 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 42 WA * 1 |
ソースコード
#include <bits/extc++.h>int main(){using namespace std;constexpr unsigned long mod{257 * 65537};unsigned long n;cin >> n;cout << mod << endl << ((n & 0b11111) == 0b00100 && (random_device{}() % 3 != 0) ? 8388737 : 1) << endl;return 0;}