Advertisement
Ne-Biolog

Untitled

Mar 6th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. //#include <bits/stdc++.h>
  2. #include <algorithm>
  3. #include <iostream>
  4. #include <fstream>
  5. #include <vector>
  6. #include <cmath>
  7. #include <cstdio>
  8. #include <set>
  9. #include <map>
  10.  
  11. #define DEBUG 1
  12. #define TIME clock() / 1.0 / CLOCKS_PER_SEC
  13.  
  14. using namespace std;
  15.  
  16. const int maxN = (int)1e5 + 10;
  17.  
  18. struct Person {
  19. string name, surname, patronymic;
  20. };
  21.  
  22. class ListOfWorks {
  23. public :
  24. ListOfWorks(Person worker, Person boss, string nameOfProject,
  25. long long projectStart, long long projectEnd, long long projectReady) {
  26. this->worker = worker;
  27. this->boss = boss;
  28. this->nameOfProject = nameOfProject;
  29. this->projectStart = projectStart;
  30. this->projectEnd = projectEnd;
  31. this->projectReady = projectReady;
  32. }
  33. Person getNameOfWorker() {
  34. return worker;
  35. }
  36.  
  37. Person getNameOfBoss() {
  38. return boss;
  39. }
  40.  
  41. void getInfoAboutProject() {
  42. //Print all;
  43. }
  44.  
  45.  
  46. private :
  47. Person worker, boss;
  48. string nameOfProject;
  49. long long projectStart, projectEnd, projectReady;
  50.  
  51. };
  52.  
  53. vector < ListOfWorks > List;
  54.  
  55. signed main()
  56. {
  57. #if DEBUG
  58. freopen("input.txt", "r", stdin);
  59. freopen("output.txt" , "w", stdout);
  60. ios_base::sync_with_stdio(false);
  61. #endif
  62.  
  63.  
  64.  
  65. return 0;
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement