제출 #1205740

#제출 시각아이디문제언어결과실행 시간메모리
1205740batsukh2006Hack (APIO25_hack)C++17
0 / 100
34 ms16020 KiB
#include "hack.h"
#include <vector>
#include<iostream>
using namespace std;
const int mxN=1000000;
int hack(){
    vector<long long> x;
    for(int i=1; i<=mxN; i++) x.push_back(i);
    long long v=collisions(x);
    cout<<mxN-v;
}

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

hack.cpp: In function 'int hack()':
hack.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...