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