Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104508 | 朱彦宇 | 11计算分段函数的值 | C++ | Compile Error | 0 MS | 0 KB | 129 | 2025-01-05 11:32:15 |
#include<iostream> #include<cstdio> using namespace std; int main(){ float x,y; cin >> x; if(x>=0&&x<5) {
Main.cc: In function 'int main()': Main.cc:8:5: error: expected '}' at end of input { ^ Main.cc:5:13: warning: unused variable 'y' [-Wunused-variable] float x,y; ^ Main.cc:8:5: error: expected '}' at end of input { ^