Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
127598 梁思宸 魔法生物 C++ 编译错误 0 0 MS 0 KB 189 2024-01-25 09:38:08

Tests(0/0):


#include <bits/stdc++.h> using namespace std; int main (){ ios::sync_with_stdio(false); cin.tie(0); int n; while (cin >> n){ cout << (pow(2, n - 1) + 1) % n; } return 0; }


测评信息: