fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <cmath>
  4. #include <iomanip>
  5. #include <vector>
  6. #include <algorithm>
  7. #include <map>
  8. #include <set>
  9. using namespace std;
  10. int main()
  11. {
  12. //int: số nguyên
  13. //string: chuỗi
  14. //float: số thực
  15. //char: ký tự
  16.  
  17. //bool: kiểu logic boolean
  18. //bool là kiểu dữ liệu chỉ chứa 2 giá trị là true hoặc false
  19.  
  20. // Nhập 1 xâu kí tự: "true false NG"
  21. string s;
  22. getline(cin, s);
  23. cout<<s;
  24.  
  25. return 0;
  26. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
Standard output is empty