| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 1173288 | Nomio | Pot (COCI15_pot) | C++20 | 0 ms | 328 KiB | 
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	int n;
	cin >> n;
	ll s = 0;
	for(int i = 0; i < n; i++) {
		int x;
		cin >> x;
		int a = x % 10;
		x /= 10;
		ll S = 1;
		for(int j = 0; j < a; j++) {
			S *= x;
		}
		s += S;
	}
	cout << s << '\n';
	return 0;
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
