#15407: 要怎麼改才會過?


071009@hchs.kh.edu.tw (張簡雲翔)


#include<iostream>
using namespace std;
int main()
{
int x,y;
cin >>x;
cin>>y;
cout<<x+y;
return 0;
}

#15408: Re:要怎麼改才會過?


ufve0704 (爬 我爬 我爬爬爬 有排行榜這種東西就是要爬 爬過我上面的那...)


#include
using namespace std;
int main()
{
int x,y;

while(1){
cin >>x;
cin>>y;
cout<<x+y;
return 0;

}
}

無限迴圈


#15409: Re:要怎麼改才會過?


ufve0704 (爬 我爬 我爬爬爬 有排行榜這種東西就是要爬 爬過我上面的那...)


#include
using namespace std;
int main()
{
int x,y;

while(1){
cin >>x;
cin>>y;
cout<<x+y;

}
}

無限迴圈


no return 0;