求q的范围

P4387 【深基15.习9】验证栈序列

iterator_traits @ 2022-12-05 13:32:04

rt


by AcxxMz @ 2022-12-05 13:36:28

stack<int>q;

第一篇题解


by iterator_traits @ 2022-12-05 13:52:09

嗯...q在题目里好像指的是数据组数吧


by diamond_153 @ 2022-12-05 14:03:43

@iterator_traits 5.

int q
cin>>q;
cout<<(char)q<<endl;

记录中若 char 没爆会出现 read (ASCII xxx) ,根据 xxx 这个数字判断就行了。

记录


by iterator_traits @ 2022-12-05 14:11:44

@diamond_153 谢谢大佬!


by a2lyaXNhbWUgbWFyaXNh @ 2022-12-05 17:24:27

不需要知道这个吧


|