Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104509 朱彦宇 11计算分段函数的值 C++ Compile Error 0 MS 0 KB 127 2025-01-05 11:34:05

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { float x,y; cin >> x; if(x>=0&&x<5) }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:1: error: expected primary-expression before '}' token
 }
 ^
Main.cc:6:13: warning: unused variable 'y' [-Wunused-variable]
     float x,y;
             ^