define long long int
时间: 2023-10-16 17:07:26 浏览: 240
在给定的代码中,使用了宏定义将int类型定义为long long类型。这意味着在代码中使用的int类型实际上是long long类型。这样做的目的是为了扩大int类型的取值范围,使其能够表示更大的整数。在这种情况下,主函数也需要变成signed main(),因为在没有这个定义的情况下,signed int = signed = int,所以int main() = signed main() = signed int main(),但是由于有了这个定义,int不再是int而是long long类型。\[1\]
#### 引用[.reference_title]
- *1* [【算法练习】打表问题,补充了打表,map头文件的用法和#define int long long](https://blog.csdn.net/Warddamn/article/details/109827551)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Linux基本数据类型大小——int,char,long int,long long int](https://blog.csdn.net/weixin_35941169/article/details/112946221)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文