fork download
  1. #include<iostream>
  2. #include<vector>
  3. #include<string>
  4. using namespace std;
  5. int main()
  6. {
  7. string test;
  8. vector<string> vec;
  9. int t,i=0;
  10. cin >> t;
  11. while(i < t)
  12. {
  13. cin>> test;
  14. i++;
  15. vec.push_back(test); test.clear();
  16. }
  17. return 0;
  18. }
Time limit exceeded #stdin #stdout 5s 264960KB
stdin
Standard input is empty
stdout
Standard output is empty