Skip to content

Commit 448b049

Browse files
committed
atcoder/abc060B (feedback from editorial)
1 parent ac64855 commit 448b049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atcoder/abc060/B/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using namespace std;
44
using ll = long long;
55

66
bool solve(int A, int B, int C) {
7-
for (int i = 1; i < 1000; ++i) {
7+
for (int i = 1; i <= B; ++i) {
88
if ((A * i) % B == C) return true;
99
}
1010
return false;

0 commit comments

Comments
 (0)