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<bits/stdc++.h>
using namespace std;
void send(int a);
void output(int b);
void encode(int N, int M[]){
for(int i=0; i<N; i++){
int k=M[i]*100+i;
send(k);
}
}
#include<bits/stdc++.h>
using namespace std;
void send(int a);
void output(int b);
void decode(int N, int L, int X[]){
int arr[50];
for(int i=0; i<L; i++){
int z=X[i];
arr[z%100]=z/100;
}
for(int i=0; i<N; i++){
output(arr[i]);
}
}
# | 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... |