# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
743077 |
2023-05-17T07:46:01 Z |
vjudge1 |
Lasers (NOI19_lasers) |
C++17 |
|
1 ms |
344 KB |
#include<bits/stdc++.h>
using namespace std;
using ll = long long ;
using pii = pair<ll , ll> ;
using i3 = tuple<ll , ll , ll> ;
const int MOD = 1e9+7 , N = 1e5+5 ;
int n , m , cnt , ans , qs[N] ;
int l , r ;
int main(){
ios_base::sync_with_stdio(0); cin.tie(0);
cin >> l >> r ;
int x ;
cin >> x ;
int x1 ; cin >> x1 ;
int ans = x1 - (l - x1 + 1) + 1 ;
cout << ans ;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |