結果
問題 | No.169 何分かかるの!? |
ユーザー |
|
提出日時 | 2015-03-22 20:18:38 |
言語 | Go1.4 (1.4.2) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 581 bytes |
コンパイル時間 | 323 ms |
コンパイル使用メモリ | 34,312 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 00:11:01 |
合計ジャッジ時間 | 1,180 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
package main import ( "bufio" "os" "strconv" "fmt" ) var s = bufio.NewScanner(os.Stdin) func next() string { s.Split(bufio.ScanWords) s.Scan() return s.Text() } func nextLine() string { s.Split(bufio.ScanLines) s.Scan() if nil != s.Err() { panic(s.Err()) } return s.Text() } func nextInt() int { i, e := strconv.Atoi(next()) if e != nil { panic(e) } return i } func nextLong() int64 { i, e := strconv.ParseInt(next(), 10, 64) if e != nil { panic(e) } return i } func main() { K := nextInt() S := nextInt() fmt.Println(S * 100 / (100 - K)) }