#4633: WA line :4


CANUOVRX (洨肯)


#include<iostream>
using namespace std;
int main(){
    char x[10000];
    for (int j=0;j<10000;j++) x[j]= '\0';
    while(cin.getline(x,10000)){
        int total =0;
        for (int i=0;i<10000;i++){
            if (x[i]>=48 && x[i]<=57){
               total = total + int(x[i]) - 48;
            }
        }
        if (total%3== 0) cout<<"yes"<<endl;
        else cout<<"no"<<endl;             
    } 
}
 
我將不是數字的字元都忽略了
自己測試都可以說...
想請問有辦法知道他的測資嗎? 

#4635: Re:WA line :4


asas (向諸神與地雷醬獻上祈禱)


321

3

你可以試試這個測資....

應該要輸出 

yes

yes 

 

努力的debug吧= ="