Compile Error

foo.cc: In function 'int main()':
foo.cc:5:21: error: expected primary-expression before 'int'
    5 |         cout<<sizeo(int)<<' '<<sizeo(short);
      |                     ^~~
foo.cc:5:15: error: 'sizeo' was not declared in this scope; did you mean 'size_t'?
    5 |         cout<<sizeo(int)<<' '<<sizeo(short);
      |               ^~~~~
      |               size_t
foo.cc:5:38: error: expected primary-expression before 'short'
    5 |         cout<<sizeo(int)<<' '<<sizeo(short);
      |                                      ^~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2300 1.2.1:整型数据类型存储空间大小
语言
C++
递交时间
2023-07-20 21:13:48
评测时间
2023-07-20 21:13:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes