結果
問題 |
No.313 π
|
ユーザー |
|
提出日時 | 2017-07-07 07:47:46 |
言語 | cLay (20241019-1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 275 bytes |
コンパイル時間 | 1,827 ms |
コンパイル使用メモリ | 172,704 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-05 12:22:23 |
合計ジャッジ時間 | 2,906 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 32 |
ソースコード
int cnt[] = {20104, 20063, 19892, 20011, 19874, 20199, 19898, 20163, 19956, 19841}; { int c; --cnt[getchar_unlocked()-'0'];getchar_unlocked(); while (0<=(c=getchar_unlocked()-'0')){ --cnt[c]; } int l,h; rep(i,10){if(cnt[i]<0)l=i;if(cnt[i]>0)h=i;} wt(l,h); }