hey all dear legend

can anyone please suggest me a similar problems of this problem someone told me that this is a standard problem but i found it first time.

it would be really helpfull. thanks in advance.

# | User | Rating |
---|---|---|

1 | Benq | 3783 |

2 | jiangly | 3772 |

3 | tourist | 3706 |

4 | maroonrk | 3609 |

5 | Um_nik | 3591 |

6 | fantasy | 3526 |

7 | ko_osaga | 3500 |

8 | inaFSTream | 3477 |

9 | cnnfls_csy | 3427 |

10 | zh0ukangyang | 3423 |

# | User | Contrib. |
---|---|---|

1 | Um_nik | 183 |

2 | awoo | 181 |

3 | nor | 172 |

4 | -is-this-fft- | 170 |

4 | adamant | 170 |

6 | maroonrk | 165 |

7 | antontrygubO_o | 160 |

8 | SecondThread | 159 |

9 | dario2994 | 152 |

9 | kostka | 152 |

hey all dear legend

can anyone please suggest me a similar problems of this problem someone told me that this is a standard problem but i found it first time.

it would be really helpfull. thanks in advance.

↑

↓

Codeforces (c) Copyright 2010-2023 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Mar/23/2023 20:36:41 (f1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|

I think that by standard they meant "adding into the heap and removing something from the heap as 1 operation". I recently encountered a problem which is based on adding+deleting something from heap, "Given n integers, in 1 operation take a number and add it to your score and update the number as A[i]/3 and do this operations x times"

try this https://www.codechef.com/problems/CIREQ I think it's similar