/ WHOJ /

记录详情

Compile Error

foo.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>n;
      |     ^~~
foo.cc:7:7: error: 'sqrt' was not declared in this scope
    7 |     b=sqrt(n);
      |       ^~~~
foo.cc:27:13: error: 'cout' was not declared in this scope
   27 |             cout<<sum<<endl;
      |             ^~~~
foo.cc:27:24: error: 'endl' was not declared in this scope
   27 |             cout<<sum<<endl;
      |                        ^~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1140 【模板】数列分块入门 4
题目数据
下载
语言
C++
递交时间
2022-04-23 22:08:46
评测时间
2022-04-23 23:00:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes