# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
690884 | MateiKing80 | Split (info1cup19_split) | C++14 | 1 ms | 308 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 <iostream>
using namespace std;
int v[30];
int main()
{
char ch;
int sz;
while(cin>>ch)
{
sz++;
v[sz]=ch-'0';
}
for(int i=1;i<=sz/2;i++)
cout<<v[i];
cout<<" ";
for(int i=sz/2+1;i<=sz;i++)
cout<<v[i];
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |