結果
| 問題 | No.671 1000000007 | 
| コンテスト | |
| ユーザー |  mesh1nek0x0 | 
| 提出日時 | 2018-08-31 09:07:22 | 
| 言語 | Go (1.23.4) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 284 bytes | 
| コンパイル時間 | 13,725 ms | 
| コンパイル使用メモリ | 219,800 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-13 20:41:35 | 
| 合計ジャッジ時間 | 14,379 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 9 | 
ソースコード
package main
import (
  "fmt"
  "regexp"
  "math"
)
func main() {
  r := regexp.MustCompile(`(0)`)
  var N string
  fmt.Scan(&N)
  input := r.FindAllString(N, -1)
  ideal := r.FindAllString("1000000007", -1)
  diff := float64(len(ideal) - len(input))
  fmt.Println(math.Abs(diff))
}
            
            
            
        