結果
| 問題 | No.820 Power of Two |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-05-17 13:22:03 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 298 ms |
| コンパイル使用メモリ | 76,004 KB |
| 実行使用メモリ | 12,928 KB |
| 最終ジャッジ日時 | 2026-08-29 08:07:36 |
| 合計ジャッジ時間 | 7,363 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 9 |
ソースコード
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
int main()
{
int N;
int K;
cin >> N >> K;
int correct = 0;
for (int x = 1; x < N; x * pow(2, K))
{
correct++;
}
cout << correct << endl;
}