| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 251393 | StevenH | Martian DNA (IOI16_dna) | C++14 | 16 ms | 384 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 "dna.h"
#include <cstdlib>
#include <iostream>
using namespace std;
string analyse(int n, int t)
{
    string str = "";
    bool flag = 0;
    for (int i = 1; i <= n; i++)
    {
        if (flag == 0)
        {
            if (make_test(str + "0"))
                str += "0";
            else if (make_test(str + "1"))
                str += "1";
            else
                flag = 1;
        }
        if (flag == 1)
        {
            if (make_test("0" + str))
                str = "0" + str;
            else
                str = "1" + str;
        }
    }
    return str;
}
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... | ||||
