Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95775 | 刘宇帆 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 219 | 2024-11-02 10:51:24 |
#include<bits/stdc++.h> using namespace std; int main(){ float a,s,d,AI; cin>>a,; cin>>d,; cin>>s,; if(a>s){ a=AI; }else{ s=AI; } if(AI<d){ cout<<d; }else{ cout<<AI; } return 0; }
Main.cc: In function 'int main()': Main.cc:5:9: error: expected primary-expression before ';' token cin>>a,; ^ Main.cc:6:9: error: expected primary-expression before ';' token cin>>d,; ^ Main.cc:7:9: error: expected primary-expression before ';' token cin>>s,; ^