結果

問題 No.128 お年玉(1)
コンテスト
ユーザー er aser
提出日時 2026-02-07 00:18:26
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 809 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,994 ms
コンパイル使用メモリ 213,008 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2026-02-07 00:18:30
合計ジャッジ時間 3,370 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
using ll=long long;
using ull=unsigned long long int;
using i128=__int128_t;
using ld=long double;
using pii=pair<int,int>;
using vl=vector<ll>;
using vll=vector<vector<ll>>;
using vs=vector<string>;
using vss=vector<vector<string>>;
using vc=vector<char>;
using vcc=vector<vector<char>>;
int ri() {int n;cin>>n;return n;}
ll rii() {ll n;cin>>n;return n;}
double rd() {double n;cin>>n;return n;}
string rs() {string n;cin>>n;return n;}
char rss() {char n;cin>>n;return n;}
//const int inf=1e9;
//const ll linf=1000000000000000000LL;
//const int mod=998244353;

auto solve() {
	ll n,m;
	cin>>n>>m;
	cout<<(n/m)*1000<<endl;
}

int main(void) {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    solve();
    return 0;
}
0