PTT
Submit
Submit
選擇語言
正體中文
简体中文
PTT
Marginalman
Re: [閒聊] 每日LeetCode
作者:
Pash97143
(四葉天下第一)
2022-10-02 00:38:24
用C++寫 結果遇上測資是
"111111111111111111111111111111111111111111111" 時
出現了 Time Limit Exceeded
https://i.imgur.com/qIr2iFz.png
有哪一部分語法或邏輯可以改進的嗎
作者:
Pash97143
(四葉天下第一)
2022-10-02 00:39:00
一開始比較短的測資都還能過
作者:
SecondRun
(雨夜琴聲)
2022-10-02 00:42:00
題目是啥
作者:
Pash97143
(四葉天下第一)
2022-10-02 00:44:00
每日的
https://i.imgur.com/NLNxrj2.jpg
作者:
Apache
(阿帕契)
2022-10-02 00:45:00
DP
作者:
fxfxxxfxx
(愛麗絲)
2022-10-02 00:46:00
你這複雜度會爆 應該會變exponential
作者:
Apache
(阿帕契)
2022-10-02 00:46:00
上一篇不就解法
作者:
fxfxxxfxx
(愛麗絲)
2022-10-02 00:47:00
"111111" 答案就會是費波那器
繼續閱讀
[姆咪] 北溪爆炸
forsakesheep
[閒聊] 紙包雞
itoumashiro
[瓦特] 大臉貓cosplay
XROCK
Re: [姆咪] 女森捏捏真的能夾住棒狀物?
MeiHS
[邊緣] 預計明年中去創業
KusanagiYuma
[閒聊] taka
RosieChaeng
[閒聊] 好餓
osopopototo
[姆咪] 女森捏捏真的能夾住棒狀物?
CavendishJr
[閒聊] Leetcode
fxfxxxfxx
Re: [取暖] 中年大叔是不是很可悲
XROCK
Links
booklink
Contact Us: admin [ a t ] ucptt.com