Submission #70773338
Source Code Expand
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define FAST ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define mp make_pair
#define pb push_back
#define lp(i,s,f) for(ll i = s; i < ll(f); i++)
#define inF freopen("input.in", "r", stdin);
#define outF freopen("output.in", "w", stdout);
#define endl '\n'
#define MOD 1000000007
#define mm(arr) memset(arr, 0, sizeof(arr))
#define F first
#define S second
int32_t main(){
FAST
int a, b; cin >> a >> b;
cout << max(0, a - b);
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Robot Balance |
| User | Basilhijaz |
| Language | C++23 (Clang 21.1.0) |
| Score | 100 |
| Code Size | 563 Byte |
| Status | AC |
| Exec Time | 7 ms |
| Memory | 3044 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 7 ms | 2892 KiB |
| 00_sample_01.txt | AC | 1 ms | 2884 KiB |
| 00_sample_02.txt | AC | 1 ms | 2876 KiB |
| 01_random_03.txt | AC | 1 ms | 2772 KiB |
| 01_random_04.txt | AC | 1 ms | 2888 KiB |
| 01_random_05.txt | AC | 1 ms | 2808 KiB |
| 01_random_06.txt | AC | 1 ms | 3044 KiB |
| 01_random_07.txt | AC | 1 ms | 2940 KiB |
| 01_random_08.txt | AC | 1 ms | 2808 KiB |
| 01_random_09.txt | AC | 1 ms | 2996 KiB |
| 01_random_10.txt | AC | 1 ms | 2772 KiB |
| 01_random_11.txt | AC | 1 ms | 2836 KiB |