| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155998 | 解禾溪 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 385 | 2026-06-19 19:01:17 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; if(a=1&&a=3&&a=5){ cout<<"NO"; } else{ cout<<"yes"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:10:19: error: lvalue required as left operand of assignment
if(a=1&&a=3&&a=5){
^