Advertisement
Guest User

215878392 hacked

a guest
Oct 2nd, 2023
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int n;
  5.  
  6. int main() {
  7. printf("%d\n",n=200000);
  8. for(int i=1;i<=n;i++) {
  9. if(i<=n/2-1) {
  10. printf("1 ");
  11. }else if(i>=n/2+2) {
  12. printf("4 ");
  13. }else {
  14. printf("%d ",i-(n/2)+2);
  15. }
  16. }
  17. printf("\n");
  18. for(int i=1;i<=n;i++) {
  19. if(i<=n/2-1) {
  20. printf("1 ");
  21. }else if(i>=n/2+2) {
  22. printf("7 ");
  23. }else {
  24. printf("%d ",(n/2+3)-i);
  25. }
  26. }
  27. printf("\n");
  28. return 0;
  29. }
  30.  
  31. Answer: 299997
  32. Output: 299999
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement