Huge Fn mod m - IGGI


1.6 by Khoi Nguyen Tran Minh / Tony Nguyen
2016年05月21日

关于Huge Fn mod m - IGGI

高级问题:巨大的Fibonacci数模m

http://appinventor.mit.edu/explore/master-trainers.html#nguyen

This app is created using MIT App Inventor to demonstrate its ability in CS courses, especially Algorithms.

=================

Problem Introduction: The Fibonacci numbers are defined as follows: F0 = 0, F1 = 1, and Fi = Fi−1 + Fi−2 for i ≥ 2.

Task: Given two integers n and m, output Fn mod m (that is, the remainder of Fn when divided by m).

Input Format: The input consists of two integers n and m given on the same line (separated by a space).

Constraints: 1 ≤ n ≤ 1018, 2 ≤ m ≤ 105

Output Format: Output Fn mod m.

.==================

更多应用信息

最新版本

1.6

上传者

Syed Sajid Pasha Qadri

系统要求

Android 1.6+

举报

举报不当内容

更多

下载 APKPure App

可在安卓获取Huge Fn mod m - IGGI的历史版本

下载

下载 APKPure App

可在安卓获取Huge Fn mod m - IGGI的历史版本

下载

Huge Fn mod m - IGGI相关应用

Khoi Nguyen Tran Minh / Tony Nguyen 开发者的更多应用

最新发现