| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 66050 | 袁嘉蔓 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 192 | 2024-03-02 11:33:35 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,s,d; cin>>a>>s>>d; if(a>s){ t=a; }else{ t=s; } if(d>t){ cout<<d; }else{ cout<<t; } return 0; }
Main.cc: In function 'int main()':
Main.cc:7:3: error: 't' was not declared in this scope
t=a;
^
Main.cc:9:3: error: 't' was not declared in this scope
t=s;
^
Main.cc:11:7: error: 't' was not declared in this scope
if(d>t){
^