Skip to content

Commit

Permalink
Add 03507.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiyabye committed Mar 20, 2024
1 parent 5de6c8e commit 0cadd5d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 03xxx/03507.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <iostream>
using namespace std;

void solve(void) {
int n; cin >> n;

cout << (n > 198 ? 0 : 199-n);
}

int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);

solve();
return 0;
}

0 comments on commit 0cadd5d

Please sign in to comment.