Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113659 王镜铭 02买铅笔 C++ Compile Error 0 MS 0 KB 182 2025-03-16 12:12:24

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long a,c,e; double b,d, cin>>a>>b>>c>>d, b=b/10; d=d/10; e=(a+b)/(c+d); cout<<e; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:8: error: expected initializer before '>>' token
     cin>>a>>b>>c>>d,
        ^