Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71595 伍思语 02买铅笔 C++ Compile Error 0 MS 0 KB 135 2024-04-26 20:27:47

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { int a.b;c.d; cin>>a.b>>c.d; cout<<c.d/a.b; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:9: error: expected initializer before '.' token
    int a.b;c.d;
         ^
Main.cc:5:12: error: 'c' was not declared in this scope
    int a.b;c.d;
            ^
Main.cc:6:10: error: 'a' was not declared in this scope
     cin>>a.b>>c.d;
          ^