QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#714780 | #9281. A Non-Palindromic Modification | NULLtheMOMENT | WA | 0ms | 3620kb | C++20 | 753b | 2024-11-06 07:12:52 | 2024-11-06 07:12:53 |
Judging History
answer
#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<bool> vb;
typedef long double ld;
const ll mod = 1e9 + 7;
struct point {double x,y;};
typedef unsigned long long ull;
typedef pair<ll,ll> pll;
const ll inf = 1LL << 62;
void solve() {
int n; cin >> n;
rep(i,0,n) {
int t; cin >> t;
}
if(n == 1) cout << 0 << endl;
else cout << 1 << endl;
}
int main() {
//ifstream in("hps.in");
//ofstream out("hps.out");
int t; cin >> t;
rep(i,0,t)
solve();
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3560kb
input:
1 1
output:
0
result:
ok answer is '0'
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3620kb
input:
2 20 21
output:
1 1
result:
wrong output format Extra information in the output file