Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142713 梁敖铭 02买铅笔 C++ Compile Error 0 MS 0 KB 168 2026-01-11 15:13:00

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; long q1,q2; cin>>a>>b>>c>>d; q1=a+b*10; q=c+d*10; cout<<q2/q1; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'q' was not declared in this scope
     q=c+d*10;
     ^