1.修改alps/meidatek/config/xxx/ProjectConfig.mk下的MTK_PRODUCT_LOCALS,去掉不用的资源,比如屏幕密度或语言等.
2. nodpi和mipmap的相关resource因其特殊作用会被保留
PS:
nodpi: resource不会根据device density做scaling
mipmap:提供与device d...
分类:
其他好文 时间:
2014-09-19 12:07:55
阅读次数:
171
现在又一个product.xml的表格文件,要求取出其中数据数据如下:商品名价格iphone4s4199note23999小米21999iphone548991,将product.xml另存为product.csv文件2,用fgetcsv函数取出其中的数据放到一个数组中(fgetcsv — 从文件指...
分类:
数据库 时间:
2014-09-19 11:40:35
阅读次数:
200
题目:求不超过n的最大的x/φ(x),其中φ(x)是欧拉函数。
分析:数论,大整数。比赛时直接打表计算的。
实际上:φ(n)= n *(1 - 1/p1)*(1 - 1/p2)*(1 - 1/p3)*…*(1 - 1/pt);
所以有:x/φ(x)= 1 /((1 - 1/p1)*(1 - 1/p2)*(1 - 1/p3)*…*(1 - 1/pt)...
分类:
其他好文 时间:
2014-09-18 18:58:14
阅读次数:
148
oracle:在使用conn /as sysdba时,发生ORA-12560: TNS: 协议适配器错误。查了很久,原因竟然是因为环境变量的配置问题。查看Path变量设置,原来的值(oracle相关)为:E:\app\jessrun\product\11.2.0\client_1;E:\app\je...
分类:
其他好文 时间:
2014-09-18 18:06:34
阅读次数:
133
select?count(*)?from?ps_product;
select?count(*)?from?ps_product_lang;
select?*?from?ps_product_lang?where?id_product=(select?count(*)?from?ps_product_lang);
select?name,id_product?...
分类:
数据库 时间:
2014-09-18 11:42:14
阅读次数:
241
ofibz登陆功能有通过电子邮件找会密码的功能,但找回密码功能需要配置一个发送email的邮箱账号和smtp服务器的配置,具体配置如下:1:在ofbiz数据库的表product_store_email_setting中找到from_address字段,将该字段中值全部修改成配置的默认发送账号2:在g...
分类:
其他好文 时间:
2014-09-18 00:39:12
阅读次数:
351
本文探讨测试人员如何站在 SuperProduct Owner, Product Owner与开发人员的角度,思考如何撰写对 SuperProduct Owner, Product Owner, 开发人员有价值的测试报告?而使得 SuperProduct Owner, Product Owner, 开发人员可于第一时间便会针对测试报告, 开展真正有效的决策,措施,使得版本质量获得提升?
本文同时也探讨测试人员如何经由测试报告,与SuperProduct Owner, Product Owner, 开发人员协...
分类:
其他好文 时间:
2014-09-17 23:23:02
阅读次数:
262
题目:找到一个序列中的两个连续段使得他们的和最大。
分析:dp,最大字段和。双向求最大字段和,枚举结束点找到加和最大值。
说明:与合唱队形类似。(同poj2593)(2011-09-24 02:09)
#include
#include
int data[ 50005 ];
int asum[ 50005 ];
int bsum[ 50005 ];
void msum( int *D...
分类:
其他好文 时间:
2014-09-17 21:53:22
阅读次数:
233
题目 Given a string s,find the longest palindromic substring in S.You may assume that the maximum length of S is 1000,and there exist one unique longes....
分类:
其他好文 时间:
2014-09-17 21:46:02
阅读次数:
238
题目:
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
AC率第二高的题啦,二项树的最长路径。初看此题...
分类:
其他好文 时间:
2014-09-17 20:26:52
阅读次数:
162