QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#427292 | #8774. Manhattan Walk | ucup-team3552# | Compile Error | / | / | C++14 | 735b | 2024-06-01 12:01:00 | 2024-06-01 12:01:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:9: error: ‘xr’ does not name a type 1 | xr=(xr<<3)+(xr<<1)+(cr^48),cr=getchar(); | ^~ answer.code:2:5: error: expected unqualified-id before ‘return’ 2 | return xr*F; | ^~~~~~ answer.code:3:1: error: expected declaration before ‘}’ token 3 | } | ^ answer.code: In function ‘int main()’: answer.code:9:7: error: ‘read’ was not declared in this scope 9 | n=read(),m=read(),p=read(); | ^~~~ answer.code:17:21: error: ‘swap’ was not declared in this scope 17 | if(x>y) swap(x,y); | ^~~~ answer.code:18:26: error: ‘min’ was not declared in this scope; did you mean ‘main’? 18 | f[i][j]+=0.5*min(x,y); | ^~~ | main answer.code:24:5: error: ‘printf’ was not declared in this scope 24 | printf("%.9lf\n",f[n][m]); | ^~~~~~ answer.code:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? +++ |+#include <cstdio> 1 | xr=(xr<<3)+(xr<<1)+(cr^48),cr=getchar();