0_0_39663614_6172.cpp:11:1: error: 'deque' does not name a type
11 | deque<int>q;
| ^~~~~
0_0_39663614_6172.cpp: In function 'int main()':
0_0_39663614_6172.cpp:14:9: error: 'scanf' was not declared in this scope
14 | scanf("%lld",&t);
| ^~~~~
0_0_39663614_6172.cpp:16:17: error: 'q' was not declared in this scope
16 | q.clear();
| ^
0_0_39663614_6172.cpp:17:17: error: 'memset' was not declared in this scope
17 | memset(dp,0,sizeof(dp));
| ^~~~~~
0_0_39663614_6172.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | #define int long long
0_0_39663614_6172.cpp:22:17: error: 'sort' was not declared in this scope; did you mean 'short'?
22 | sort(pre+1,pre+n+1,cmp);
| ^~~~
| short
0_0_39663614_6172.cpp:33:17: error: 'printf' was not declared in this scope
33 | printf("Case %lld: %lld\n",Case,ans);
| ^~~~~~
0_0_39663614_6172.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #define int long long
|