Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95776 | 刘宇帆 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 200 | 2024-11-02 10:52:54 |
#include<bits/stdc++.h> using namespace std; int main(){ float a,s,d,AI; cin>>a,b,c; 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: 'b' was not declared in this scope cin>>a,b,c; ^ Main.cc:5:11: error: 'c' was not declared in this scope cin>>a,b,c; ^