제출 #1359487

#제출 시각아이디문제언어결과실행 시간메모리
1359487ramez-hammadHack (APIO25_hack)C++20
0 / 100
0 ms344 KiB
#include "hack.h"
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int hack() {
    collisions({0});
    for (ll i=2;i<=500,000;i++) {if (collisions({i})) return i;} 
}

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

hack.cpp: In function 'int hack()':
hack.cpp:7:13: warning: control reaches end of non-void function [-Wreturn-type]
    7 |     for (ll i=2;i<=500,000;i++) {if (collisions({i})) return i;}
      |             ^
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…