結果

問題 No.3106 Simple Math Problem 3
ユーザー noya2
提出日時 2025-04-07 03:06:42
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 518 bytes
コンパイル時間 7,601 ms
コンパイル使用メモリ 260,324 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-08 22:11:50
合計ジャッジ時間 7,651 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 42
権限があれば一括ダウンロードができます

ソースコード

diff #

#include"testlib.h"

using ll = long long;
const ll Nmin = 1;
const ll Nmax = 1'000'000'000'000LL;

int main(){
    registerValidation();
    ll N = inf.readLong(Nmin, Nmax);
    inf.readEoln();
    inf.readEof();
    return 0;
    // sample 1 explanation ok
    if (N <= 100){
        for (ll A = 1; A <= N; A++){
            for (ll B = 1; B <= A; B++){
                if (B * (A % B) < A){
                    std::cout << A << ' ' << B << ' ' << A%B << std::endl;
                }
            }
        }
    }
}
0