| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1361960 | jiayiiyaij | Multiplication (BOI24_multiplication) | C++20 | 1 ms | 344 KiB |
// https://oj.uz/problem/view/BOI24_multiplication 29/04 - 2026
#include<bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
long long product = 1;
for (int i=0; i<N; i++) {
long long a; cin >> a;
a %= 1000000007;
product = (product*a) % 1000000007;
}
cout << product << "\n";
return 0;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
