mirror of
https://github.com/ada-dmitry/TMP_C712.git
synced 2026-09-24 09:10:16 +00:00
added more task
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int day, n, ans;
|
||||
|
||||
scanf("%d%d", &n, &day);
|
||||
|
||||
ans = (n - day) / 7 + 1;
|
||||
|
||||
printf("%d\n", ans);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user