Submission #364062

#TimeUsernameProblemLanguageResultExecution timeMemory
364062knightron0Boxes with souvenirs (IOI15_boxes)C++14
0 / 100
1 ms512 KiB
#include <bits/stdc++.h> using namespace std; #define pb push_back #define fr first #define sc second #define clr(a, x) memset(a, x, sizeof(a)) #define dbg(x) cout<<"("<<#x<<"): "<<x<<endl; #define printvector(arr) for (auto it = arr.begin(); it != arr.end(); ++it) cout<<*it<<" "; cout<<endl; #define all(v) v.begin(), v.end() #define lcm(a, b) (a * b)/__gcd(a, b) #define printvecpairs(vec) for(auto it: vec) cout<<it.fr<<' '<<it.sc<<endl; #define endl '\n' #define float long double const int MOD = 1e9 + 7; const int MAXN = 1e5 + 5; long long int delivery(int N, int k, int l, int positions[]) { return l; } // signed main() { // ios_base::sync_with_stdio(false); // cin.tie(NULL); // #ifdef LOCAL // freopen("input.txt", "r", stdin); // #endif // int n, k, l; // cin>>n>>k>>l; // int pos[n]; // for(int i= 0;i<n;i++){ // cin>>pos[i]; // } // cout<<delivery(n, k, l, pos)<<endl; // return 0; // }

Compilation message (stderr)

boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:20:28: warning: unused parameter 'N' [-Wunused-parameter]
   20 | long long int delivery(int N, int k, int l, int positions[]) {
      |                        ~~~~^
boxes.cpp:20:35: warning: unused parameter 'k' [-Wunused-parameter]
   20 | long long int delivery(int N, int k, int l, int positions[]) {
      |                               ~~~~^
boxes.cpp:20:49: warning: unused parameter 'positions' [-Wunused-parameter]
   20 | long long int delivery(int N, int k, int l, int positions[]) {
      |                                             ~~~~^~~~~~~~~~~
#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...