結果
| 問題 |
No.383 レーティング
|
| コンテスト | |
| ユーザー |
hamray
|
| 提出日時 | 2017-11-16 23:09:56 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 327 bytes |
| コンパイル時間 | 683 ms |
| コンパイル使用メモリ | 72,608 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-25 06:55:06 |
| 合計ジャッジ時間 | 1,175 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 1 |
ソースコード
#include<iostream>
#include<iomanip>
#include<cmath>
#include<string>
#include<algorithm>
#include<vector>
#include<math.h>
#include<stack>
using namespace std;
int main(void){
int H, W; cin >> H >> W;
if(W - H >=0) cout << "+" << W - H << endl;
if(W - H < 0) cout << "-" << abs(W - H) << endl;
return 0;
}
hamray