Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113968 | 石茂诤 | 14兔子问题 | C++ | Accepted | 1 MS | 264 KB | 209 | 2025-03-18 13:26:47 |
#include <iostream> using namespace std; int main() { int i = 1,y = 1,x = 0,c = 0,d = 0; while (i<=8) { c += x; x = y; y = c; i++; } cout << y << " " << x << " " << c; return 0; }