QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#500281 | #9162. COVID tests | hyforces# | Compile Error | / | / | C++20 | 2.6kb | 2024-08-01 07:35:29 | 2024-08-01 07:35:29 |
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:76:19: error: ‘round’ was not declared in this scope 76 | int block=round(max(1.0,min(n+1.0,0.7/P))); | ^~~~~ answer.code: In function ‘bool test_students(std::vector<bool>)’: answer.code:29:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 29 | scanf(" %c", &answer); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:83:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | scanf("%d %lf %d", &n, &P, &T); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:99:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | scanf(" %c", &verdict); | ~~~~~^~~~~~~~~~~~~~~~~