結果
| 問題 |
No.692 square1001 and Permutation 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-15 16:54:58 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 297 bytes |
| コンパイル時間 | 11,556 ms |
| コンパイル使用メモリ | 224,712 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-30 14:50:44 |
| 合計ジャッジ時間 | 12,013 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 3 WA * 2 |
ソースコード
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main (){
var num int
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")
}
}