Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7972 余立涵 满足条件四位数的个数 C++ Compile Error 0 MS 0 KB 148 2025-05-31 20:05:34

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,s,d,f,g h; cin>>a>>s>>d>>f>>g>>h; cout<<"3"<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:19: error: expected initializer before 'h'
     int a,s,d,f,g h;
                   ^
Main.cc:5:22: error: 'g' was not declared in this scope
     cin>>a>>s>>d>>f>>g>>h;
                      ^
Main.cc:5:25: error: 'h' was not declared in this scope
     cin>>a>>s>>d>>f>>g>>h;
                         ^