結果

問題 No.692 square1001 and Permutation 1
ユーザー kazukikazuki
提出日時 2018-11-20 23:02:29
言語 Ruby
(3.3.0)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 67 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 11,252 KB
実行使用メモリ 15,352 KB
最終ジャッジ日時 2023-08-26 02:30:08
合計ジャッジ時間 1,254 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
15,128 KB
testcase_01 AC 75 ms
15,260 KB
testcase_02 AC 73 ms
15,284 KB
testcase_03 AC 67 ms
15,052 KB
testcase_04 AC 70 ms
15,084 KB
testcase_05 AC 67 ms
15,152 KB
testcase_06 AC 69 ms
15,352 KB
testcase_07 AC 74 ms
15,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i

if n == 1
  puts "square1001"
else
  puts "Petr"
end
0