結果
問題 |
No.692 square1001 and Permutation 1
|
ユーザー |
|
提出日時 | 2018-06-15 16:52:00 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 282 bytes |
コンパイル時間 | 11,611 ms |
コンパイル使用メモリ | 235,644 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 14:51:10 |
合計ジャッジ時間 | 12,113 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 3 WA * 2 |
ソースコード
package main import ( "bufio" "fmt" "os" "strconv" ) func main (){ stdin := bufio.NewScanner(os.Stdin) stdin.Scan() var text = stdin.Text() num, _ := strconv.Atoi(text) if num % 2 == 1 { fmt.Println("square1001") } else { fmt.Println("Petr") } }