C++中 for (int i = 1; i <= n; i++){ a[i] <?= a[i - 1]; } 什么意思? 什么功能???求解??

for (int i = 1; i <= n; i++){ a[i] <?= a[i - 1]; }

这是数组中遍历的判断,判断数组中前一项是否比后一项大,这里不是<?=,直接就<=追问

并不是。
就是a[i] <?= a[i - 1]
你可以自己实验
我做题时突然想起在哪里见过这个
但是又忘了
但是题对了。

追答

度娘给的结果:抱歉,您输入的内容“<?=”不在查询范围内。,无能为力了

温馨提示:内容为网友见解,仅供参考
第1个回答  2016-01-11
Fire is a natural thing.On the one hand,it's the friend of us human beings.We use it corretly,it is safe.It helps us do many things.It brings us brightness and warmth.We can say we can't live without fire.Or there is no life if there is no fire on the earth.On the other hand,if we use it incorrectly,it may cause fire and bring us disaster.Fire can make us happy or sad.It can bring us safety or danger.So here are some suggestions:Don't play fire at anytime or anywhere!Every kind of playing fire is dangerous.If fire happens,call 119 or the fire department.Be sure to do this after you get out of the building.When we are in a fire,first of all,we should keep silent.Don't be so nervous that we will do something terrible.We may take a deep breathe and then find the way to save ourselves carefully.We can't jump out of the windows unless there is not another way to get out because it's too dangerous.We need a piece of wet paper to cover our nose and mouth to help keep off the thick smoke.If your clothing catches fire,remember to drop to the ground.In a word,More safely we use fire,more dangerous we will avoid.
第2个回答  2011-09-26
<?=没有这种写法追问

留邮箱吧

第3个回答  2011-09-26
速度追问

= =、

追答

呵呵干嘛?

相似回答