답안 #400640

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
400640 2021-05-08T12:45:06 Z ioi Traffic (IOI10_traffic) C++14
0 / 100
1 ms 204 KB
#include "traffic.h"
#include<bits/stdc++.h>
using namespace std ;

int LocateCentre(int N, int pp[], int S[], int D[]) {
    int mn = 1e9 + 9 ;

    for(int i = 0 ; i < N ; i ++)
        mn = min(mn , pp[i]);

    for(int i = 0 ; i < N ; i ++)
        if(mn == pp[i])return i ;
   return N/2;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -