QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#515033 | #51. Tiling | ZhaoZiLong | Compile Error | / | / | C++98 | 513b | 2024-08-11 14:41:11 | 2024-08-11 14:41:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:2:7: error: expected nested-name-specifier before ‘ll’ 2 | using ll = unsigned long long ; | ^~ answer.code:9:7: error: ‘ll’ does not name a type; did you mean ‘all’? 9 | const ll x=1005,m=1e9+7; | ^~ | all answer.code:10:8: error: ‘ll’ was not declared in this scope; did you mean ‘all’? 10 | vector<ll>fibo(x,1),f(x,1); | ^~ | all answer.code:10:10: error: template argument 1 is invalid 10 | vector<ll>fibo(x,1),f(x,1); | ^ answer.code:10:10: error: template argument 2 is invalid answer.code:10:16: error: ‘x’ was not declared in this scope 10 | vector<ll>fibo(x,1),f(x,1); | ^ answer.code:10:19: error: expression list treated as compound expression in initializer [-fpermissive] 10 | vector<ll>fibo(x,1),f(x,1); | ^ answer.code:10:23: error: ‘x’ was not declared in this scope 10 | vector<ll>fibo(x,1),f(x,1); | ^ answer.code:10:26: error: expression list treated as compound expression in initializer [-fpermissive] 10 | vector<ll>fibo(x,1),f(x,1); | ^ answer.code: In function ‘int main()’: answer.code:14:9: error: ‘ll’ was not declared in this scope; did you mean ‘all’? 14 | ll t,n; | ^~ | all answer.code:15:13: error: invalid types ‘int[int]’ for array subscript 15 | fibo[1]=0; f[1]=1; | ^ answer.code:15:21: error: invalid types ‘int[int]’ for array subscript 15 | fibo[1]=0; f[1]=1; | ^ answer.code:16:13: error: invalid types ‘int[int]’ for array subscript 16 | fibo[2]=3; f[2]=0; | ^ answer.code:16:21: error: invalid types ‘int[int]’ for array subscript 16 | fibo[2]=3; f[2]=0; | ^ answer.code:17:15: error: expected ‘;’ before ‘i’ 17 | for(ll i=3; i<x; i++) { | ^~ | ; answer.code:17:21: error: ‘i’ was not declared in this scope 17 | for(ll i=3; i<x; i++) { | ^ answer.code:17:23: error: ‘x’ was not declared in this scope 17 | for(ll i=3; i<x; i++) { | ^ answer.code:18:46: error: ‘m’ was not declared in this scope; did you mean ‘tm’? 18 | fibo[i]=(2*f[i-1]+fibo[i-2])%m; | ^ | tm answer.code:21:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 21 | cin>>n; | ^ | yn