QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#500328 | #9162. COVID tests | hyforces# | Compile Error | / | / | C++20 | 2.7kb | 2024-08-01 09:49:24 | 2024-08-01 09:49:26 |
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:75:21: error: ‘p’ was not declared in this scope 75 | tp*=p; | ^ answer.code:80:20: error: ‘tp’ was not declared in this scope; did you mean ‘tm’? 80 | if(abs(0.5-tp/p)<abs(0.5-tp)&&block>1)--block; | ^~ | tm answer.code:80:23: error: ‘p’ was not declared in this scope 80 | if(abs(0.5-tp/p)<abs(0.5-tp)&&block>1)--block; | ^ answer.code: In function ‘bool test_students(std::vector<bool>)’: answer.code:26:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 26 | scanf(" %c", &answer); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:87:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | scanf("%d %lf %d", &n, &P, &T); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:103:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | scanf(" %c", &verdict); | ~~~~~^~~~~~~~~~~~~~~~~