제출 #1359478

#제출 시각아이디문제언어결과실행 시간메모리
1359478ramez-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() {
    for (int i=1;i<=500,000;i++)
        if ((int)collisions({0,(ll)i})) return i; 
}

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

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