| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
HELP!Dev-C++上,跑通了。但是POJ上怎么都通过不了#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator