結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
|
提出日時 | 2020-01-13 19:34:45 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 730 bytes |
コンパイル時間 | 11,836 ms |
コンパイル使用メモリ | 227,472 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-21 14:38:27 |
合計ジャッジ時間 | 12,345 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
package main import ( "fmt" "bufio" "os" "strconv" ) //=====I/O===== var ( sc = bufio.NewScanner(os.Stdin) wr = bufio.NewWriter(os.Stdout) ) func scanInt() int { sc.Scan() a,_ := strconv.Atoi(sc.Text()) return a } func scanInt64() int64 { sc.Scan() a,_ := strconv.ParseInt(sc.Text(),10,64) return a } func scanInts(n int) []int { res := make([]int, n) for i := 0; i < n; i++ { res[i] = scanInt() } return res } func scanText() string { sc.Scan() return sc.Text() } func printInts(a ...int) { for i, e := range a { fmt.Fprint(wr, e) if i != len(a)-1 { fmt.Fprint(wr, " ") } } fmt.Fprintln(wr) wr.Flush() } //=====main===== func main() { sc.Split(bufio.ScanWords) fmt.Println("Hello World!") }