fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. for(int i = 0; i <= 3; i++){
  8. for(int j = i; j <= i; j++){
  9. if(i == 0 % 2){
  10. cin >> i;
  11. cin >> j;
  12. cout << "*" << endl;
  13. }
  14. }
  15. for (int k = 0; k <= n; k++){
  16. for(int t = k; t <= k; t++){
  17. if(k == 0 % 2){
  18. cin >> k;
  19. cout << "e" << endl;
  20. }
  21. }
  22.  
  23. for (int q = 0; q <= n; q++){
  24. if(q == 0 % 2){
  25. cin >> q;
  26. cout << "*" << endl;
  27. }
  28. }
  29. }
  30. }
  31.  
  32. return 0;
  33. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
*
e
*
e
*
e
*
e
*