Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104941 | 谭景年 | 03七巧板 | C++ | Compile Error | 0 MS | 0 KB | 334 | 2025-01-11 20:13:20 |
#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(){ float a; cin a; float b; cin b; cout<<b*a; return 0; }
Main.cc: In function 'int main()': Main.cc:8:9: error: expected ';' before 'a' cin a; ^ Main.cc:8:10: warning: statement has no effect [-Wunused-value] cin a; ^ Main.cc:10:9: error: expected ';' before 'b' cin b; ^ Main.cc:10:10: warning: statement has no effect [-Wunused-value] cin b; ^