0_0_39802808_14741.cpp:4:2: error: 'struck' does not name a type; did you mean 'struct'?
4 | struck N
| ^~~~~~
| struct
0_0_39802808_14741.cpp:8:2: error: 'Na' does not name a type
8 | Na[100];
| ^~
0_0_39802808_14741.cpp:12:12: error: 'N' was not declared in this scope
12 | int check(N n1,N n2)
| ^
0_0_39802808_14741.cpp:12:17: error: 'N' was not declared in this scope
12 | int check(N n1,N n2)
| ^
0_0_39802808_14741.cpp:12:21: error: expression list treated as compound expression in initializer [-fpermissive]
12 | int check(N n1,N n2)
| ^
0_0_39802808_14741.cpp: In function 'int main()':
0_0_39802808_14741.cpp:28:25: error: 'a' was not declared in this scope
28 | a[++cnt] = {x,y,z};
| ^
0_0_39802808_14741.cpp:36:42: error: 'a' was not declared in this scope
36 | if(check(a[i],a[j]))
| ^
0_0_39802808_14741.cpp:36:51: error: 'check' cannot be used as a function
36 | if(check(a[i],a[j]))
| ^
0_0_39802808_14741.cpp:42:31: error: 'a' was not declared in this scope
42 | dp[i]=a[i].h;
| ^
0_0_39802808_14741.cpp:51:37: error: 'class std::queue<int>' has no member named 'fromt'; did you mean 'front'?
51 | int cur = q.fromt();
| ^~~~~
| front
0_0_39802808_14741.cpp:55:59: error: 'a' was not declared in this scope
55 | dp[i] = max(dp[i],dp[cur]+a[i].h);
| ^
0_0_39802808_14741.cpp:64:25: error: 'ana' was not declared in this scope; did you mean 'ans'?
64 | cout << ana << endl;
| ^~~
| ans
|