제출 #101356

#제출 시각아이디문제언어결과실행 시간메모리
101356MohamedAhmed0로봇 (IOI13_robots)C++14
0 / 100
4 ms640 KiB
#include "robots.h" #include <bits/stdc++.h> using namespace std ; int putaway(int A , int B , int T , int X[] , int Y[] , int W[] , int S[]) { //assertion map< pair<int , int> , int>mp ; for(int i = 0 ; i < T ; ++i) mp[{X[i] , Y[i]}]++; for(int i = 0 ; i < T ; ++i) assert((mp[{X[i] , Y[i]}] == 1)) ; }

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

robots.cpp: In function 'int putaway(int, int, int, int*, int*, int*, int*)':
robots.cpp:14:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
#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...