| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1353998 | lizi14 | CONSUL (info1cup19_consul) | C++20 | 0 ms | 348 KiB |
#include <bits/stdc++.h>
using namespace std;
#include "grader.h"
const int N=1e9;
void solve(int n){
srand(time(0));
int hi=0;
for(int i=0; i<50; i++){
int bati=rand()%N;
int ixvi=cnt(bati);
if(ixvi>n/3){
hi=1;
say_answer(bati);
break;
}
}
if(hi==0){
say_answer(-1);
}
}
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
