Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104510 | 朱彦宇 | 11计算分段函数的值 | C++ | Compile Error | 0 MS | 0 KB | 135 | 2025-01-05 11:34:42 |
#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:9:5: error: expected primary-expression before '}' token } ^ Main.cc:6:13: warning: unused variable 'y' [-Wunused-variable] float x,y; ^