Submission #713813

#TimeUsernameProblemLanguageResultExecution timeMemory
713813ALTAKEXEPot (COCI15_pot)C++14
50 / 50
1 ms212 KiB
#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 timeMemoryGrader output
Fetching results...