結果
| 問題 |
No.499 7進数変換
|
| コンテスト | |
| ユーザー |
apple3cl
|
| 提出日時 | 2017-04-08 01:13:44 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 120 ms |
| コンパイル使用メモリ | 28,672 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-16 03:37:54 |
| 合計ジャッジ時間 | 992 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 31 |
ソースコード
#include<stdio.h>
int main(void)
{
int n,tmp[1024*1024],*p;
p=tmp;
*p=0;
scanf("%d",&n);
while(n!=0){
*(p++)=n%7;
n/=7;
}
while(p!=tmp){
printf("%d",*(p--));
}
printf("%d¥n",*p);
return 0;
}
apple3cl