QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#133590 | #4248. Number Theory | alixan | WA | 1ms | 3584kb | C++17 | 399b | 2023-08-02 11:34:57 | 2023-08-02 11:35:00 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
void __init__(){
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
srand(time(NULL));
}
void solve(){
int n; cin>> n;
cout<< (n + 1) / 2;
}
int main() {
__init__();
//int t; cin>> t;
int t = 1;
int now = 1;
while(t--){
//cout<< "Case #"<<now<< ": Katya's place can be ";
now++;
solve();
}
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3584kb
input:
2
output:
1
result:
wrong answer 1st numbers differ - expected: '0', found: '1'