Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115665 | 何旻慧 | 05买水果 | C++ | Compile Error | 0 MS | 0 KB | 315 | 2025-04-02 18:53:39 |
#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(){ double(8+5+12)/3; scanf("%.3lf",&a); return 0; }
Main.cc: In function 'int main()': Main.cc:8:21: warning: statement has no effect [-Wunused-value] double(8+5+12)/3; ^ Main.cc:9:20: error: 'a' was not declared in this scope scanf("%.3lf",&a); ^