結果

問題 No.1223 I hate Golf
ユーザー MizushimaToshihikoMizushimaToshihiko
提出日時 2020-10-10 14:42:25
言語 Go
(1.22.1)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 718 bytes
コンパイル時間 10,728 ms
コンパイル使用メモリ 211,052 KB
実行使用メモリ 20,544 KB
最終ジャッジ日時 2023-09-27 21:26:07
合計ジャッジ時間 12,027 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
20,540 KB
testcase_01 AC 20 ms
20,536 KB
testcase_02 AC 20 ms
20,536 KB
testcase_03 AC 20 ms
20,544 KB
testcase_04 AC 19 ms
20,540 KB
testcase_05 AC 20 ms
20,540 KB
testcase_06 AC 19 ms
20,540 KB
testcase_07 AC 20 ms
20,540 KB
testcase_08 AC 20 ms
20,536 KB
testcase_09 AC 20 ms
20,536 KB
testcase_10 AC 20 ms
20,536 KB
testcase_11 AC 20 ms
20,536 KB
testcase_12 AC 20 ms
20,536 KB
testcase_13 AC 20 ms
20,540 KB
testcase_14 AC 20 ms
20,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

//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")
    }
}
0