QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#153317 | #6425. Harmonious Rectangle | ZhangYiDe | Compile Error | / | / | C++11 | 1.2kb | 2023-08-29 21:38:55 | 2023-08-29 21:38:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:4:1: error: expected initializer before ‘const’ 4 | const LL mod=1e9+7; | ^~~~~ answer.code:6:1: error: ‘LL’ does not name a type 6 | LL ans[9][9]={0, 0, 0, 0, 0, 0, 0, 0, 0, | ^~ answer.code:16:1: error: ‘LL’ does not name a type 16 | LL fastpow(LL a,LL n,LL mod) | ^~ answer.code: In function ‘int main()’: answer.code:40:59: error: ‘mod’ was not declared in this scope; did you mean ‘modf’? 40 | printf("%lld\n",fastpow(3,1ll*n*m,mod));//???? | ^~~ | modf answer.code:40:41: error: ‘fastpow’ was not declared in this scope 40 | printf("%lld\n",fastpow(3,1ll*n*m,mod));//???? | ^~~~~~~ answer.code:44:41: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 44 | printf("%lld\n",ans[n-1][m-1]%mod);//???? | ^~~ | abs answer.code:44:55: error: ‘mod’ was not declared in this scope; did you mean ‘modf’? 44 | printf("%lld\n",ans[n-1][m-1]%mod);//???? | ^~~ | modf answer.code:30:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 30 | scanf("%d",&t); | ~~~~~^~~~~~~~~ answer.code:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 33 | scanf("%d%d",&n,&m); | ~~~~~^~~~~~~~~~~~~~