Accepted
Code
#include <bits/stdc++.h>
using namespace std;
using namespace chrono;
vector<string> strings{
"RGB",
"GRB",
"GBR",
"BGR",
"BRG",
"RBG"
};
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n; cin >> n;
for (int i = 1; i <= 10; i++) if (n*i % 10 == 0) {
cout << i;
break;
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1012 Zéros de fin
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-07-14 18:21:58
- Judged At
- 2025-07-14 18:21:58
- Judged By
- Score
- 100
- Total Time
- 2ms
- Peak Memory
- 536.0 KiB