Compile Error
foo.cpp:1:1: error: 'include' does not name a type include <iostream> include <stdio.h> ^~~~~~~ foo.cpp: In function 'int main()': foo.cpp:8:18: error: 'scanf' was not declared in this scope scanf( "%d" , &t ); ^ foo.cpp:12:1: error: 'cout' was not declared in this scope cout << ( n - x ) * x << ".0000" << endl; ^~~~ foo.cpp:12:37: error: 'endl' was not declared in this scope cout << ( n - x ) * x << ".0000" << endl; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1934 属于她的幸福
- 语言
- C++
- 递交时间
- 2017-01-22 14:31:41
- 评测时间
- 2017-01-22 14:31:42
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes