| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1332887 | SmuggingSpun | Martian DNA (IOI16_dna) | C++20 | 4 ms | 352 KiB |
#include "dna.h"
#include<bits/stdc++.h>
using namespace std;
int n;
namespace sub1{
string solve(){
for(int mask = 1; mask < (1 << n); mask++){
string s = "";
for(int i = 0; i < n; i++){
s += char((mask >> i & 1) + 48);
}
if(make_test(s) == n){
return s;
}
}
return string(n, '0');
}
}
string analyse(int _n, int t){
n = _n;
if(t == 31){
return sub1::solve();
}
} 컴파일 시 표준 에러 (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... | ||||
