Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
96063 钱恩浩 02买铅笔 C++ Compile Error 0 MS 0 KB 152 2024-11-02 18:24:27

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:4: error: 'a' was not declared in this scope
    a,b,c,d;
    ^
Main.cc:4:6: error: 'b' was not declared in this scope
    a,b,c,d;
      ^
Main.cc:4:8: error: 'c' was not declared in this scope
    a,b,c,d;
        ^
Main.cc:4:10: error: 'd' was not declared in this scope
    a,b,c,d;
          ^