随笔分类 -  错误提醒

摘要:有可能是一个本应该有返回值的函数没有写return语句造成的,本地能过OJ上就会报段错误。 阅读全文
posted @ 2021-04-29 16:26 脂环 阅读(1102) 评论(0) 推荐(1) 编辑
摘要:Zhang3 a participant of IPhO (Immortal Physics Olympiad). The 0^\mathrm problem in the contest is as follows. There are two balls that weigh a k 阅读全文
posted @ 2020-07-30 20:07 脂环 阅读(277) 评论(0) 推荐(0) 编辑
摘要:0.注意爆int有可能是ans+=(long long)a[x]*b*2;像这种语句如果没加(long long)就会升天。 1.看清数据范围,不开long long见祖宗。 2.不要乱用指针。 3.memset不要乱用,可能会T,同时不要用它初始化double数组等等。 4.每个test case 阅读全文
posted @ 2020-02-15 13:17 脂环 阅读(349) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩