安装Windows (x86, 64-bit), ZIP Archive,运行cmd,有问题。

Microsoft Windows 版本 6.3.9600 2013 Microsoft Corporation。保留所有权利。

C:\Users\win8>
C:\Users\win8>d:

D:>cd D:\mysql-5.7.17-winx64\bin

D:\mysql-5.7.17-winx64\bin>mysqld -initialize
mysqld: Can't change dir to 'D:\javaEnvironment\mysql-5.7.12-winx64\data\' (Errc
ode: 2 - No such file or directory)
2017-03-26T15:09:54.745884Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'E
RROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will
be merged with strict mode in a future release.
2017-03-26T15:09:54.745884Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not s
et.
2017-03-26T15:09:54.745884Z 0 [Note] --secure-file-priv is set to NULL. Operatio
ns related to importing and exporting data are disabled
2017-03-26T15:09:54.746887Z 0 [Note] mysqld (mysqld 5.7.17) starting as process
2912 ...
2017-03-26T15:09:54.746887Z 0 [ERROR] Can't find error-message file 'D:\javaEnvi
ronment\mysql-5.7.12-winx64\share\errmsg.sys'. Check error-message file location
and 'lc-messages-dir' configuration directive.
2017-03-26T15:09:54.748888Z 0 [Warning] Can't create test file D:\javaEnvironmen
t\mysql-5.7.12-winx64\data\acer.lower-test
2017-03-26T15:09:54.748888Z 0 [Warning] Can't create test file D:\javaEnvironmen
t\mysql-5.7.12-winx64\data\acer.lower-test
2017-03-26T15:09:54.749899Z 0 [ERROR] failed to set datadir to D:\javaEnvironmen
t\mysql-5.7.12-winx64\data\
2017-03-26T15:09:54.753890Z 0 [ERROR] Aborting

2017-03-26T15:09:54.755920Z 0 [Note] Binlog end
2017-03-26T15:09:54.756898Z 0 [Note]

D:\mysql-5.7.17-winx64\bin>

1个回答

windows里安装mysql直接运行installer,不要用zip archive

qq_37022283
qq_37022283 谢谢
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
学用JAVA调用C/C++,遇到 Can't load IA 32-bit .dll on a AMD 64-bit platform问题
安装环境是JDK 12.0.2 windows x64版 java开发用的是Eclipse Java 2019-06 C/C++用的是VS2013 参考网上高手,学写第一个JNI调用的helloword程序, 一步一步走到最后,在生成的dll放入bin后, 在执行JAVA JNITest.java时报这个错误: Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load IA 32-bit .dll on a AMD 64-bit platform 这个是哪里环节出现了问题?怎么处理好呢? 有网上要用JDK windowsx32的版本,但现在JDK官方新版都是windows x64. 请高手们指教,谢谢! ![图片说明](https://img-ask.csdn.net/upload/201908/22/1566464769_350110.png)
您好,请教一个ORACLE跨OS数据迁移问题
PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT ----------- ---------------------------------------- -------------- 6 AIX-Based Systems (64-bit) Big 18 IBM Power Based Linux Big 2 Solaris[tm] OE (64-bit) Big 4 HP-UX IA (64-bit) Big 16 Apple Mac OS Big 1 Solaris[tm] OE (32-bit) Big 9 IBM zSeries Based Linux Big 3 HP-UX (64-bit) Big 17 Solaris Operating System (x86) Little 20 Solaris Operating System (x86-64) Little 12 Microsoft Windows x86 64-bit Little PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT ----------- ---------------------------------------- -------------- 13 Linux x86 64-bit Little 8 Microsoft Windows IA (64-bit) Little 19 HP IA Open VMS Little 11 Linux IA (64-bit) Little 5 HP Tru64 UNIX Little 10 Linux IA (32-bit) Little 7 Microsoft Windows IA (32-bit) Little 15 HP Open VMS Little 19 rows selected. 源库 SQL> select platform_name from v$database; PLATFORM_NAME ---------------------------------------- AIX-Based Systems (64-bit) SQL> select sum(bytes/1024/1024/1024) GB from dba_segments; --逻辑大小 GB ---------- 303.956665 SQL> select sum(bytes/1024/1024/1024) GB from dba_data_files; ----物理大小 GB ---------- 480.219727 目标平台是pc server 。 计划安装RHEL 5.4 x86_64 操作系统。--目标平台PLATFORM_NAME为 Linux x86 64-bit。 存储; 源库:纯裸设备(参数文件,控制文件,redo log,data file)。 目标库:裸设备 或 ASM。(还未确定)。 **需求: 将AIX 平台ORACLE RAC 10.2.0.4 迁移到 linux 平台 ORACLE RAC 10.2.0.4 。 迁移过程中源库可以停机。 用什么方式可以实现数据无损的快速的迁移到新的平台上呢。**
需要一个Tomcat6.0.29 32-bit Windows zip 压缩包
大家好, 需要一个Tomcat6.0.29 32-bit Windows zip 压缩包, 由于公司封掉许多网站,包括apache的下载网站,加上公司内部通讯很麻烦,所以本人想做一个建议的聊天室供大家及时沟通,这里需要一个Tomcat6.0.29 32-bit Windows zip 的安装压缩包, 那位 大侠兄弟能够在JavaEye上给小弟上传一个,再下不胜感激。 下载地址: http://tomcat.apache.org/download-60.cgi 安装包地址: http://ftp.cuhk.edu.hk/pub/packages/apache.org/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29-windows-x86.zip
android开发,求adt-bundle-windows-x86_64-20140321.zip
下载困难,有没有哪位朋友网盘里有64位的开发环境,麻烦发下链接。
Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: D:\tomcat\apache-tomcat-7.0.54\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at org.apache.tomcat.jni.Library.<init>(Library.java:40) at org.apache.tomcat.jni.Library.initialize(Library.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:194) at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:99) at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592) at org.apache.catalina.connector.Connector.<init>(Connector.java:66) at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.Catalina.load(Catalina.java:615) at org.apache.catalina.startup.Catalina.load(Catalina.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454) 2015-7-24 15:12:14 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Eclipse\jdk6\bin;D:\tomcat\apache-tomcat-7.0.54\bin 2015-7-24 15:12:14 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 这个是console出现的内容 MyEclipse10连tomcat一直连不上,之前还能连接,功能都能实现,突然就不行了,不明原因,已经试过了64位和32位的tomcat
Mac下安装robot运行ride.py后报python should be executed in 32-bit mode with wxPython on OSX.
-bash-3.2$ defaults read com.apple.versioner.python { "Prefer-32-Bit" = 1; "Prefer-64-Bit" = 0; } -bash-3.2$ ride.py python should be executed in 32-bit mode with wxPython on OSX. defaults write com.apple.versioner.python Prefer-32-Bit -bool yes 没有起作用。
yum install mysql-community-server 安装mysql 报错求大神帮忙!!!!
[root@11 mysql]# yum install mysql-community-server Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: mysql-community-common(x86-64) = 8.0.16-1.el7 for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 ---> Package mysql-community-common.x86_64 0:8.0.16-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 ---> Package mysql-community-libs.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Finished Dependency Resolution Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: systemd Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.7)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libsasl2.so.3()(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.17)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) You could try using --skip-broken to work around the problem ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows: 2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16()(64bit) 2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit) 2:postfix-2.6.6-8.el6.x86_64 has missing requires of mysql-libs
Multi-bit Trie 是怎么编写代码
Problem Description   IP lookup is one of the key functions of routers for packets forwarding and classifying. Generally, IP lookup can be simplified as a Longest Prefix Matching (LPM) problem. That's to find the longest prefix in the Forwarding Information Base (FIB) that matches the input packet's destination address, and then output the corresponding Next Hop information.   Trie-based solution is the most wildly used one to solve LPM. As shown in Fig.1(b), an uni-bit trie is just a binary tree. Processing LPM on it needs only traversing it from the root to some leaf, according to the input packet's destination address. The longest prefix along this traversing path is the matched one. In order to reduce the memory accesses for one lookup, we can compress some consecutively levels of the Uni-bit Trie into one level, transforming the Uni-bit Trie into a Multi-bit Trie.   For example, suppose the strides array is {3, 2, 1, 1}, then we can transform the Uni-bit Trie shown in Fig.1(b) into a Multi-bit Trie as shown in Fig.1(c). During the transforming process, some prefixes must be expanded. Such as 11(P2), since the first stride is 3, it should be expanded to 110(P2) and 111(P2). But 110(P5) is already exist in the FIB, so we only store the longer one 110(P5).   Multi-bit Trie can obviously reduce the tree level, but the problem is how to build a Multi-bit Trie with the minimal memory consumption (the number of memory units). As shown in Fig.1, the Uni-bit Trie has 23 nodes and consumes 46 memory units in total, while the Multi-bit Trie has 12 nodes and consumes 38 memory units in total. Input   The first line is an integer T, which is the number of testing cases.   The first line of each case contains one integer L, which means the number of levels in the Uni-bit Trie.   Following L lines indicate the nodes in each level of the Uni-bit Trie.   Since only 64 bits of an IPv6 address is used for forwarding, a Uni-bit Trie has maximal 64 levels. Moreover, we suppose that the stride for each level of a Multi-bit Trie must be less than or equal to 20. Output   Output the minimal possible memory units consumed by the corresponding Multi-bit Trie. Sample Input 1 7 1 2 4 4 5 4 3 Sample Output 38
yum安装出错 --skip-broken
各位网友大家好,在安装ffmpeg库的时候出现如下错误,在网上找了几个方法,解决不掉,帖出来,望大家帮帮忙,感激不尽!! ``` [root@localhost asterisk-14.2.0]# yum install ffmpeg 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.cn99.com * epel: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.cqu.edu.cn * linuxtech-release: pkgrepo.linuxtech.net * updates: mirrors.tuna.tsinghua.edu.cn 正在解决依赖关系 --> 正在检查事务 ---> 软件包 ffmpeg.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libswscale.so.2(LIBSWSCALE_2)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswresample.so.0(LIBSWRESAMPLE_0)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libpostproc.so.52(LIBPOSTPROC_52)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavutil.so.52(LIBAVUTIL_52)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavformat.so.54(LIBAVFORMAT_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavfilter.so.3(LIBAVFILTER_3)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavdevice.so.54(LIBAVDEVICE_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavcodec.so.54(LIBAVCODEC_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswscale.so.2()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswresample.so.0()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libpostproc.so.52()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavutil.so.52()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavformat.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavfilter.so.3()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavdevice.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavcodec.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在检查事务 ---> 软件包 ffmpeg-libs_1.1.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0(CDIO_CDDA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 librtmp.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libopenjpeg.so.2()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcxcore.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcv.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libass.so.4()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在检查事务 ---> 软件包 ffmpeg-libs_1.1.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0(CDIO_CDDA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libopenjpeg.so.2()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcxcore.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcv.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 ---> 软件包 libass.x86_64.0.0.10.0-3.el6 将被 安装 ---> 软件包 librtmp.x86_64.0.2.3-3.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 librtmp-2.3-3.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 librtmp-2.3-3.el6.x86_64 需要 --> 解决依赖关系完成 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26(GNUTLS_1_4)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libopenjpeg.so.2()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_cdda.so.0(CDIO_CDDA_0)(64bit) 错误:软件包:librtmp-2.3-3.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26(GNUTLS_1_4)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_cdda.so.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcv.so.2.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26()(64bit) 错误:软件包:librtmp-2.3-3.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_paranoia.so.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcxcore.so.2.0()(64bit) 您可以尝试添加 --skip-broken 选项来解决该问题 您可以尝试执行:rpm -Va --nofiles --nodigest ```
批量迁移Access数据至SQL server。
公司现在装的Access是Office365版本,即将将所有数据迁移至windows server上的SQL Server 2016. 目前查到的资料都没有针对于Office365的批量迁移方法。 SSMA又不支持Aceess 2016. 如何才能速度最快地将100多个Access的数据批量迁移至sql server上?(已经安装了microsoft access 64-bit database engine)
redhat linux 6.3 x_86-64 安装 oracle11 g
在 x86_64位 的linux6.3下 安装 64位的oracle11g 起初的时候 可以进入安装界面 ,但是检查依赖包时通不过,后来在网上找了些rpm包 安装进去后,再启动oracle安装的时候就报“不能再32位系统下安装64位的oracle”,敢问大侠们这是为什么??? 而且getconf LONG_BIT 输出结果 为 32 但是file /sbin/init 下只有 64-bit文件,敢问各位大侠 到底什么原因 ,我都要疯了!!!!
liunx 安装 systemd-219-42.el7.x86_64.rpm
为啥总是有那么多要安装啊!求大神指点 rpm -ivh systemd-219-42.el7.x86_64.rpm warning: systemd-219-42.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY error: Failed dependencies: kmod >= 18-4 is needed by systemd-219-42.el7.x86_64 libc.so.6(GLIBC_2.16)(64bit) is needed by systemd-219-42.el7.x86_64 libc.so.6(GLIBC_2.17)(64bit) is needed by systemd-219-42.el7.x86_64 libcryptsetup.so.4()(64bit) is needed by systemd-219-42.el7.x86_64 libcryptsetup.so.4(CRYPTSETUP_1.0)(64bit) is needed by systemd-219-42.el7.x86_64 libkmod.so.2()(64bit) is needed by systemd-219-42.el7.x86_64 libkmod.so.2(LIBKMOD_5)(64bit) is needed by systemd-219-42.el7.x86_64 liblzma.so.5()(64bit) is needed by systemd-219-42.el7.x86_64 liblzma.so.5(XZ_5.0)(64bit) is needed by systemd-219-42.el7.x86_64 libmount.so.1(MOUNT_2.20)(64bit) is needed by systemd-219-42.el7.x86_64 libqrencode.so.3()(64bit) is needed by systemd-219-42.el7.x86_64 systemd-libs = 219-42.el7 is needed by systemd-219-42.el7.x86_64 dracut < 033-499 conflicts with systemd-219-42.el7.x86_64 initscripts < 9.49.28-1 conflicts with systemd-219-42.el7.x86_64
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
在安装Openstack时,提示如下错误:  In file included from /usr/include/openssl/cms.h:16:0, 2018-11-22 16:33:22.028 |                      from build/temp.linux-x86_64-2.7/_openssl.c:485: 2018-11-22 16:33:22.028 |     /usr/include/openssl/x509.h:552:6: note: expected 'const X509_ALGOR ** {aka const struct X509_algor_st **}' but argument is of type 'X509_ALGOR ** {aka struct X509_algor_st **}' 2018-11-22 16:33:22.028 |      void X509_get0_signature(const ASN1_BIT_STRING **psig, 2018-11-22 16:33:22.028 |           ^~~~~~~~~~~~~~~~~~~ 2018-11-22 16:33:22.028 |     At top level: 2018-11-22 16:33:22.029 |     build/temp.linux-x86_64-2.7/_openssl.c:3492:13: warning: '_ssl_thread_locking_function' defined but not used [-Wunused-function] 2018-11-22 16:33:22.029 |      static void _ssl_thread_locking_function(int mode, int n, const char *file, 2018-11-22 16:33:22.029 |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2018-11-22 16:33:22.029 |     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 2018-11-22 16:33:22.029 | 2018-11-22 16:33:22.029 |     ---------------------------------------- 2018-11-22 16:33:22.070 | Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dDyHZi/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-VeABSz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-dDyHZi/cryptography/ 2018-11-22 16:33:22.097 | You are using pip version 9.0.3, however version 18.1 is available. 2018-11-22 16:33:22.097 | You should consider upgrading via the 'pip install --upgrade pip' command. 请大神帮忙看看哪里的问题,卡了好几天了,谢谢!
Can't load IA 64-bit .dll 如何解决?
java.lang.UnsatisfiedLinkError: C:\Windows\System32\tcnative-1.dll: Can't load IA 64-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at org.apache.tomcat.jni.Library.<init>(Library.java:42) at org.apache.tomcat.jni.Library.initialize(Library.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:207) at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:108) at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592) at org.apache.catalina.connector.Connector.<init>(Connector.java:66) at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1342) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.Catalina.load(Catalina.java:615) at org.apache.catalina.startup.Catalina.load(Catalina.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
请问16-bit的对应图是什么?该怎么画?急?
请问16-bit的对应图应该怎么画?类似于8-bit的画法如图,也希望讲解一下,不太懂![图片说明](https://img-ask.csdn.net/upload/201909/26/1569504086_72715.jpg)谢谢谢谢!!!!?
BAT转换成EXE后无法运行在WIN10 64位PE环境 下面运行
BAT转换成EXE后无法运行在WIN10 64位PE环境 下面运行,用bat2exe 和 exescript都试过,都是同样的结果,求大礼帮忙处理。或者加我QQ8012102 报错为: The version of this file is not compatible with the version of Windows you're running. Check you computer system infromation to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
centos 7安装 yum install openssl-devel出现了问题,求解!
``` Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). The program yum-complete-transaction is found in the yum-utils package. --> Running transaction check ---> Package openssl-devel.x86_64 1:1.0.1e-60.el7 will be installed --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-60.el7.x86_64 --> Running transaction check ---> Package krb5-devel.x86_64 0:1.14.1-27.el7_3 will be installed --> Processing Dependency: libkadm5(x86-64) = 1.14.1-27.el7_3 for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed ---> Package libcom_err-devel.x86_64 0:1.42.9-9.el7 will be installed ---> Package libkadm5.x86_64 0:1.14.1-27.el7_3 will be installed ---> Package libselinux-devel.x86_64 0:2.5-6.el7 will be installed --> Processing Dependency: libselinux(x86-64) = 2.5-6.el7 for package: libselinux-devel-2.5-6.el7.x86_64 --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-6.el7.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-6.el7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed --> Running transaction check ---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated ---> Package libselinux.x86_64 0:2.5-6.el7 will be an update --> Processing Dependency: libsepol(x86-64) >= 2.5-6 for package: libselinux-2.5-6.el7.x86_64 --> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0)(64bit) for package: libselinux-2.5-6.el7.x86_64 ---> Package libsepol-devel.x86_64 0:2.5-6.el7 will be installed --> Running transaction check ---> Package libsepol.x86_64 0:2.1.9-3.el7 will be updated ---> Package libsepol.x86_64 0:2.5-6.el7 will be an update --> Processing Conflict: libselinux-2.5-6.el7.x86_64 conflicts systemd < 219-20 --> Finished Dependency Resolution Error: libselinux conflicts with systemd-container-208.20-6.el7.centos.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest ```
mysql8安装时依赖libsasl2.so.2()(64bit)
我在一个离线环境(redhat 7)里安装mysql8 rpm包,安装到server时提示需要依赖libsasl2.so.2()(64bit),经搜索发现这个包是cyrus-sasl-lib包的内容,版本是cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64(看起来像redhat 6的版本)。但是我本机已安装了版本是cyrus-sasl-lib-2.1.26,有libsasl2.so.3 。我不知道是什么问题,请教大家怎么解决?
Multi-bit Trie
Problem Description   IP lookup is one of the key functions of routers for packets forwarding and classifying. Generally, IP lookup can be simplified as a Longest Prefix Matching (LPM) problem. That's to find the longest prefix in the Forwarding Information Base (FIB) that matches the input packet's destination address, and then output the corresponding Next Hop information. ![](http://acm.hdu.edu.cn/data/images/C468-1006-1.jpg)   Trie-based solution is the most wildly used one to solve LPM. As shown in Fig.1(b), an uni-bit trie is just a binary tree. Processing LPM on it needs only traversing it from the root to some leaf, according to the input packet's destination address. The longest prefix along this traversing path is the matched one. In order to reduce the memory accesses for one lookup, we can compress some consecutively levels of the Uni-bit Trie into one level, transforming the Uni-bit Trie into a Multi-bit Trie.   For example, suppose the strides array is {3, 2, 1, 1}, then we can transform the Uni-bit Trie shown in Fig.1(b) into a Multi-bit Trie as shown in Fig.1(c). During the transforming process, some prefixes must be expanded. Such as 11(P2), since the first stride is 3, it should be expanded to 110(P2) and 111(P2). But 110(P5) is already exist in the FIB, so we only store the longer one 110(P5).   Multi-bit Trie can obviously reduce the tree level, but the problem is how to build a Multi-bit Trie with the minimal memory consumption (the number of memory units). As shown in Fig.1, the Uni-bit Trie has 23 nodes and consumes 46 memory units in total, while the Multi-bit Trie has 12 nodes and consumes 38 memory units in total. Input   The first line is an integer T, which is the number of testing cases.   The first line of each case contains one integer L, which means the number of levels in the Uni-bit Trie.   Following L lines indicate the nodes in each level of the Uni-bit Trie.   Since only 64 bits of an IPv6 address is used for forwarding, a Uni-bit Trie has maximal 64 levels. Moreover, we suppose that the stride for each level of a Multi-bit Trie must be less than or equal to 20. Output   Output the minimal possible memory units consumed by the corresponding Multi-bit Trie. Sample Input 1 7 1 2 4 4 5 4 3 Sample Output 38
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
有哪些让程序员受益终生的建议
从业五年多,辗转两个大厂,出过书,创过业,从技术小白成长为基层管理,联合几个业内大牛回答下这个问题,希望能帮到大家,记得帮我点赞哦。 敲黑板!!!读了这篇文章,你将知道如何才能进大厂,如何实现财务自由,如何在工作中游刃有余,这篇文章很长,但绝对是精品,记得帮我点赞哦!!!! 一腔肺腑之言,能看进去多少,就看你自己了!!! 目录: 在校生篇: 为什么要尽量进大厂? 如何选择语言及方...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小型人工智障。 知识可以运用在不同地方,不一定非是天气预报。
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
Python 编程开发 实用经验和技巧
Python是一门很灵活的语言,也有很多实用的方法,有时候实现一个功能可以用多种方法实现,我这里总结了一些常用的方法和技巧,包括小数保留指定位小数、判断变量的数据类型、类方法@classmethod、制表符中文对齐、遍历字典、datetime.timedelta的使用等,会持续更新......
YouTube排名第一的励志英文演讲《Dream(梦想)》
Idon’t know what that dream is that you have, I don't care how disappointing it might have been as you've been working toward that dream,but that dream that you’re holding in your mind, that it’s po...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
相关热词 c# 图片上传 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd
立即提问