제출 #1317188

#제출 시각아이디문제언어결과실행 시간메모리
1317188jesusargHack (APIO25_hack)C++20
8 / 100
115 ms416 KiB
#include <bits/stdc++.h>
#define ll long long 
#define pb push_back
#define f first
#define s second
using namespace std;

ll collisions(vector<ll> x);

int hack(){
    for(int i = 3; i <= 500001; i++){
        if(collisions({1,i})){
            return --i;
        }
    }
}

컴파일 시 표준 에러 (stderr) 메시지

hack.cpp: In function 'int hack()':
hack.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
   16 | }
      | ^
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…