# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
241328 | Nayeon_A_Bunny | Telefoni (COCI17_telefoni) | C++17 | 26 ms | 5760 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
template<typename TH>
void _dbg(const char* sdbg, TH h) {
cerr << sdbg << " = " << h << "\n";
}
template<typename TH, typename... TA>
void _dbg(const char* sdbg, TH h, TA... t) {
while (*sdbg != ',') cerr << *sdbg++;
cerr << " = " << h << ",";
_dbg(sdbg + 1, t...);
}
#define db(...) _dbg(#__VA_ARGS__, __VA_ARGS__)
#define chkpt cerr << "------\n";
const int N=3e5+5;
int n,d,a[N];
int nxt[N];
int main() {
// freopen("COCI17_TELEFONI.INP","r",stdin);
ios_base::sync_with_stdio(0); cin.tie(0);
cin>>n>>d;
for(int i=1;i<=n;++i){
cin>>a[i];
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |