fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. struct Node {
  6. int value;
  7. Node* next;
  8. };
  9.  
  10.  
  11. int main () {
  12. int a;
  13. cin >> a;
  14. Node head;
  15. head.next = nullptr;
  16.  
  17. for (int i = 0; i < a; i++) {
  18. string q;
  19.  
  20. getline(cin, q);
  21.  
  22.  
  23.  
  24.  
  25. }
  26. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty