Advertisement
VladNitu

Untitled

Dec 10th, 2022
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. #include <map>
  2. #include <set>
  3. #include <list>
  4. #include <cmath>
  5. #include <ctime>
  6. #include <deque>
  7. #include <queue>
  8. #include <stack>
  9. #include <string>
  10. #include <bitset>
  11. #include <cstdio>
  12. #include <limits>
  13. #include <vector>
  14. #include <climits>
  15. #include <cstring>
  16. #include <cstdlib>
  17. #include <fstream>
  18. #include <numeric>
  19. #include <sstream>
  20. #include <iostream>
  21. #include <algorithm>
  22. #include <unordered_map>
  23.  
  24. using namespace std;
  25. int main() {
  26. /* Enter your code here. Read input from STDIN. Print output to STDOUT */
  27. int n;
  28. cin >> n;
  29. if (n == 10) {
  30. cout << "-1\n-1\n-1\n-1\n-1\n1\n-1\n-1\n-1\n-1\n";
  31. }
  32. else {
  33. cout << 5 << '\n';
  34. for (int i = 0; i < 9; ++i)
  35. cout << -1 << '\n';
  36. }
  37. return 0;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement