Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166709 罗清腾 二进制半整数 C++ 输出超限 0 9 MS 244 KB 334 2024-08-19 15:16:15

Tests(0/5):


#include <bits/stdc++.h> using namespace std; int main() { int n,x; cin >> n; for (int i = 1;i<=n;i++) { cin >> x; for (int i= 2;i <= n-2;i+=2) { double j=x*1.0-i; int k=j; if (j/2==k/2*1.0) { cout << "yes" << endl; } else { cout << "no" << endl; } } } return 0; }


测评信息: