ajit's blog

By ajit, history, 6 months ago, In English

We hope that you have enjoyed this round! Here is the sketch of solutions for the problems.

A. Array and Peaks

  • Problem Setter: ajit
  • Editorialist: ajit
Tutorial
Implementation in C++

B. AND Sequences

  • Problem Setter: ajit
  • Editorialist: ajit
Tutorial
Implementation in C++

C. Add One

Tutorial
Implementation in C++

D. GCD and MST

  • Problem Setter: ajit
  • Editorialist: ajit
Tutorial
Implementation in C++

E. Cost Equilibrium

Tutorial
Implementation in C++

F. Swapping Problem

Tutorial
Implementation1 in C++
Implementation2 in C++

Read more »

 
 
 
 
  • Vote: I like it
  • +153
  • Vote: I do not like it

By ajit, history, 19 months ago, In English

Why does this happen frequently nowadays?

Read more »

 
 
 
 
  • Vote: I like it
  • +42
  • Vote: I do not like it

By ajit, history, 22 months ago, In English

In the recent codeforces global round 6 for the problem C DIVERSE MATRIX my code prints the transpose of the correct output matrix for the cases where r=1,c>1 and for r>1,c=1. But it gives me OK verdict for this wrong output format. This is my link to the submission.Is this a problem with the checker?

Read more »

 
 
 
 
  • Vote: I like it
  • +16
  • Vote: I do not like it