QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#510887 | #7779. Swiss Stage | fhvirus# | WA | 0ms | 3624kb | C++17 | 376b | 2024-08-09 13:53:59 | 2024-08-09 13:53:59 |
Judging History
answer
#include <bits/stdc++.h>
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;
int main() {
cin.tie(0) -> sync_with_stdio(0);
cin.exceptions(cin.failbit);
int x, y;
cin >> x >> y;
cout << max(0, 3 + y - x) << '\n';
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3624kb
input:
0 1
output:
4
result:
ok 1 number(s): "4"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
1 2
output:
4
result:
ok 1 number(s): "4"
Test #3:
score: -100
Wrong Answer
time: 0ms
memory: 3480kb
input:
0 0
output:
3
result:
wrong answer 1st numbers differ - expected: '4', found: '3'