Advertisement
Mikhail-Podbolotov

Untitled

May 22nd, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include "library.h"
  2. #include <iostream>
  3. #include <fstream>
  4. using namespace std;
  5. int main()
  6. {
  7.     ifstream input("input.txt");
  8.     Tree A;
  9.     double x;
  10.     while (!input.eof()) {
  11.         input >> x;
  12.         A.Add(x);
  13.     }
  14.     cout << A.GetMaxElementCount();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement