/ Vijos /

记录详情

Compile Error

foo.cc: In function 'void mul(int)':
foo.cc:13:14: error: 'sqrt' was not declared in this scope
  for (i=2;i<=sqrt(q)+1;i++)
              ^~~~
foo.cc:13:14: note: suggested alternative: 'qsort'
  for (i=2;i<=sqrt(q)+1;i++)
              ^~~~
              qsort
foo.cc: In function 'void d(int)':
foo.cc:27:19: error: 'sqrt' was not declared in this scope
  for (i = 2; i <= sqrt(q) + 1; i++)
                   ^~~~
foo.cc:27:19: note: suggested alternative: 'qsort'
  for (i = 2; i <= sqrt(q) + 1; i++)
                   ^~~~
                   qsort
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1156 猩猩散步
语言
C++
递交时间
2021-09-20 18:22:30
评测时间
2021-09-20 18:22:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes