Mã chấm: 268731
Main.cc: In function ‘int main()’: Main.cc:11:15: error: invalid operands of types ‘__gnu_cxx::__enable_if::__type {aka double}’ and ‘int’ to binary ‘operator%’ T=(sqrt(X)%1); ~~~~~~~^~ 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); ~~~~~^~~~~~~~~