1408121520-hd-Repair the Wall.cpp

本文介绍了一道关于修复被台风损坏墙壁的算法题,主要内容是如何利用不同尺寸的木块以最少的数量填补特定长度的裂缝。文章提供了问题描述、输入输出样例及解题思路,并附带实现代码。

                                   Repair the Wall

                                         Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
                                                            Total Submission(s): 2099    Accepted Submission(s): 1020


Problem Description
Long time ago , Kitty lived in a small village. The air was fresh and the scenery was very beautiful. The only thing that troubled her is the typhoon.

When the typhoon came, everything is terrible. It kept blowing and raining for a long time. And what made the situation worse was that all of Kitty's walls were made of wood.

One day, Kitty found that there was a crack in the wall. The shape of the crack is
a rectangle with the size of 1×L (in inch). Luckly Kitty got N blocks and a saw(锯子) from her neighbors.
The shape of the blocks were rectangle too, and the width of all blocks were 1 inch. So, with the help of saw, Kitty could cut down some of the blocks(of course she could use it directly without cutting) and put them in the crack, and the wall may be repaired perfectly, without any gap.

Now, Kitty knew the size of each blocks, and wanted to use as fewer as possible of the blocks to repair the wall, could you help her ?
 


 

Input
The problem contains many test cases, please process to the end of file( EOF ).
Each test case contains two lines.
In the first line, there are two integers L(0<L<1000000000) and N(0<=N<600) which
mentioned above.
In the second line, there are N positive integers. The ith integer Ai(0<Ai<1000000000 ) means that the ith block has the size of 1×Ai (in inch).
 


 

Output
For each test case , print an integer which represents the minimal number of blocks are needed.
If Kitty could not repair the wall, just print "impossible" instead.
 


 

Sample Input
5 3 3 2 1 5 2 2 1
 


 

Sample Output
2 impossible
 

题目大意
       台风破坏了小猫的房子,使他的房子出现了1*L的裂缝,正好小猫有N个宽度为1的小木块,小木块可以切割使用也可以完整使用,给出小木块的长度,求所需木块的最少数量

 

解题思路

       这是一道贪心题,首先将小木块按照长度做降序排列,然后开始累加,若小木块总长度超过了裂缝长度则停止,输出此时用到的小木块的数量。

 

代码

#include<stdio.h>
#include<algorithm>
using namespace std;
int s[650];
bool cmp(int a,int b)
{
    return a>b;
}
int main()
{
    int l,n;
    int i,j,sum,suml;
    while(scanf("%d%d",&l,&n)!=EOF)
    {
        for(i=0;i<n;i++)
            scanf("%d",&s[i]);
        sort(s,s+n,cmp);
        sum=0;
        suml=0;
        for(i=0;i<n;i++)
        {
            if(suml>=l)
                break;
            else
            {
                sum++;
                suml+=s[i];
            }
        }
        if(suml>=l)
            printf("%d\n",sum);
        else
            printf("impossible\n");
    }
    return 0;
}


 

(Mathcad+Simulink仿真)基于扩展描述函数法的LLC谐振变换器小信号分析设计内容概要:本文围绕“基于扩展描述函数法的LLC谐振变换器小信号分析设计”展开,结合Mathcad与Simulink仿真工具,系统研究LLC谐振变换器的小信号建模方法。重点利用扩展描述函数法(Extended Describing Function Method, EDF)对LLC变换器在非线性工作条件下的动态特性进行线性化近似,建立适用于频域分析的小信号模型,并通过Simulink仿真验证模型准确性。文中详细阐述了建模理论推导过程,包括谐振腔参数计算、开关网络等效处理、工作模态分析及频响特性提取,最后通过仿真对比验证了该方法在稳定性分析与控制器设计中的有效性。; 适合人群:具备电力电子、自动控制理论基础,熟悉Matlab/Simulink和Mathcad工具,从事开关电源、DC-DC变换器或新能源变换系统研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①掌握LLC谐振变换器的小信号建模难点与解决方案;②学习扩展描述函数法在非线性系统线性化中的应用;③实现高频LLC变换器的环路补偿与稳定性设计;④结合Mathcad进行公式推导与参数计算,利用Simulink完成动态仿真验证。; 阅读建议:建议读者结合Mathcad中的数学推导与Simulink仿真模型同步学习,重点关注EDF法的假设条件与适用范围,动手复现建模步骤和频域分析过程,以深入理解LLC变换器的小信号行为及其在实际控制系统设计中的应用。
C01300/foundation/AAFwk: [task_handler_wrap.cpp:156]T: CommandTimeout_2982_1, Id: 154938, q: AbilityManagerService cnt: 125 11-26 15:49:07.605 1473 2496 W C01300/foundation/AAFwk: [task_handler_wrap.cpp:156]T: , Id: 154939, q: AbilityManagerService cnt: 126 11-26 15:49:07.605 1473 2496 I C01342/foundation/ServiceExt: [ability_record.cpp:1709]startId_:1. 11-26 15:49:07.606 885 6467 I C01731/resource_schedule_service/SUSPEND_MSG: [(OnStopLifecycleDetectForLoadAbility):58] pid:8910 11-26 15:49:07.607 818 9710 I C02699/memmgrservice/MemMgr: PrioManager::UpdatePriorityLocked pid=8910, bundleUid=20020031, bundleName=com.huawei.hmos.health.core, procName=, time=1764143347606998000, reason=EXTENSION_STATE_CREATE 11-26 15:49:07.607 818 9710 I C02699/memmgrservice/MemMgr: PrioManager::UpdatePriorityLocked reason=EXTENSION_STATE_CREATE, res: pid=8910, uid=20020031, procName=com.huawei.hmos.health.core, prio=0, ext=1, bindStatus=no_bind, usePeriod=0, isUEA=0, ProcsBindToMe=[] 11-26 15:49:07.608 8910 8910 I A02537/com.huawei.hmos.health.core/CorePrivacyUtil: current phone lock state false 11-26 15:49:07.608 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.608 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: onCreate isBootAndLock res: true 11-26 15:49:07.608 1393 26917 W C057C3/privacy_service/IPCObjectStub: OnRemoteRequest 140: unknown code:2 desc:*.IApplicationStateObserver time:139635242089099 11-26 15:49:07.608 1393 6516 W C057C3/privacy_service/IPCObjectStub: OnRemoteRequest 140: unknown code:2 desc:*.IApplicationStateObserver time:139635242126079 11-26 15:49:07.609 8910 9729 W C01653/com.huawei.hmos.health.core/NativePreferences: LoadFromDisk: The settingXml /***/el2/***/priv***tate load failed. 11-26 15:49:07.610 8910 8910 I C01202/com.huawei.hmos.health.core/Ces: [napi_common_event.cpp(SubscriberInstanceWrapper:85)]Constructor objectInfo 11-26 15:49:07.610 8910 8910 I A02537/com.huawei.hmos.health.core/eventUtil: createSubscriber success 11-26 15:49:07.610 8910 8910 I A02537/com.huawei.hmos.health.core/HAF_StoreFactory: getPreferences name=privacyState(privacyState) success. 11-26 15:49:07.610 1469 2206 I C01400/render_service/Vsync: ChangeState: StateChange: VSYNC_TO_DVSYNC -> DVSYNC 11-26 15:49:07.611 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: onCreate get privacy from SP failed 11-26 15:49:07.611 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.611 8910 8910 W C01324/com.huawei.hmos.health.core/JsNapi: [napi_common_want.cpp:1131]not wantpram 11-26 15:49:07.612 8910 8910 I C01342/com.huawei.hmos.health.core/ServiceExt: [js_service_extension.cpp:595]CallFunction(onRequest) ok 11-26 15:49:07.612 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: onRequest, startId: 1 11-26 15:49:07.612 1473 2594 I C01342/foundation/ServiceExt: [ability_connect_manager.cpp:1140]ScheduleCommandAbilityDoneLocked called, Ability: /com.huawei.hmos.health.core/entry/CoreServiceExtAbility 11-26 15:49:07.612 1473 2594 E C01311/foundation/AppMS: [app_running_manager.cpp:727]null 11-26 15:49:07.613 1473 5669 I C01202/foundation/Ces: [inner_common_event_manager.cpp(SubscribeCommonEvent:350)]Subscribe com.huawei.hmos.health.core(userId = 100, subId = 8910_20020031_-1_9314_139635246, ffrtCost 0 ms, taskCost 0 ms) 11-26 15:49:07.613 1473 2594 W C01300/foundation/AAFwk: [task_handler_wrap.cpp:175]cancel task name: CommandTimeout_2982_1, taskId: 154938, queueName: AbilityManagerService 11-26 15:49:07.613 8910 8910 I A02537/com.huawei.hmos.health.core/CorePrivacyUtil: current phone lock state false 11-26 15:49:07.614 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: onRequest isBootAndLock res: true 11-26 15:49:07.614 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: onRequest get privacy from SP failed 11-26 15:49:07.614 9682 9682 W C057C1/com.huawei.hmos.location:core/BrokerRegistration: Register 72: path:OHOS.Telephony.ITelephonyStateNotify is already Register 11-26 15:49:07.614 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'telephony.observer', isAppModule is 0 11-26 15:49:07.616 8910 8910 I A02537/com.huawei.hmos.health.core/PlatformServiceImpl: onRequest, ActionCode:commonEvent 11-26 15:49:07.616 8910 8910 I A02537/com.huawei.hmos.health.core/PlatformServiceImpl: enter sync SPORT_STAT_DATA 11-26 15:49:07.616 8910 8910 W A02537/com.huawei.hmos.health.core/CoordinationManager: User privacy is not agreed, can not SA wakeup core to syncCloud sport data. 11-26 15:49:07.616 8910 8910 I A02537/com.huawei.hmos.health.core/HFS_CoreServiceExtAbility: cbk 1 11-26 15:49:07.616 629 668 I C01800/samgr/SAMGR: SubscribeSA:1301,8910_86_5 11-26 15:49:07.616 629 668 I C01800/samgr/SAMGR: NotifyAddSA:1301,8910_5 11-26 15:49:07.617 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.618 8910 9684 I C01651/com.huawei.hmos.health.core/DataShare: [operator()()-data_share_manager_impl.cpp:134]: RecoverObs start 11-26 15:49:07.619 1521 2684 E C01707/distributeddata/CONCUR: [Interface] task 2684 apply qos failed, errno = 1 11-26 15:49:07.619 1521 2684 E C01707/distributeddata/CONCUR: [Interface] task 2684 get qos failed, errno = 1 11-26 15:49:07.619 1521 2684 I C01651/distributeddata/DataShare: DataShareServiceStub::OnRemoteRequest: code:7, callingPid:8910, qosRet:-1, curLevel:0 11-26 15:49:07.619 1521 2684 I C01651/distributeddata/DataShare: DataShareServiceStub::OnGetData: bundleName is com.huawei.hmos.health.core 11-26 15:49:07.619 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'networkboost.netquality', isAppModule is 0 11-26 15:49:07.619 9682 9682 I C015B5/com.huawei.hmos.location:core/netmanager_enhanced: [core]Init net quality service JS Intf 11-26 15:49:07.619 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:605)(LoadNativeModule)] key is default/network-restclient-service 11-26 15:49:07.620 1521 2684 E C01631/distributeddata/GaussDB_RD: [COMMON] [392917244296] [d71e03c5] [GMERR-24000] Embedded service 11 execute go wrong 11-26 15:49:07.620 1521 2684 I C01651/distributeddata/DataShare: GetDataStrategy::CheckPermission: access private data, caller and called is same, go 11-26 15:49:07.620 1521 2684 I C01651/distributeddata/DataShare: GetDataStrategy::CheckPermission: access private data, caller and called is same, go 11-26 15:49:07.620 1521 2684 I C01651/distributeddata/DataShare: GetDataStrategy::CheckPermission: access private data, caller and called is same, go 11-26 15:49:07.620 1521 2684 I C01651/distributeddata/DataShare: GetDataStrategy::CheckPermission: access private data, caller and called is same, go 11-26 15:49:07.620 1521 2684 E C01707/distributeddata/CONCUR: [Interface] task 2684 leave qos failed, errno = 1 11-26 15:49:07.621 8910 8910 I A02537/com.huawei.hmos.health.core/CorePrivacyUtil: privacyState in dataShare is same false and false, no need publish again 11-26 15:49:07.621 8910 8910 I A02537/com.huawei.hmos.health.core/CorePrivacyUtil: publishedData length is 4, count is 0 11-26 15:49:07.621 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.625 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.630 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.630 9682 9682 E C03F00/MUSL-LDSO: Error loading header libbundle_ndk.z.so, namespace ndk has no inherits, errno=2 11-26 15:49:07.634 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.638 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.642 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.644 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'default/network-restclient-service', isAppModule is 1 11-26 15:49:07.647 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.650 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.655 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.660 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.665 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.665 9682 9682 I A00000/com.huawei.hmos.location:core/AKI: [INFO:napi_init.cpp(99)] begin to initial AKI with version: 1.2.14 11-26 15:49:07.667 9682 9682 I A00001/com.huawei.hmos.location:core/NK_URL_TS: Url Engine start, buildVersion:8.0.8-309 buildType:RelWithDebInfo isLite:false 11-26 15:49:07.667 9682 9682 I A00001/com.huawei.hmos.location:core/NK_COMM_TS: NetworkStatus set callback to cpp start 11-26 15:49:07.669 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.672 9682 9682 I A00000/com.huawei.hmos.location:core/chromium: [1126/154907.672595:INFO:network_change_notifier_napi.cpp(199)] SetInitCallback in master JS thread, thread id:9682 11-26 15:49:07.673 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.677 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.680 9118 9121 E A00000/aptouch_daemon/afehal: [1][thp_afe_get_frame] Rawdata checksum error 11-26 15:49:07.683 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.684 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'telephony.vsim', isAppModule is 0 11-26 15:49:07.684 9682 9682 I C01F0B/com.huawei.hmos.location:core/TelephonyVSim: InitVSimModule START 11-26 15:49:07.686 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.686 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:605)(LoadNativeModule)] key is default/network-filedownload-service 11-26 15:49:07.690 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.690 49530 49532 I C02D19/netmask/Netmask_Log: write file segment 0 11-26 15:49:07.691 631 993 I C02C03/PARAM_WATCHER: [watcher_manager.cpp:255]ProcessParameterChange key 'sys.hiview.chr.fluchcache' pid: 49530 11-26 15:49:07.691 49530 49530 I C02C02/PARAM: [param_request.c:208]SystemSetParameter name sys.hiview.chr.fluchcache msgid:355 ret: 0 11-26 15:49:07.696 1369 2344 E C02700/sensors/MotionPlugin: in MotionTransformIfRequired, g_handle is nullptr 11-26 15:49:07.696 1369 2344 E C02700/sensors/MotionPlugin: in MotionTransformIfRequired, g_handle is nullptr 11-26 15:49:07.696 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.697 1396 60543 I C02986/powermgr/DisplayPowerBrightness: UpdateAfterUnlockedFastDuration, now=652920837,KeyguardUnlockedTime=652919523,mIsAfterUnlockedFastDuration=1 11-26 15:49:07.699 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.704 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.706 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'default/network-filedownload-service', isAppModule is 1 11-26 15:49:07.707 9682 9682 I A00000/com.huawei.hmos.location:core/AKI: [INFO:DownloadService.cpp(521)] register AKI addon: network-filedownload-service 11-26 15:49:07.707 9118 9121 E A00000/aptouch_daemon/afehal: [1][thp_afe_get_frame] Rawdata checksum error 11-26 15:49:07.708 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.710 9682 9682 I A00000/com.huawei.hmos.location:core/AKI: [INFO:napi_init.cpp(99)] begin to initial AKI with version: 1.2.14 11-26 15:49:07.712 9682 9682 I A00001/com.huawei.hmos.location:core/NK_DOWNLOAD_TS: Download Engine start, buildVersion:8.0.8-309 buildType:RelWithDebInfo isLite:false 11-26 15:49:07.712 9682 9682 I A00001/com.huawei.hmos.location:core/NK_COMM_TS: NetworkStatus set callback to cpp start 11-26 15:49:07.712 9682 9682 I A00000/com.huawei.hmos.location:core/chromium: [1126/154907.712366:INFO:network_change_notifier_napi.cpp(199)] SetInitCallback in master JS thread, thread id:9682 11-26 15:49:07.713 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.714 9682 9682 I C03F01/com.huawei.hmos.location:core/NAPI: [(native_module_manager.cpp:297)(Register)] At tail register module name is 'app.ability.appManager', isAppModule is 0 11-26 15:49:07.716 9255 9295 I C0430A/index_insert_service/file_monitor_service: [RestartMission:167]content can parse 11-26 15:49:07.716 9255 9295 I C0430A/index_insert_service/file_monitor_service: [RestartMission:172]fusion can parse 11-26 15:49:07.716 9255 9295 I C0430A/index_insert_service/file_monitor_service: [RestartMission:181]size=6 11-26 15:49:07.716 9255 9295 I C0430A/index_insert_service/file_monitor_service: [Update:504]Begin update database. 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [SearchMsgs:683]begin 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [Search:202]Begin to search msgs. 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [DbCorruptionProc:345]DB Corruption process, errcode: 27394061 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [SearchMsgs:167]0 msgs searched,tableId:66074,stateSize:1,type:-1 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [SearchMsgs:701]searchMsgs size=0,time(ms)=0,stateStr= 1 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [IsIdle:1648]ContentBuild isIdle = 1 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [IsIndexTaskIdle:3370]SchemaInsertBuild isIdle = 1 11-26 15:49:07.717 9255 9295 I C0430A/index_insert_service/file_monitor_service: [IsTaskIdle:3439]DbHandler isIdle = 1 11-26 15:49:07.718 941 2001 I C015B5/netmanager/BoosterNet: [packet_filter_bypass.cpp] UpdateHookDropStats# stats 20020020, hook 0, packets 0, dnsDropCount 0, wifiPkts 10 11-26 15:49:07.718 9682 9682 I A02300/com.huawei.hmos.location:core/LocationAbilityStage: onCreate start 11-26 15:49:07.721 9682 9682 I C01317/com.huawei.hmos.location:core/AppKit: [ohos_application.cpp:1049]current 2, pre 0 11-26 15:49:07.721 9682 9682 W C01317/com.huawei.hmos.location:core/AppKit: [ohos_application.cpp:1078]fontSize is empty 11-26 15:49:07.721 9682 9682 I C01317/com.huawei.hmos.location:core/AppKit: [ohos_application.cpp:1110]current 2, pre 0 11-26 15:49:07.721 9682 9682 W C01317/com.huawei.hmos.location:core/AppKit: [ohos_application.cpp:1114]language is empty 11-26 15:49:07.721 9682 9682 I C01317/com.huawei.hmos.location:core/AppKit: [ohos_application.cpp:469]configuration_: {"0#const.build.characteristics":"tablet","0#input.pointer.device":"false","0#ohos.app.fontMaxScale":"3.2","0#ohos.app.fontSizeScale":"followSystem","0#ohos.system.colorMode":"dark","0#ohos.system.colorMode.isSetByApp":"isSetByApp","0#ohos.system.fontSizeScale":"1.000000","0#ohos.system.fontWeightScale":"1.0","0#ohos.system.hour":"true","0#ohos.system.language":"zh-Hans-JP"}, config: {"0#ohos.system.colorMode":"dark","0#ohos.system.colorMode.isSetByApp":"isSetByApp"} 11-26 15:49:07.722 9682 9682 I A02300/com.huawei.hmos.location:core/LocationAbilityStage: onCreate end,isDebug:false,versionCode:70201301,versionName:7.2.1.301 11-26 15:49:07.722 9682 9682 I C01340/com.huawei.hmos.location:core/Ext: [extension_ability_thread.cpp:218]Begin, extension: ServiceExtension
12-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值