Submission #1069981

# Submission time Handle Problem Language Result Execution time Memory
1069981 2024-08-22T10:48:45 Z Abito A Light Inconvenience (CEOI23_light) C++17
0 / 100
1 ms 344 KB
#include "light.h"
#include <bits/stdc++.h>
#define pb push_back
#define int long long
using namespace std;
const int N=5005;
bool a[N];
int n;
void prepare(){
	a[1]=1;
	n=1;
}
 
std::pair<long long, std::vector<long long>> join(long long p){
	n+=p;
	vector<int> v;
	for (int i=1;i<n;i+=35) v.pb(i);
	v.pb(n);
	return {35,v};
}
 
std::pair<long long, std::vector<long long>> leave(long long p){
	n-=p;
	vector<int> v;
	for (int i=1;i<n;i+=35) v.pb(i);
	v.pb(n);
	return {35,v};
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 340 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Not correct
2 Halted 0 ms 0 KB -