Submission #64126


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
#include<bits/stdc++.h>
using namespace std;
signed main(){
int a,b;
cin>>a>>b;
if(abs(a-b)<=10){
cout<<"TNOK\n";
}else{
cout<<abs(a-b)<<"\n";
}
return(0);
}

ステータス

項目 データ
問題 0814 - 黒塗りの高級車
ユーザー名 ei2038
投稿日時 2020-09-17 18:21:44
言語 C++17
状態 Accepted
得点 5
ソースコード長 208 Byte
最大実行時間 23 ms
最大メモリ使用量 608 KB

セット

セット 得点 Cases
1 distance 2 / 2 in1.txt, in3.txt
2 TNOK 3 / 3 in2.txt, in4.txt, in5.txt

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 23 ms 600 KB
1
in2.txt AC 19 ms 440 KB
2
in3.txt AC 20 ms 408 KB
1
in4.txt AC 19 ms 508 KB
2
in5.txt AC 19 ms 608 KB
2