Compile Error

foo.cc:5:22: error: '_TCHAR' has not been declared
    5 | int _tmain(int argc, _TCHAR* argv[])
      |                      ^~~~~~
foo.cc: In function 'int _tmain(int, int**)':
foo.cc:23:20: error: expected '}' at end of input
   23 |     system("pause");
      |                    ^
foo.cc:6:1: note: to match this '{'
    6 | {
      | ^
foo.cc:23:20: warning: no return statement in function returning non-void [-Wreturn-type]
   23 |     system("pause");
      |                    ^
foo.cc:23:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
   23 |     system("pause");
      |     ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1063 球反弹高度(1)
语言
C++
递交时间
2022-07-12 22:31:58
评测时间
2022-07-12 22:31:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes