結果
| 問題 |
No.2088 数当てゲーム
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-08-20 16:19:08 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 296 bytes |
| コンパイル時間 | 715 ms |
| コンパイル使用メモリ | 65,928 KB |
| 最終ジャッジ日時 | 2025-01-31 02:05:55 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
#include <iostream>
#include <stdio.h>
#include <stdint.h>
using namespace std;
using ll = long long;
#define CIN( LL , A ) LL A; cin >> A
#define RETURN( ANSWER ) cout << ( ANSWER ) << endl; return 0
int main()
{
CIN( ll , A );
CIN( ll , B );
RETURN( A == 1 ? 0 : -B / ( A - 1 ) );
}