QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#619321 | #8242. V-Diagram | HuangHanSheng | Compile Error | / | / | C++98 | 474b | 2024-10-07 13:52:36 | 2024-10-07 13:52:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:27:5: error: ‘printf’ was not declared in this scope 27 | printf("%.10lf\n",sum/x);} | ^~~~~~ answer.code:2:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 1 | #include <iostream> +++ |+#include <cstdio> 2 | using namespace std;