Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138862 汤子杨 02买铅笔 C++ Compile Error 0 MS 0 KB 130 2025-11-30 11:44:52

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:15: error: expected primary-expression before ',' token
     int a,b,c;,d
               ^
Main.cc:5:16: error: 'd' was not declared in this scope
     int a,b,c;,d
                ^