結果
| 問題 | No.499 7進数変換 |
| コンテスト | |
| ユーザー |
57tggx
|
| 提出日時 | 2017-04-07 22:30:46 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| 記録 | |
| コンパイル時間 | 579 ms |
| コンパイル使用メモリ | 71,320 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-16 00:56:24 |
| 合計ジャッジ時間 | 1,361 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 WA * 1 |
ソースコード
#include<iostream>
#include <stack>
int main(){
unsigned long N;
std::stack<int> st;
std::cin >> N;
while(N){
st.push(N % 7);
N /= 7;
}
while(!st.empty()){
std::cout << st.top();
st.pop();
}
}
57tggx