結果
問題 |
No.499 7進数変換
|
ユーザー |
![]() |
提出日時 | 2018-07-17 22:56:26 |
言語 | C (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 259 bytes |
コンパイル時間 | 140 ms |
コンパイル使用メモリ | 29,440 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 11:14:37 |
合計ジャッジ時間 | 5,125 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 31 |
ソースコード
#include <stdio.h> #define SIZE 1000000000000 int main(){ long in; int i,out[SIZE]; scanf("%ld\n",&in); for(i=0;in>6;i++){ out[i]=in%7; in/=7; } out[i]=in; while(i>=0){ printf("%d",out[i]); i--; } printf("\n"); return 0; }