結果
| 問題 |
No.169 何分かかるの!?
|
| コンテスト | |
| ユーザー |
gogotea
|
| 提出日時 | 2015-03-25 15:54:24 |
| 言語 | Go1.4 (1.4.2) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 363 bytes |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 33,332 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-25 00:11:03 |
| 合計ジャッジ時間 | 885 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
K := nextInt()
S := nextInt()
ans := 100 * S / (100 - K)
fmt.Println(ans)
}
var sc = bufio.NewScanner(os.Stdin)
func next() string {
sc.Split(bufio.ScanWords)
sc.Scan()
return sc.Text()
}
func nextInt() int {
i, e := strconv.Atoi(next())
if e != nil {
panic(e)
}
return i
}
gogotea