Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132064 芦睿霖 02三个数相乘 C++ Compile Error 0 MS 0 KB 139 2025-10-05 10:39:19

Tests(0/0):


Code:

#include <iostream> using namepace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<a*b*c; return 0; }


Run Info:

Main.cc:2:7: error: expected nested-name-specifier before 'namepace'
 using namepace std;
       ^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
  cin>>a>>b>>c;
  ^
Main.cc:5:2: 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:6:2: error: 'cout' was not declared in this scope
  cout<