b877. 我是電視迷

解法一

✅ 完整代碼

評分結果(參考) : AC (2ms, 332KB)

#include<bits/stdc++.h>
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int a, b;
    cin >> a >> b;
    
    if(b-a < 0) cout << b-a + 100;
    else cout << b-a;

    return 0;
}