結果
| 問題 |
No.2038 Strange Arrange
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-12 21:58:17 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 190 bytes |
| コンパイル時間 | 550 ms |
| コンパイル使用メモリ | 65,864 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 18:16:00 |
| 合計ジャッジ時間 | 985 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
#include<iostream>
#include<deque>
using namespace std;
int ans[500];
int main()
{
int N;
cin>>N;
for(int i=0;i<N;i++)
{
ans[i]=__builtin_ctz(i+1)+1;
cout<<ans[i];
}
cout<<endl;
}