Submission #51545510
Source Code Expand
n = int(input())
a = list(map(int, input().split()))
b = [a[i]*a[i-1] for i in range(1, n)]
print(' '.join(map(str, b)))
Submission Info
| Submission Time | |
|---|---|
| Task | A - Adjacent Product |
| User | yefllower |
| Language | Python (PyPy 3.10-v7.3.12) |
| Score | 100 |
| Code Size | 125 Byte |
| Status | AC |
| Exec Time | 57 ms |
| Memory | 76648 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 02_minmax_00.txt, 02_minmax_01.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 56 ms | 76544 KiB |
| 00_sample_01.txt | AC | 57 ms | 76396 KiB |
| 01_random_00.txt | AC | 57 ms | 76472 KiB |
| 01_random_01.txt | AC | 57 ms | 76624 KiB |
| 01_random_02.txt | AC | 57 ms | 76444 KiB |
| 01_random_03.txt | AC | 57 ms | 76484 KiB |
| 01_random_04.txt | AC | 57 ms | 76400 KiB |
| 01_random_05.txt | AC | 57 ms | 76412 KiB |
| 01_random_06.txt | AC | 57 ms | 76648 KiB |
| 02_minmax_00.txt | AC | 57 ms | 76352 KiB |
| 02_minmax_01.txt | AC | 57 ms | 76324 KiB |