#12959: 為什麼 WA:line 1


timmy940410 (遊艇)


查看程式碼 #3538835

d764. 10606 - Opening Doors -- UVa10606
#include<iostream>
using namespace std;
int main(){
	long long int x;
	while(cin>>x){
		if(x>0){
			long long int y,i,j;
			for(i=1;i*i<=x;i=i+1){
				for(j=i;j*j<=x;j=j+1){
					y=i*j;
				}
			}
			cout<<y<<endl;
		}else{
			return 0;
		}
	}
}
Close
CPP

 

#12960: Re:為什麼 WA:line 1


anandrewboy70900 (ShowTsai)


100位數 




#38685: Re: 為什麼 WA:line 1


hshua (hshua)


100位數 

???? 啥意思?




#38686: Re: 為什麼 WA:line 1


hshua (hshua)


100位數 

???? 啥意思?


原來是題目的範圍打錯了!
1<= N <= 10^100