Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78183 陈前 15几个数字组成 C++ Compile Error 0 MS 0 KB 157 2024-06-16 15:49:00

Tests(0/0):


Code:

# include<iostream> using namespace std; int main(){ int a,s,w=0; cin>>a; while(a){ s=a%10; w++; a/=10; } cout<<w; return 0 }


Run Info:

Main.cc: In function 'int main()':
Main.cc:15:1: error: expected ';' before '}' token
 }
 ^