[Login|Register]
New post

Show post

Search forum

Read post
Re:what's wrong [ Topic ] 2011-07-22 12:56:20 sadhen
我的意思是不知道这个函数有没有写错。题目应该是看懂了。
int isit(long n){
    long a;
    a=(long ) sqrt(n);
    if(a*a==n)
        return 1;
    return 0;
}
Reply
Title
Message
(64K)
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.3ms with 2 query(s).