Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131987 王润中 02三个数相乘 C++ Compile Error 0 MS 0 KB 127 2025-10-02 21:18:51

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:10: error: expected initializer before '*' token
     int a*b*c;
          ^
Main.cc:6:10: error: 'a' was not declared in this scope
     cin>>a>>b>>c;
          ^
Main.cc:6:13: error: 'b' was not declared in this scope
     cin>>a>>b>>c;
             ^
Main.cc:6:16: error: 'c' was not declared in this scope
     cin>>a>>b>>c;
                ^