# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
713813 | ALTAKEXE | Pot (COCI15_pot) | C++14 | 1 ms | 212 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
int main(){
//freopen("input.txt","r",stdin);
long long int n,sum=0;
cin>>n;
while(n--){
long long int a;
cin>>a;
sum+=pow(a/10,a%10);
}
cout<<sum;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |