Submission #935662

# Submission time Handle Problem Language Result Execution time Memory
935662 2024-02-29T10:47:42 Z zhasyn Boxes with souvenirs (IOI15_boxes) C++14
0 / 100
1 ms 348 KB
#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

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 time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -