mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-07 18:06:58 +08:00
Upload via code
This commit is contained in:
10
Luogu/小鱼的航程.cpp
Normal file
10
Luogu/小鱼的航程.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user