#11863: c++ 這是哪裡錯押(哭)?


terry195766 (yut)


#include<iostream>
int main(){
int a, b;
a<1000000,b<1000000;
while(true){
std::cin>>a>>b;
std::cout << a+b<<std::endl;
}
return 0;
}

#11875: Re:c++ 這是哪裡錯押(哭)?


nkavengertree (LaG)


#include
int main(){
int a, b;
a<1000000,b<1000000;
while(true){
std::cin>>a>>b;
std::cout << a+b<<std::endl;
}
return 0;
}

 

#include<iostream>

int main(){

int a, b;

a<1000000,b<1000000;

 

//應該是這裡

while(std::cin>>a>>b){

std::cout << a+b<<std::endl;

}

return 0;

}

 

#11876: Re:c++ 這是哪裡錯押(哭)?


Seanwu31652 (Seaninvincible)


#include
int main(){
int a, b;
a<1000000,b<1000000;
while(true){
std::cin>>a>>b;
std::cout << a+b<<std::endl;
}
return 0;
}


笑你