Submission #481140

#TimeUsernameProblemLanguageResultExecution timeMemory
481140kkkkkkkkParrots (IOI11_parrots)C++14
34 / 100
2 ms1016 KiB
#include "encoder.h" #include "encoderlib.h" #include <iostream> using namespace std; int pozicija[8],nova_niza[8]; void encode(int n,int arr[]) { for (int i=0;i<n;i++) arr[i]+=1000*i; for (int i=0;i<n;i++) send(arr[i]); }
#include "decoder.h" #include "decoderlib.h" #include <iostream> using namespace std; int pozicija[8],nova_niza[8]; void decode(int n,int l,int arr[]) { for (int i=0;i<n;i++) { int poz=arr[i]/1000; nova_niza[poz]=arr[i]-1000*poz; } for (int i=0;i<n;i++) output(nova_niza[i]); }
#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...