#include <iostream>#include <string> using namespace std; int main() { int n, m; string str; cin>>n; cout<<m<<'\n'; for(int i=0;i<m;i++){ cin>>str; cout<<str<<'\n'; } return 0;}
3 2 bigburger fries 2 pizza garlicbread 2 macaroni cheese
0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!