Submit | All submissions | Best solutions | Back to list |
Problem hidden on 2010-10-27 21:54:03 by [Trichromatic] XilinX
LOGTWO - PowerOf2 |
Given a number
Input
First line number of test cases and followed by test cases
Output
the log of the number or "NO" If not power of 2
Note: output range will be <=1000
Example
Input:
2
4
1000
Output:
2
NO
Added by: | el moatasem |
Date: | 2010-10-26 |
Time limit: | 0.200s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | C CSHARP C++ 4.3.2 CPP CPP14 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK JAVA LUA PAS-GPC PAS-FPC PERL PERL6 PHP PIKE PRLG-swi PYTHON RUBY SCALA SCM guile SCM qobi ST SQLITE TCL WHITESPACE |
hide comments
|
|||||
2010-10-27 05:26:13 Muhammad Chandrika Kesuma
main + return 0 = AC |
|||||
2010-10-27 05:25:43 Rizal Maulidan
kha..kha.. submit sembarang kenek.. |
|||||
2010-10-27 05:25:02 Benediktus Anindito
is there any better test case? |
|||||
2010-10-27 05:15:27 Simson Partogi Situmeang
this problem is failed.. any source code that successfully compiled will be accepted -__-" |
|||||
2010-10-27 03:48:17 A. Muh. Primabudi
salah submit kok malah accepted -__- |
|||||
2010-10-27 02:07:24 bakajunichi
wajur, kok ono soal ngene |
|||||
2010-10-26 23:30:39 Simson Partogi Situmeang
Pertamax gan.. it's easy,.. it should be in tutorial.. |