Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72177 任星宇 02买铅笔 C++ Compile Error 0 MS 0 KB 199 2024-05-01 11:52:23

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d,; inte,f; cin>>a>>b>>c>>d; e=c*10+b; f=a*10+b; cout<<(c*10+b)/(a*10+b)<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:17: error: expected unqualified-id before ';' token
     int a,b,c,d,;
                 ^
Main.cc:5:5: error: 'inte' was not declared in this scope
     inte,f;
     ^
Main.cc:5:10: error: 'f' was not declared in this scope
     inte,f;
          ^
Main.cc:7:5: error: 'e' was not declared in this scope
     e=c*10+b;
     ^