Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大きな配列番号を使用すると、実行速度が非常に遅くなるプログラムがあります。
最終的なコードではint[3000][3000]、 、String[27000]、および配列を使用します。String[5000]このコードの実行には永遠に時間がかかります。これは、配列があまりにも多くのスペースを占めるためでしょうか?
int[3000][3000]
String[27000]
String[5000]
多くの要因 :