結果

問題 No.2239 Friday
コンテスト
ユーザー vjudge1
提出日時 2025-11-20 16:51:39
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 231 bytes
コンパイル時間 531 ms
コンパイル使用メモリ 65,884 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-11-20 16:51:41
合計ジャッジ時間 1,670 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;

int mod(int A, int B){
    if (A > B){
        return A - B;
    }
    return B - A;
}

int main(){
    int A,B;
    cin >> A >> B;
    cout<<mod(A,B);
}
0