# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
869784 | rainboy | Split (info1cup19_split) | C11 | 0 ms | 600 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 <string.h>
#define N 20
int main() {
static char cc[N + 1], cc_[N + 2];
int n;
scanf("%s", cc), n = strlen(cc);
memcpy(cc_, cc, (n / 2) * sizeof *cc);
cc_[n / 2] = ' ';
memcpy(cc_ + n / 2 + 1, cc + n / 2, (n / 2) * sizeof *cc);
printf("%s\n", cc_);
return 0;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |