# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
57596 | kimjg1119 | Parrots (IOI11_parrots) | C++17 | 5 ms | 1744 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#include "encoder.h"
#include "encoderlib.h"
void encode(int N, int M[])
{
int i;
int a[8];
for(i=0; i<N; i++)
{
a[i]=M[i]+i*100;
}
for(i=0; i<N; i++)
send(a[i]);
return;
}
#include <stdio.h>
#include "decoder.h"
#include "decoderlib.h"
void decode(int N, int L, int X[])
{
int i, b, temp1, temp2;
int temp[8];
for(i=0; i<L; i++)
{
temp1=X[i]%100;
temp2=X[i]/100;
temp[temp2]=temp1;
}
for(i=0; i<L; i++)
{
b = temp[i];
output(b);
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |