From 394b12e06d2e012b20c57461372a65168dc5c5ed Mon Sep 17 00:00:00 2001 From: qq_44193969 Date: Mon, 29 Aug 2022 11:34:38 +0800 Subject: [PATCH] add algorithm --- .../1.\347\254\254\345\207\240\345\244\251/solution.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/data/1.\347\256\227\346\263\225\345\210\235\351\230\266/2.\350\223\235\346\241\245\346\235\257-\347\256\200\345\215\225/1.\347\254\254\345\207\240\345\244\251/solution.md" "b/data/1.\347\256\227\346\263\225\345\210\235\351\230\266/2.\350\223\235\346\241\245\346\235\257-\347\256\200\345\215\225/1.\347\254\254\345\207\240\345\244\251/solution.md" index e406f3a1e..82a5b45c1 100644 --- "a/data/1.\347\256\227\346\263\225\345\210\235\351\230\266/2.\350\223\235\346\241\245\346\235\257-\347\256\200\345\215\225/1.\347\254\254\345\207\240\345\244\251/solution.md" +++ "b/data/1.\347\256\227\346\263\225\345\210\235\351\230\266/2.\350\223\235\346\241\245\346\235\257-\347\256\200\345\215\225/1.\347\254\254\345\207\240\345\244\251/solution.md" @@ -27,7 +27,7 @@ int main() swap(time1, time2); y1 = time1 / 10000, m1 = time1 % 10000 / 100, d1 = time1 % 100; - y1 = time2 / 10000, m2 = time2 % 10000 / 100, d2 = time2 % 100; + y2 = time2 / 10000, m2 = time2 % 10000 / 100, d2 = time2 % 100; int ans = 1; while (y1 < y2 || m1 < m2 || d1 < d2) -- GitLab