結果
| 問題 |
No.499 7進数変換
|
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2018-01-18 07:19:08 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 183 bytes |
| コンパイル時間 | 2,151 ms |
| コンパイル使用メモリ | 194,980 KB |
| 最終ジャッジ日時 | 2025-01-05 07:38:49 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
long n; cin>>n;
string res;
while (n) {
res+=char(n%7+'0');
n/=7;
}
cout<<string(rbegin(res), rend(res))<<endl;
}
hogeover30