Main.cc: In function ‘int main()’:
Main.cc:13:16: error: invalid operands of types ‘unsigned int’ and ‘float’ to binary ‘operator%’
S=X%(T*T);}
~^~~~~~
Main.cc:10:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&X);
~~~~~^~~~~~~~~