제출 #1024992

#제출 시각아이디문제언어결과실행 시간메모리
1024992Mardonbekhazratov추월 (IOI23_overtaking)C++17
0 / 100
1 ms348 KiB
#include "overtaking.h" #include <iostream> #include <tuple> using namespace std; int l,n,x,m; vector<long long>t; vector<int>w,s; void init(int L, int N, std::vector<long long> T, std::vector<int> W, int X, int M, std::vector<int> S){ tie(l,n,x,m,t,w,s)=tie(L,N,X,M,T,W,S); return; } long long arrival_time(long long Y){ if(n==1) return Y+1ll*x*l; }

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

overtaking.cpp: In function 'long long int arrival_time(long long int)':
overtaking.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
   18 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...