Compile Error

foo.cc: In function 'int main()':
foo.cc:9:22: error: 'x' was not declared in this scope
    9 |                 cin>>x;if(x>m)m=x;
      |                      ^
foo.cc:6:15: warning: unused variable 'c' [-Wunused-variable]
    6 |         int n,c,m=-99999;cin>>n;
      |               ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1775 求最大数
语言
C++
递交时间
2022-08-14 20:32:42
评测时间
2022-08-14 20:32:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes