fork(1) download
  1. /*
  2. Given an array of numeric pairs representing the start and end times of scheduled meetings, find the maximum number of meetings that can be held in a room if only one meeting can occur in the room at once.
  3. Example
  4. Input: [(8.5, 9.5), (11, 11.25), (9, 11), (11.5, 13), (10, 10.75), (8, 9)]
  5. Output: 4 (The following meetings can occur in the given order: (8, 9), (10, 10.75), (11, 11.25), 11.5, 13))
  6.  
  7.  
  8.  
  9. */
  10.  
  11. #include <iostream>
  12. using namespace std;
  13.  
  14. int main() {
  15. // your code goes here
  16. return 0;
  17. }
Success #stdin #stdout 0s 5304KB
stdin
Standard input is empty
stdout
Standard output is empty