From fcd8be37a7c838ccaa976b1a847c253a12ec7c48 Mon Sep 17 00:00:00 2001 From: xingyou wu <3050128610@qq.com> Date: Sat, 29 Mar 2025 17:26:54 +0800 Subject: [PATCH] rename --- 13lanqiao/test3.cpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 13lanqiao/test3.cpp diff --git a/13lanqiao/test3.cpp b/13lanqiao/test3.cpp deleted file mode 100644 index 271a812..0000000 --- a/13lanqiao/test3.cpp +++ /dev/null @@ -1,21 +0,0 @@ -// lanqiao 2098 刷题统计(枚举法) -#include -using namespace std; -#define int long long -signed main(){ - int a, b, n; cin >> a >> b >> n; - int sum = 0, i; - for(i = 1; ;i++){ - if(i % 7 != 0 && i % 7 != 6){ - sum += a; - }else{ - sum += b; - } - if(sum >= n) break; - } - cout << i << endl; - return 0; -} -/* test samples -> 8 -10 20 99 -*/ \ No newline at end of file