Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157331 王建涵 02三个数相乘 C++ Compile Error 0 MS 0 KB 141 2026-07-22 16:36:05

Tests(0/0):


Code:

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


Run Info:

Main.cc:2:7: error: expected nested-name-specifier before 'anmespacestd'
 using anmespacestd;
       ^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>a>>b>>c>>d>>;
     ^
Main.cc:5:5: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
Main.cc:5:16: error: 'c' was not declared in this scope
     cin>>a>>b>>c>>d>>;
                ^
Main.cc:5:19: error: 'd' was not declared in this scope
     cin>>a>>b>>c>>d>>;
                   ^
Main.cc:5:22: error: expected primary-expression before ';' token
     cin>>a>>b>>c>>d>>;
                      ^
Main.cc:6:5: error: 'cout' was not declared in this scope
     cout<<(c*10+d)/(a*10+b)<& __os)
     ^
Main.cc:7:1: error: 'returh' was not declared in this scope
 returh 0;
 ^