。。。為什么不能提交成功
{
? ? ? ? ? ? int high=0;
? ? ? ? ? ? int i=0;
? ? ? ? ? ? string []student=new string[]{"吳松","錢東宇","伏晨","陳陸","周蕊","林日鵬","何昆","關(guān)欣"};
? ? ? ? ? ? int []score=new int[]{89,90,98,56,60,91,93,85};
? ? ? ? ? ? for(int x=0;x<score.Length;x++){
? ? ? ? ? ? ? ? if(score[x]>high){
? ? ? ? ? ? ? ? ? ? high=score[x];
? ? ? ? ? ? ? ? ? ? i=x;
? ? ? ? ? ? ? ? }
? ? ? ? ? ? }
? ? ? ? ? ? Console.WriteLine("分數(shù)最高的是"+student[i]+",分數(shù)是"+score[i]);
? ? ? ? }
2016-05-24
我擦,我的代碼思路和你一樣,然后一直不能通過,原來是標點符號......有毒啊
2016-10-19
因為標點符號提交了5,6遍。。。。。代碼有毒?。?!
2016-04-26
把分數(shù)是前面的逗號改為中文逗號。
Console.WriteLine("分數(shù)最高的是"+student[i]+",分數(shù)是"+score[i]);