Submission #00030


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <bits/stdc++.h>
#include<gmpxx.h>
#define yes cout<<"Yes\n"
#define no cout<<"No\n"
#define lmax LONG_LONG_MAX
#define lmin LONG_LONG_MIN
#define imax INT_MAX
#define imin INT_MIN
#define ll long long
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<abs(a-b)<<endl;
return (0);
}

ステータス

項目 データ
問題 0003 - 赤とんぼ
ユーザー名 gousuper(r2204)
投稿日時 2024-04-26 16:01:46
言語 C++17
状態 Accepted
得点 5
ソースコード長 329 Byte
最大実行時間 44 ms
最大メモリ使用量 508 KB

セット

セット 得点 Cases
1 ALL 5 / 5 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 44 ms 476 KB
1
in2.txt AC 20 ms 420 KB
1
in3.txt AC 20 ms 392 KB
1
in4.txt AC 19 ms 496 KB
1
in5.txt AC 19 ms 468 KB
1
in6.txt AC 20 ms 436 KB
1
in7.txt AC 27 ms 408 KB
1
in8.txt AC 20 ms 508 KB
1
in9.txt AC 20 ms 480 KB
1
in10.txt AC 19 ms 448 KB
1