Compile Error
foo.cpp: In function 'int main()': foo.cpp:4:1: error: 'cin' was not declared in this scope cin>>n; ^ foo.cpp:5:20: error: 'sqrt' was not declared in this scope for (i=2;i<=sqrt (n);i++){ ^ foo.cpp:6:14: error: 'cout' was not declared in this scope if (n%i==0){ cout<<n/i; return 0; } } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1786 质因数分解
- 语言
- C++
- 递交时间
- 2014-11-10 13:42:22
- 评测时间
- 2014-11-10 13:42:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes