結果
問題 |
No.1223 I hate Golf
|
ユーザー |
|
提出日時 | 2020-10-10 14:42:25 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 718 bytes |
コンパイル時間 | 13,346 ms |
コンパイル使用メモリ | 246,560 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-22 04:06:36 |
合計ジャッジ時間 | 13,752 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
//https://onlinejudge.u-aizu.ac.jp/courses/lesson/1/ALDS1/4/ALDS1_4_C package main import( "fmt" "bufio" "os" "strconv" "strings" "math" ) var rdr=bufio.NewReaderSize(os.Stdin,100000000) func readLine()string{ l,_,_:=rdr.ReadLine() return string(l) } func inputSplit()[]string{ return strings.Split(readLine()," ") } func readInts(n int)[]int{ s:=inputSplit() res:=make([]int,0,100000000) for i:=0;i<n;i++{ j,_:=strconv.Atoi(s[i]) res=append(res,j) } return res } func main(){ tmp:=readInts(3) n,k,t:=int(math.Abs(float64(tmp[0]))),tmp[1],tmp[2] if(k*t>=n){ fmt.Println("Yes") }else{ fmt.Println("No") } }