Submission #365826

#TimeUsernameProblemLanguageResultExecution timeMemory
365826aihayCheerleaders (info1cup20_cheerleaders)C++14
0 / 100
31 ms2304 KiB
#pragma GCC optimize ("O3") #pragma GCC optimize ("unroll-loops") #pragma GCC optimize("-Ofast") #include <bits/stdc++.h> using namespace std; typedef int in; #define f first #define s second #define pb push_back #define pp push #define ceil(x) NEVER USE CEIL #define sqrt(x) (int)(sqrt(x)) int arr[1000010]; in main() { ios_base::sync_with_stdio(0); int tc=1; //cin>>tc; while(tc--) { int n; cin>>n; int x=1; while(n--){ x*=2; } n=x; for(int i=0;i<n;i++){ cin>>arr[i]; } cout<<0<<endl; sort(arr,arr+n); for(int i=0;i<n;i++){ cout<<arr[i]; } cout<<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...
#Verdict Execution timeMemoryGrader output
Fetching results...