Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87948 徐文杰 02三个数相乘 C++ Compile Error 0 MS 0 KB 148 2024-08-16 15:03:35

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:10: error: 'a' was not declared in this scope
     cin>>a>>b>>c;              
          ^
Main.cc:5:13: error: 'b' was not declared in this scope
     cin>>a>>b>>c;              
             ^
Main.cc:5:16: error: 'c' was not declared in this scope
     cin>>a>>b>>c;              
                ^
Main.cc:4:9: warning: unused variable 'abc' [-Wunused-variable]
     int abc;
         ^