Square#124

Square (Discussion)

  1. MykolakolaFeb 23, 2024, 8:45 AM

    Nowhere in the problem there is stated how many tests there will be/when to stop

    1. skolodyazhnyyFeb 23, 2024, 9:19 AM

      Mykolakola you need to read input file until the end, for example like this

      while(cin>>a) {
          ...
      }