Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:15: error: unable to find string literal operator 'operator""Hello' with 'const char [1]', 'long unsigned int' arguments
    5 |         cout<<""Hello,World!"";
      |               ^~~~~~~
/in/foo.cc:5:23: error: 'World' was not declared in this scope
    5 |         cout<<""Hello,World!"";
      |                       ^~~~~

信息

递交者
类型
递交
题目
P2240 1.1.1Hello, World!
语言
C++
递交时间
2026-02-14 10:55:23
评测时间
2026-02-14 10:55:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes