제출 #1122996

#제출 시각아이디문제언어결과실행 시간메모리
112299612345678A Light Inconvenience (CEOI23_light)C++17
0 / 100
0 ms408 KiB
#include "light.h" #include <bits/stdc++.h> using namespace std; long long cnt=1; void prepare(){ } std::pair<long long, std::vector<long long>> join(long long p){ cnt+=p; vector<long long> res; for (int i=1; i<cnt; i+=5) res.push_back(i); res.push_back(cnt); return make_pair(p, res); } std::pair<long long, std::vector<long long>> leave(long long p){ cnt-=p; vector<long long> res; for (int i=1; i<=cnt; i+=5) res.push_back(i); return make_pair((long long) 4, res); }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...