记录详情

Compile Error

foo.cc:2:2: error: invalid preprocessing directive #incude; did you mean #include?
 #incude <cstdio>
  ^~~~~~
  include
foo.cc:4:7: error: expected nested-name-specifier before 'namepace'
 using namepace std;
       ^~~~~~~~
foo.cc: In function 'int main()':
foo.cc:10:2: error: 'cin' was not declared in this scope
  cin >> n >> m;
  ^~~
foo.cc:10:2: note: suggested alternative:
In file included from foo.cc:1:0:
/usr/include/c++/7/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^~~
foo.cc:11:2: error: 'c' was not declared in this scope
  c = m * 0.8;
  ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
p1008 zz1141:小明买图书 (第39页实例)
语言
C++
递交时间
2021-11-26 20:47:01
评测时间
2021-11-26 20:47:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes