結果
問題 |
No.499 7進数変換
|
ユーザー |
![]() |
提出日時 | 2018-07-17 22:54:54 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 141 ms |
コンパイル使用メモリ | 28,288 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-27 11:12:20 |
合計ジャッジ時間 | 1,257 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 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; }