Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122143 白碣琨 按班分组 C++ Compile Error 0 MS 0 KB 208 2025-06-14 12:37:09

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main (){ int a,b; cin>>a>>b; b=a while(b>=1){ if(n % s ==0){ cout<<b; return 0; } } s--; } cout<<endl; return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:2: error: expected ';' before 'while'
  while(b>=1){
  ^
Main.cc:20:10: error: expected '}' at end of input
  return 0;
          ^