记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:11:14: error: invalid operands of types '__gnu_cxx::__enable_if<true, double>::__type {aka double}' and 'int' to binary 'operator%'
   if(sqrt(ii)%2==0&&sqrt(ii)%3==0)
      ~~~~~~~~^~
foo.cc:11:29: error: invalid operands of types '__gnu_cxx::__enable_if<true, double>::__type {aka double}' and 'int' to binary 'operator%'
   if(sqrt(ii)%2==0&&sqrt(ii)%3==0)
                     ~~~~~~~~^~
foo.cc:6:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  int min,max;scanf("%d%d",&min,&max);
              ~~~~~^~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
完全平方数的个数
语言
C++
递交时间
2021-03-04 19:23:59
评测时间
2021-03-04 19:23:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes