| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 47319 | rajarshi_basu | 컴퓨터 네트워크 (BOI14_network) | C++14 | 171 ms | 4588 KiB | 
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "network.h"
#define FOR(i,n) for(int i=0;i<n;i++)
#define ll long long int
#define mp make_pair
#define pb push_back
#define iii pair<int, pair<int,int> >
#define vi vector<int>
using namespace std;
void findRoute(int N,int a,int b){
  int dist[N];
  for(int i = 1;i<=N; i++){
    if(i == b)dist[i] = 0;
    else{
      dist[i] = ping(i,b) + 1;
    }  
  }
  int node = a;
  while(true){
    if(node == b)break;
    for(int i=1;i<=N;i++){
      if((dist[i] == dist[node] - 1) and (ping(node,i) == 0)){
        travelTo(i);
        node = i;
      }
      
    }
  }
}
컴파일 시 표준 에러 (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... | ||||
