mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-11 00:30:27 +08:00
10 lines
174 B
C++
10 lines
174 B
C++
#include <bits/stdc++.h>
|
|
using namespace std;
|
|
int main(){
|
|
long long x, n;
|
|
cin >> x >> n;
|
|
long long week;
|
|
week = (x + n) / 7 * 2;
|
|
cout << (n - week) * 250;
|
|
return 0;
|
|
} |