結果

問題 No.383 レーティング
ユーザー appren
提出日時 2019-05-20 00:50:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 201 bytes
コンパイル時間 1,672 ms
コンパイル使用メモリ 164,932 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-17 06:37:25
合計ジャッジ時間 2,047 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    int c=a-b;
    if(c>0)
    cout<<"+"<<c<<endl;
    else if(c<0)
    cout<<c<<endl;
    else
    cout<<0<<endl;
}
0