Is it a Heap?#3737

Is it a Heap? (Discussion)

  1. dguhfrFeb 20, 2026, 8:40 AM

    #include <bits/stdc++.h>using namespace std;

    int main() {ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);

    // example below, replace it with your solution
    int n;
    cin>>n;
    cout<<n/10<<" "<<n%10<<"\n";

    }