0_0_28934383_4267.cpp:4:1: error: expected initializer before 'struct'
struct node{
^
0_0_28934383_4267.cpp:6:2: error: 's' does not name a type
}s[1010];
^
0_0_28934383_4267.cpp:7:10: error: 'node' was not declared in this scope
bool cmp(node a,node b){
^
0_0_28934383_4267.cpp:7:17: error: 'node' was not declared in this scope
bool cmp(node a,node b){
^
0_0_28934383_4267.cpp:7:23: error: expression list treated as compound expression in initializer [-fpermissive]
bool cmp(node a,node b){
^
0_0_28934383_4267.cpp:7:24: error: expected ',' or ';' before '{' token
bool cmp(node a,node b){
^
0_0_28934383_4267.cpp: In function 'int main()':
0_0_28934383_4267.cpp:16:2: error: expected ';' before 'while'
while(t--){
^
0_0_28934383_4267.cpp:43:1: error: expected '}' at end of input
}
^
|