Notice: Undefined index: AOJ_user_id in /home/judge/src/web/JudgeOnline/problem.php on line 27

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 28

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 29

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 30

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 31

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 32

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 35

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 36

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 40

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 41

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 42

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 43

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 44

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 48

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 49

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 53

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 54

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 55

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 56

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 59

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 60

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 65

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 66

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 67

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 68

Notice: Undefined offset: 0 in /home/judge/src/web/JudgeOnline/problem.php on line 71

Notice: Trying to access array offset on value of type null in /home/judge/src/web/JudgeOnline/problem.php on line 72
3250:(a^b)%m升级版
Problem 3250 --(a^b)%m升级版

3250: (a^b)%m升级版

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $0$ 正确数量 $0$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签
求a的b次方,对m取余的结果
一行,三个整数a,b,m。(0<=a,b,m<=1000000000)
(a^b)%m的结果
1 2 3
1

推荐代码 查看3250 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$ $ms]
内存最少[$ $KB]
第一AC
第一挑战

赛题来源/所属竞赛 数论 N/A

竞赛编号 竞赛名称 竞赛时间 访问比赛
AOJ