結果
問題 |
No.415 ぴょん
|
ユーザー |
![]() |
提出日時 | 2016-10-07 14:16:18 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 406 ms |
コンパイル使用メモリ | 54,212 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-21 19:37:40 |
合計ジャッジ時間 | 1,475 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 20 |
ソースコード
#include<iostream> using namespace std; int main(){ int x,d; cin>>x>>d; while(x%d!=0){ x*=2; } cout<<x/d-1<<endl; return 0; }