Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
103039 | 饶惟允 | 02三个数相乘 | C++ | Compile Error | 0 MS | 0 KB | 329 | 2024-12-28 10:34:27 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int x,y,z; cin >>x>>y; a=2*3*4; cout<<a; return 0; }
Main.cc: In function 'int main()': Main.cc:10:5: error: 'a' was not declared in this scope a=2*3*4; ^ Main.cc:8:13: warning: unused variable 'z' [-Wunused-variable] int x,y,z; ^