fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // jollyjumper
  6. int n, data[3003];
  7. while(cin >> n) {
  8. for(int i = 0; i < n; i++)
  9. cin >> data[i];
  10. // kerjakan disini
  11. }
  12.  
  13. // funhouse
  14. int W, L;
  15. while(cin >> W >> L && W != 0 && L != 0) {
  16. // cin gridnya
  17. // kerjakan disini
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
Standard output is empty