| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1314833 | exoworldgd | 컴퓨터 네트워크 (BOI14_network) | C++20 | 49 ms | 4260 KiB |
#include<bits/stdc++.h>
#include"network.h"
#define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0)
using namespace std;
void findRoute(int N,int a,int b){
int cur=a,d=ping(a,b),to[N+5],vs[N+5]={};
memset(to,-1,sizeof to);
for(int i=0;i<=d;i++){
for(int j=1;j<=N;j++){
if(!vs[j]){
if(!to[j]&&j^b)to[j]=ping(j,b);
if(to[j]==d-i-1&&!ping(cur,j)){travelTo(j),vs[j]=1,cur=j;break;}
}
}
}
}
컴파일 시 표준 에러 (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... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
