Main.cc: In function 'bool s(int)':
Main.cc:11:18: error: 'ture' was not declared in this scope
return ture;
^
Main.cc: In function 'int main()':
Main.cc:25:1: error: expected '}' at end of input
}
^
Main.cc:17:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^