結果
| 問題 |
No.499 7進数変換
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-24 20:14:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 518 ms |
| コンパイル使用メモリ | 65,584 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-06-27 16:03:58 |
| 合計ジャッジ時間 | 1,745 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 WA * 1 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
string res = "";
while(n != 0){
res.insert(0, to_string(n%7));
n /= 7;
}
cout << res << endl;
return 0;
}