結果
| 問題 | No.353 ヘイトプラス | 
| コンテスト | |
| ユーザー |  zaichu | 
| 提出日時 | 2016-04-01 22:56:07 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 516 bytes | 
| コンパイル時間 | 779 ms | 
| コンパイル使用メモリ | 91,484 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-29 13:18:40 | 
| 合計ジャッジ時間 | 1,390 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 7 | 
ソースコード
#include <iostream>
#include <vector>
#include <cmath>
#include <iomanip>
#include <array>
#include <tuple>
#include <algorithm>
#include <map>
#include <stack>
#include <queue>
#include <set>
#include <list>
#include <cstdio>
#include <limits.h>
#include <string.h>
using namespace std;
int a,b;
void input(){
    cin >> a >> b;
    a = -1*a;
}
int solve(){
    return a-b;
}
int main(){
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);
    input();
    cout << abs(solve()) << endl;
    return 0;
}
            
            
            
        