結果
問題 |
No.637 X: Yet Another FizzBuzz Problem
|
ユーザー |
![]() |
提出日時 | 2018-05-28 17:29:56 |
言語 | Bash (Bash 5.2.21) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 29 ms |
コンパイル使用メモリ | 6,688 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 07:47:07 |
合計ジャッジ時間 | 1,188 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 30 |
ソースコード
_==0 "exec" "gawk" "-f" "$0" function f(n) { return n%15==0 ? 8 : n%3==0 || n%5==0 ? 4 : length(n) } BEGIN{RS="[ \n]"}{t+=f($0)}END{print t}