結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
|
提出日時 | 2019-03-15 22:53:52 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 322 bytes |
コンパイル時間 | 13,907 ms |
コンパイル使用メモリ | 226,424 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 21:23:48 |
合計ジャッジ時間 | 14,088 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 |
ソースコード
package main import ( "fmt" "bufio" "os" "strconv" ) var sc = bufio.NewScanner(os.Stdin) func read() string { sc.Scan() return sc.Text() } func getInt() int { i, _ := strconv.Atoi(read()) return i } func main(){ sc.Split(bufio.ScanWords) a := getInt() b := getInt() s := read() fmt.Print(a + b, " ", s) }