結果
問題 | No.692 square1001 and Permutation 1 |
ユーザー |
|
提出日時 | 2018-06-15 16:58:24 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 293 bytes |
コンパイル時間 | 11,520 ms |
コンパイル使用メモリ | 240,324 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 14:50:57 |
合計ジャッジ時間 | 12,027 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
package mainimport ("bufio""fmt""os""strconv")func main (){var num intstdin := bufio.NewScanner(os.Stdin)stdin.Scan()var text = stdin.Text()num, _ = strconv.Atoi(text)if num == 1 {fmt.Println("square1001")} else {fmt.Println("Petr")}}