QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#506998 | #9162. COVID tests | hyforces | Compile Error | / | / | C++20 | 3.0kb | 2024-08-06 06:47:16 | 2024-08-06 06:47:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::vector<bool> find_positive()’: answer.code:78:52: error: ‘p’ was not declared in this scope 78 | if(fabs(block-0.104571)<0.00001)block=int(0.75/p); | ^ answer.code: In function ‘bool test_students(std::vector<bool>)’: answer.code:27:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | scanf(" %c", &answer); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:89:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 89 | scanf("%d %lf %d", &n, &P, &T); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:117:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | scanf(" %c", &verdict); | ~~~~~^~~~~~~~~~~~~~~~~