关于__int 128 的读入与输出
2024-08-29 04:39:42
inline __int128 read()
{
int X=,w=; char ch=;
while(!isdigit(ch)) {w|=ch=='-';ch=getchar();}
while(isdigit(ch)) X=(X<<)+(X<<)+(ch^),ch=getchar();
return w?-X:X;
}
inline void print(__int128 x)
{
if(x<){putchar('-');x=-x;}
if(x>) print(x/);
putchar(x%+'');
}
最新文章
- Mac地址
- [WPF系列]-TreeView的常用事项
- tyvj1098 任务安排
- WP8 MediaElement 实现循环播放
- C++的函数名重载
- 链表操作----将单链表向右旋转 K 个位置
- ASP.net MVC3 报错";未找到视图“Index”或其母版视图,或没有视图引擎支持搜索的位置 ";的解决方法
- SVN补充
- Mybatis案例
- HDU-1009(简单贪心)
- collectionViewFlow的界面编写
- Monkey log分析说明
- 通过代码设置radiobutton不同方位图标的两种方法
- POJ 2446 Chessboard
- Qt 操作 pdf 文件
- springmvc(四) springmvc的数据校验的实现
- 开源项目Druid的提取SQL模板
- linux查看空间情况----df与du命令
- python中的顺序表
- F - Unix ls
热门文章
- Elasticsearch运维经验总结
- 【IntelliJ IDEA学习之三】IntelliJ IDEA常用快捷键
- 【python学习案例】python判断自身是否正在运行
- in 和 exists的区别
- Atlassian JIRA 插件开发之一 环境搭建
- 认识一下microbit扩展板robotbit
- Faker伪数据生成
- 『线段树及扫描线算法 Atlantis』
- linux启动tomcat很久或者很慢Tomcat启动时卡在“INFO: Deploying web application directory ......”的解决方法
- 关于Svn服务总是链接异常