| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71274 | 张黄源 | 08打车费用 | C++ | Compile Error | 0 MS | 0 KB | 246 | 2024-04-21 16:28:04 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,s=0; long long b; cin>>a>>b; if(a<=2){ s=s+11; } if(a>2&&a<=10){ s=s+11+1.8*(a-2); } if(a>10){ s=s+11+1.8*8+(a-10)*1.8*1.5; } s=s+b/3; printf("%.1lf",s); return 0;
Main.cc: In function 'int main()':
Main.cc:18:9: error: expected '}' at end of input
return 0;
^