| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70507 | 刘泽熙 | 07a+b>c | C++ | Compile Error | 0 MS | 0 KB | 159 | 2024-04-14 15:12:20 |
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if (b%c=0){ cout << "Yes"; } else {a cout << "No"; } }
Main.cc: In function 'int main()':
Main.cc:7:9: error: lvalue required as left operand of assignment
if (b%c=0){
^
Main.cc:10:3: error: expected ';' before 'cout'
cout << "No";
^
Main.cc:10:15: warning: statement has no effect [-Wunused-value]
cout << "No";
^