首页
技术
登录
6mi
u
盘
搜
搜 索
技术
蓝桥杯 数列求值
蓝桥杯 数列求值
技术
2025-01-25
13
public class Main {
public static void main(String[] args) { int a = 1, b = 1, c = 1; for (int i = 3; i < 20190324; i++) { int temp = (a + b + c) % 10000; a = b; b = c; c = temp; } System.out.println(c); }
}
转载请注明原文地址:https://ipadbbs.8miu.com/read-54487.html
最新回复
(
0
)