結果

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

ソースコード

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/1000)/6)*1000<<endl;
}

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