Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
313159 | 朱宸宇 | 【C2-4】求落地次数 | C++ | 编译错误 | 0 | 0 MS | 0 KB | 208 | 2025-03-19 17:40:14 |
#include <iostream> #include <cstdio> using namespace std; int main() { int sum=100,cnt=0; while (cnt>=0.5) { sum/=2 cnt++; } printf("%d",cnt) return 0; }