結果
| 問題 |
No.128 お年玉(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-01-25 13:34:11 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 283 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 58,748 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-01 09:44:59 |
| 合計ジャッジ時間 | 1,092 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <string>
#include <algorithm>
int main(){
long long int n,m;
std::cin >> n >> m;
long long int mod = n % (1000*m);
n -= mod;
std::cout << n/m << std::endl;
}