Tag: (8VC Venture Cup 2017 - Final Round Div. 2 Edition)
Codeforces Round #393 (Div....
#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9+7;
long long...
Codeforces Round #393 (Div....
#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5;
int a;
struct...
Codeforces Round #393 (Div....
#include <stdio.h>
#define SIZE 100010
struct ride {
int cost, t;
} r;
int...
Codeforces Round #393 (Div....
#include <stdio.h>
#define N 200000
int pp, used;
void dfs(int i) {
if...
Codeforces Round #393 (Div....
#include <stdio.h>
int main()
{
int n, m, k, h, l, r;
scanf("%d...
Codeforces Round #393 (Div....
#include<stdio.h>
int main()
{
int a={31,28,31,30,31,30,31,31,30,31,30,31};
int i,m,d,k,n,p;
scanf("%d %d",&m,&d);
k=7-d+1;
i=m-1;
n=a-k;
p=n/7;
if(p*7!=n)
p++;
printf("%d",p+1);
}