跳到正文

hlwdy

218794

稻花香里说丰年,听取WA声一片;黄梅时节家家雨,青草池塘处处WA。||https://blog.hlwdy.top

在洛谷打开
资料、奖项与版本

资料

编号
218794
抓取

AFO

Accepted\small\colorbox{#5EB95E}{\color{#fff}{Accepted}} Unaccepted\small\colorbox{#E74C3C}{\color{#fff}{Unaccepted}} Judging\small\colorbox{#0E90D2}{\color{#fff}{Judging}} Unshown\small\colorbox{#000000}{\color{#fff}{Unshown}} Compile Error\small\colorbox{#FADB14}{\color{#fff}{Compile Error}}

༺༺AK༒OI༻༻

TLE\small\colorbox{#052242}{\color{#fff}{TLE}} MLE\small\colorbox{#052242}{\color{#fff}{MLE}} OLE\small\colorbox{#052242}{\color{#fff}{OLE}} UKE\small\colorbox{#052242}{\color{#fff}{UKE}} RE\small\colorbox{#9D3DCF}{\color{#fff}{RE}}

题解请查看我的博客 (My Blog www.luogu.org/blog/hlwdyck
本人自主开发的在线IDE (An online ide developed by myself: hlwdyblog.tk/ide

自创题目

Self created problems
题目名称(Name题目编号(ID标签(Tags
子段和U135456前缀和+递推
吃蛋糕U127188有向图+搜索+剪枝+高精度
计算器 (加强升级版)U123566栈+模拟+高精度
圆周率的倍数U86919高精度
C++编译器U89970分类+模拟+字符串
算术平方根U90088字符串+高精度+二分
找数字U90286dfs+枚举+剪枝
计算器U90590栈+模拟
代码
2019.6.25 注册该账号,原号(2018-11-17注册)迁移
2019.11.5 红题全部刷完
2020.3.8 新的红题又来了
2020.3.19 新博客搭建全面完成
2020.7.18 开发在线IDE
2020.7.21 红题再次刷完
2020.8.12 你已经在洛谷连续打卡了 99 天
2020.8.13 你已经在洛谷连续打卡了 100 天
2020.8.31 你已经在洛谷连续打卡了 118 天
2020.12.25 你已经在洛谷连续打卡了 201 天 & 圣诞节
2021.2.17 你已经在洛谷连续打卡了 250 天
2021.4.8 你已经在洛谷连续打卡了 300 天
2021.6.12 你已经在洛谷连续打卡了 365 天
2021.7.13 全程关注B站未知原因崩溃
2021.7.17 提交量达到1k
2021.7.18 你已经在洛谷连续打卡了 400 天
2021.7.20 你已经在洛谷连续打卡了 404 天
2021.8.29 你已经在洛谷连续打卡了 424 天
2021.8.30 开学报道,开始掉连续签到
2022.10.25 AH CSP复赛取消
2022.10.28 通过666题
2022.11.25 The END:NOIP2022前夜
2022.11.26 你已经在洛谷连续打卡了 493 天 & AFO

数据不清空,爆零两行泪。边界不特判,爆零两行泪。贪心不证明,爆零两行泪。动规顺序错,爆零两行泪。大于少等号,爆零两行泪。暴力出奇迹,骗分过样例。暴力碾标算,N 方过百万。数学先打表,DP看运气。穷举TLE ,递推UKE。模拟MLE ,贪心还CE。想要骗到分,就要有方法。图论背模板,数论背公式。动规背方程,高精背代码。拟退背参数,二分背边界。如果都没背,干脆输样例。打表加暴力,再来随机数。手抖交代码,听取WA声一片。

If the data is not cleared, the result may be zero and you will cry. If you don’t judge the boundary, the result may be zero and you will cry. If the greed is not proved, the result may be zero and you will also cry. You will probably cry because of the wrong sequence of dynamic programming. You must cry if you write a greater-than-equal sign as a greater than sign. Violence makes miracles and making the result consistent with the examples can help you defraud score. Violence crushes the standard calculation and the square of N is greater than one million. First of all, use arrays to store data, then it’s all luck to use DP. The enumeration leads to TLE and the recursion leads to UKE. The simulation leads to MLE and the greedy leads to CE. If you want to defraud points, you have to have a way. Remember the template of graph theory and the formula of number theory. Remember the equation of dynamic programming and the code of high precision operation. Remember the parameters of simulated annealing and the boundary of dichotomy. If you don’t remember, just input the sample. Use arrays to store data and use violence ways. Take random number. Hand shaking so that submitted code, listen to WA sound.

AC=Answer Coarse=粗劣的答案
WA=Wonderful Answer=好答案
TLE=Time Limit Enough=时间充裕
MLE=Memory Limit Enough=内存充裕
CE=Compile Easily=轻松通过编译
RE=Run Excellently=完美运行
UKE=Unbelievably Keeping Enough Score=难以置信地保持足够的分数
AU=All Unaccepted=全都不正确

原主页

稻花香里说丰年,听取WA声一片;黄梅时节家家雨,青草池塘处处WA。
The ricefields’ sweet smell promises a bumper year, and you can hear the sound of WA; In the yellow plum season, rainfall on house after house, and the pond is full of WA.
共 1 篇
  1. 个人记录

    U89970题解

    该代码实现了一个简化版的程序分析器,主要功能如下: 核心逻辑 检测死循环语句(如while(1)或for(;;)),若存在则标记为TLE(超时) 解析变量定义语句(如int a,b;),将变量名存入结构体数组bls中 处理cin输入,将变量名记录到cinlist数组以备后续赋值 提取cout输出内容,若为表达式则计算其值,若为字符串则直接输出 更新说明 原输入方式使用getline逐行读取,因洛谷输入格式问题被替换为逐字符读取(通过cin.get()实现) 表达式计算函数jisuan仅支持单符号运算(需自行完善多符号处理逻辑) 输出处理时会自动清理<<endl和endl,字符串需去除引号 运行流程 读取输入直到遇到@符号 若变量输入不全则标记为RE(运行时错误) 最终根据cinlist顺序读取输入值并赋给变量,输出计算结果或错误信息 注:代码存在未完善部分(如多运算符处理、输入格式兼容性等),需根据具体题目要求补充完整。