結果
問題 | No.1140 EXPotentiaLLL! |
ユーザー | ytft |
提出日時 | 2021-05-07 18:17:48 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 356 ms |
コンパイル使用メモリ | 87,336 KB |
実行使用メモリ | 81,888 KB |
最終ジャッジ日時 | 2023-10-13 09:28:39 |
合計ジャッジ時間 | 5,756 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | AC | 84 ms
77,832 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
ソースコード
t=200001 A=[1 for i in range(t)] for i in range(2,t): if A[i]: for j in range(2*i,t,i): A[j]=0 N=int(input()) for i in range(N): print(1 if A[list(map(int,input().split()))[1]] else -1)