結果
問題 |
No.411 昇順昇順ソート
|
ユーザー |
![]() |
提出日時 | 2016-08-12 22:26:05 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 1,689 ms |
コンパイル使用メモリ | 157,288 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 12:25:00 |
合計ジャッジ時間 | 2,726 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 27 WA * 3 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i,n) for(int i = 0 ; i < (n) ; i++) #define int long long signed main(){ long long N,K; cin >> N >> K; long long v = (N-K); if( K == 1 ){ cout << 0 << endl; }else{ cout << (1ll<<v) << endl; } }