| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69489 | 邓嘉懿 | 按班分组 | C++ | Compile Error | 0 MS | 0 KB | 156 | 2024-04-05 11:36:58 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; while(a%!=0){ int y=a%b; a=b; b=y; } cout<<b; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:10: error: expected primary-expression before '!=' token
while(a%!=0){
^