結果

問題 No.826 連絡網
ユーザー letrangerjpletrangerjp
提出日時 2019-05-04 08:44:16
言語 Ruby
(3.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 57 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 11,248 KB
実行使用メモリ 15,580 KB
最終ジャッジ日時 2023-08-15 18:27:52
合計ジャッジ時間 8,261 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
15,204 KB
testcase_01 WA -
testcase_02 AC 92 ms
15,400 KB
testcase_03 AC 94 ms
15,580 KB
testcase_04 AC 93 ms
15,328 KB
testcase_05 AC 94 ms
15,264 KB
testcase_06 AC 92 ms
15,196 KB
testcase_07 AC 93 ms
15,264 KB
testcase_08 AC 93 ms
15,084 KB
testcase_09 AC 94 ms
15,268 KB
testcase_10 AC 92 ms
15,340 KB
testcase_11 AC 93 ms
15,320 KB
testcase_12 AC 398 ms
15,392 KB
testcase_13 AC 215 ms
15,492 KB
testcase_14 AC 319 ms
15,468 KB
testcase_15 AC 115 ms
15,464 KB
testcase_16 AC 244 ms
15,344 KB
testcase_17 AC 213 ms
15,284 KB
testcase_18 AC 185 ms
15,396 KB
testcase_19 AC 447 ms
15,528 KB
testcase_20 AC 440 ms
15,440 KB
testcase_21 AC 95 ms
15,140 KB
testcase_22 AC 215 ms
15,468 KB
testcase_23 AC 251 ms
15,352 KB
testcase_24 AC 161 ms
15,380 KB
testcase_25 AC 517 ms
15,364 KB
testcase_26 AC 174 ms
15,284 KB
testcase_27 AC 405 ms
15,548 KB
testcase_28 AC 332 ms
15,396 KB
testcase_29 AC 211 ms
15,572 KB
testcase_30 AC 513 ms
15,392 KB
testcase_31 AC 236 ms
15,396 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -nrprime
N=$_.to_i
p~-N-(N/2+1..N).count(&:prime?)
0