记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:17: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
    9 |         else if(n>=60)
      |                 ^
/in/foo.cc:9:20: error: unable to find numeric literal operator 'operator""\U0000ff09'
    9 |         else if(n>=60)
      |                    ^~~~
/in/foo.cc:9:20: note: use '-fext-numeric-literals' to enable more built-in suffixes
/in/foo.cc:11:9: error: expected primary-expression before 'else'
   11 |         else
      |         ^~~~
/in/foo.cc:10:32: error: expected ')' before 'else'
   10 |                 cout << "GOOD";
      |                                ^
      |                                )
   11 |         else
      |         ~~~~                    
/in/foo.cc:9:16: note: to match this '('
    9 |         else if(n>=60)
      |                ^

信息

递交者
类型
递交
题目
P1064 判断成绩等级
语言
C++
递交时间
2025-03-12 20:54:27
评测时间
2025-03-12 20:54:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes