Accepted
Code
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ll long long
#define ld long double
#define ull unsigned long long
#define lcm(a,b) ((a*b)/__gcd(a,b))
#define debug(x) cout << "Debug : " << x << endl;
const double PI = 2 * acos(0.0);
const int MOD = 1000000007;
void solve(){
ll a, b;
cin >> a >> b;
cout << abs(a - b) << endl;
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
solve();
}
Information
- Submit By
- Type
- Submission
- Problem
- P1226 Event Registration
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-09-01 05:16:08
- Judged At
- 2025-09-01 05:16:08
- Judged By
- Score
- 100
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB