思路:只有当输入的数位完全开平方数才能使灯开着,因为只有完全开平方数的因子是奇数个
#include<stdio.h>
#include<math.h>
int main(){
long long n, m;
while (scanf("%lld", &n) && n){
m = (int)sqrt(n);
if(m * m == n)
printf("yes\n");
else
printf("no\n");
}
return 0;
}
--只包含执行部分的PL/SQL块
--set serveroutput off
begin
dbms_output.put_line('Hello,everyone!');
end;
select * from emp;
--包含定义部分和执行部分的PL/SQL块
declare
v_ename varchar2(5);
begin
select
转:http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
maven报错:
Plugin execution not covered by lifecycle configuration:
要使用MonkeyRunner,就要学习使用Python,哎
先抄一段官方doc里的代码
作用是启动一个程序(应该是启动程序默认的Activity),然后按MENU键,并截屏
# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRun