Submission #419787

#TimeUsernameProblemLanguageResultExecution timeMemory
419787den_tarSequence (BOI14_sequence)C++14
0 / 100
1 ms296 KiB
#include <bits/stdc++.h> using namespace std; #define fast ios_base::sync_with_stdio();cin.tie();cout.tie(); #define en cout<<endl; #define ops cout<<"ops"<<endl; #define line cout<<"---------------------------"<<endl; #define fi first #define se second typedef long long ll; typedef long double ld; typedef pair<ll,ll> pllll; typedef string str; const ll DIM = 2e6 + 7; const ll DIMM = 1e2 + 7; const ll DDIM = 7; const ll INF = 1e18 + 7; const ll X = 1e5 + 7; const ll BS = 2e5 + 7; const ll AS = 26 + 7; const ll MODULO = 1e9 + 7; ll nt,n,m,k,q; ll val,val1; int main() { fast; //ll x1,y1,x2,y2; cin>>n>>val1; for(int i=2;i<=n;i++)cin>>val; n--; while(n>0){ val1*=10; n/=10; } cout<<val1<<endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...