Leetcode Daily Question
2.45K subscribers
517 files
2.16K links
Why are you asking me to do Leetcode for this CSS job?
Download Telegram
Leetcode-cn.com 2021-12-05
🟡 372.super-pow

🏷️ Tags
#math #divide_and_conquer

Description
你的任务是计算 ab 对 1337 取模,a 是一个正整数,b 是一个非常大的正整数且会以数组形式给出。

 

Example
输入:a = 2, b = [3]
输出:8