Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69487 邓嘉懿 按班分组 C++ Compile Error 0 MS 0 KB 155 2024-04-05 11:36:05

Tests(0/0):


Code:

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; }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include
 ^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
  cin>>a>>b;
  ^
Main.cc:6:10: error: expected primary-expression before '!=' token
  while(a%!=0){
          ^
Main.cc:11:2: error: 'cout' was not declared in this scope
  cout<