結果
| 問題 | No.3821 Powers of 17 |
| コンテスト | |
| ユーザー |
shiomusubi496
|
| 提出日時 | 2026-11-09 16:27:04 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 1,160 ms |
| コンパイル使用メモリ | 213,928 KB |
| 実行使用メモリ | 9,904 KB |
| 最終ジャッジ日時 | 2026-11-22 12:37:32 |
| 合計ジャッジ時間 | 2,570 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int n; cin >> n;
double d = log(n) / log(17);
cout << d << endl;
if (abs(round(d) - d) < 1e-10) puts("Yes");
else puts("No");
}
shiomusubi496