Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

HELP!Dev-C++上,跑通了。但是POJ上怎么都通过不了

Posted by taoliangyue at 2016-04-23 09:00:30 on Problem 2368
#include <stdio.h>
#include <stdlib.h>

int main(){
	int k,i;
	scanf("%d",&k);
	for(i=3;k%i!=0;++i);
		printf("%d",i-1);
}
Dev-C++上,跑通了。但是POJ上怎么都通过不了,跪求大神帮忙看看。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator