Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138944 岑思烁 15几个数字组成 C++ Compile Error 0 MS 0 KB 143 2025-11-30 12:25:30

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a; while(a!=0){ a=a/10 } a++; cout<<a; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:2: error: expected ';' before '}' token
  }
  ^
Main.cc:4:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b;
        ^