Submission #935662

#TimeUsernameProblemLanguageResultExecution timeMemory
935662zhasynBoxes with souvenirs (IOI15_boxes)C++14
0 / 100
1 ms348 KiB
#include <bits/stdc++.h> #define pb push_back #define pf push_front using namespace std; #define F first #define S second mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); typedef long long ll; #define pii pair <int, int> #define pll pair <ll, ll> typedef long double ld; const ll N = 3 * 1e5 + 10, M = 5000 + 10, inf = 1e18; const ll mod = 998244353; ll um(ll a, ll b){ return (1LL * a * b) % mod; } ll subr(ll a, ll b){ return ((1LL * a - b) % mod + mod) % mod; } ll ans; ll delivery(int n, int k, int l, int positions[]){ return ans; } // int main() { // ios::sync_with_stdio(false); // cin.tie(NULL); // //freopen("max.in", "r", stdin); // //freopen("max.out", "w", stdout); // // return 0; // }

Compilation message (stderr)

boxes.cpp: In function 'll delivery(int, int, int, int*)':
boxes.cpp:21:17: warning: unused parameter 'n' [-Wunused-parameter]
   21 | ll delivery(int n, int k, int l, int positions[]){
      |             ~~~~^
boxes.cpp:21:24: warning: unused parameter 'k' [-Wunused-parameter]
   21 | ll delivery(int n, int k, int l, int positions[]){
      |                    ~~~~^
boxes.cpp:21:31: warning: unused parameter 'l' [-Wunused-parameter]
   21 | ll delivery(int n, int k, int l, int positions[]){
      |                           ~~~~^
boxes.cpp:21:38: warning: unused parameter 'positions' [-Wunused-parameter]
   21 | ll 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...