Submission #1051651

#TimeUsernameProblemLanguageResultExecution timeMemory
1051651user736482Parrots (IOI11_parrots)C++17
17 / 100
1 ms1312 KiB
#include<bits/stdc++.h> #include "decoder.h" #include "decoderlib.h" #include "encoder.h" #include "encoderlib.h" using namespace std; void encode(int n,int v[]){ int k=0; for(int i=0;i<n;i++){ k*=2; k+=v[i]; } //cout<<k; send(k); }
#include<bits/stdc++.h> #include "decoder.h" #include "decoderlib.h" #include "encoder.h" #include "encoderlib.h" using namespace std; void decode(int n,int l,int v[]){ for(int i=n-1;i>=0;i--){ //cout<<(1<<i); if(v[0]&(1<<i)) //cout<<1<<" "; output(1); else //cout<<0<<" "; output(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...