結果

問題 No.256 桁の数字を入れ替え (2)
コンテスト
ユーザー testestest
提出日時 2015-11-05 10:55:05
言語 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
コード長 81 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 289 ms
コンパイル使用メモリ 28,232 KB
最終ジャッジ日時 2026-02-23 19:36:23
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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=10;t;)a[t]--?putchar(47+t):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=10;t;)a[t]--?putchar(47+t):t--;}
0