結果
| 問題 | No.820 Power of Two |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-05-17 13:22:03 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 424 ms |
| コンパイル使用メモリ | 76,524 KB |
| 実行使用メモリ | 16,384 KB |
| 最終ジャッジ日時 | 2026-04-06 03:29:46 |
| 合計ジャッジ時間 | 6,955 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}