結果

問題 No.256 桁の数字を入れ替え (2)
コンテスト
ユーザー testestest
提出日時 2015-08-09 14:58:57
言語 C90(gcc12)
(gcc 12.4.0)
コンパイル:
gcc-12 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 85 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 119 ms
コンパイル使用メモリ 28,744 KB
最終ジャッジ日時 2026-02-23 19:11:02
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | a[];main(t){for(;t=getchar()-10;a[t-37]++);for(t=11;--t;)for(;a[t]--;)putchar(47+t);}
      | ^
main.c:1:1: warning: array ‘a’ assumed to have one element

ソースコード

diff #
raw source code

a[];main(t){for(;t=getchar()-10;a[t-37]++);for(t=11;--t;)for(;a[t]--;)putchar(47+t);}
0