| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147740 | 张锦程 | 08打车费用 | C++ | Compile Error | 0 MS | 0 KB | 190 | 2026-02-07 14:44:25 |
#include<iostream> using namespace std; int main(){ int x; cin>>x; int sum=0; if(x<=2){ sum=6; }else{ sum=6+1.8x; } cout<<sum<<endl; }
Main.cc: In function 'int main()':
Main.cc:10:15: error: unable to find numeric literal operator 'operator""x'
sum=6+1.8x;
^
Main.cc:10:15: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes