Submission #968378
Source Code Expand
N,K = map(int,input().split()) A = [int(i) for i in input().split()] win = 0 #for i in range(1,N): # for j in range(i,N): # if((A[i]*A[j])%K) == 0: # win = win + 1 ## print(i,j) print([(A[i]*A[j])%K for i in range(1,N) for j in range(i,N)].count(0))
Submission Info
| Submission Time | |
|---|---|
| Task | B - ステップカット |
| User | thvinmei |
| Language | Python (3.4.3) |
| Score | 0 |
| Code Size | 296 Byte |
| Status | RE |
| Exec Time | 21 ms |
| Memory | 3064 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_example_01.txt, 00_example_02.txt, 00_example_03.txt |
| All | 00_example_01.txt, 00_example_02.txt, 00_example_03.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 10_rand_07.txt, 10_rand_08.txt, 20_hand_01.txt, 20_hand_02.txt, 20_hand_03.txt, 20_hand_04.txt, 20_hand_05.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_example_01.txt | RE | 21 ms | 3064 KiB |
| 00_example_02.txt | RE | 21 ms | 3064 KiB |
| 00_example_03.txt | RE | 21 ms | 3064 KiB |
| 10_rand_01.txt | RE | 21 ms | 3064 KiB |
| 10_rand_02.txt | RE | 21 ms | 3064 KiB |
| 10_rand_03.txt | RE | 21 ms | 3064 KiB |
| 10_rand_04.txt | RE | 21 ms | 3064 KiB |
| 10_rand_05.txt | RE | 21 ms | 3064 KiB |
| 10_rand_06.txt | RE | 21 ms | 3064 KiB |
| 10_rand_07.txt | RE | 21 ms | 3064 KiB |
| 10_rand_08.txt | RE | 21 ms | 3064 KiB |
| 20_hand_01.txt | RE | 21 ms | 3064 KiB |
| 20_hand_02.txt | RE | 21 ms | 3064 KiB |
| 20_hand_03.txt | RE | 21 ms | 3064 KiB |
| 20_hand_04.txt | RE | 21 ms | 3064 KiB |
| 20_hand_05.txt | RE | 21 ms | 3064 KiB |