QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#328792 | #837. Giant Penguin | Milmon | Compile Error | / | / | C++17 | 5.1kb | 2024-02-16 06:43:07 | 2024-02-16 06:43:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void divide(int, int)’: answer.code:98:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>’ [-Wformat=] 98 | fprintf(stderr,"%d\n",tar); | ~^ | | | int answer.code: In function ‘int main()’: answer.code:143:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 143 | return; | ^~~~~~ answer.code:134:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 134 | scanf("%d%d%d",&n,&m,&k); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:137:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 137 | scanf("%d%d",&u,&v); | ~~~~~^~~~~~~~~~~~~~ answer.code:149:17: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 149 | int q; scanf("%d",&q); | ~~~~~^~~~~~~~~ answer.code:153:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 153 | scanf("%d%d",&t,&u); | ~~~~~^~~~~~~~~~~~~~