fork download
  1. #include <iostream>
  2. #include <string.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. string s;
  7. int a, b;
  8. while(cin>>s){
  9. cout<<"123"<<endl;
  10. scanf("%d%d",&a,&b);
  11. cout<<a<<" "<<b<<endl;
  12. }
  13. }
Success #stdin #stdout 0s 3232KB
stdin
1
1 1
stdout
123
1 1