Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
127802 周歆童(初一23 魔法生物 C++ 通过 100 0 MS 252 KB 138 2024-01-25 10:19:12

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int n; int main(){ while(cin>>n&&n){ cout<<((1<<(n-1))+1)%n<<endl; } return 0; }


测评信息: