Submission #101356

#TimeUsernameProblemLanguageResultExecution timeMemory
101356MohamedAhmed0Robots (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)) ; }

Compilation message (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...