Submission #00002


ソースコード

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

ステータス

項目 データ
問題 0001 - 黒塗りの高級車
ユーザー名 Zzz..ei1704..Zzz
投稿日時 2017-08-10 20:33:41
言語 C++
状態 Accepted
得点 19
ソースコード長 186 Byte
最大実行時間 21 ms
最大メモリ使用量 556 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 18 ms 480 KB
1
in2.txt AC 21 ms 456 KB
2
in3.txt AC 17 ms 556 KB
1
in4.txt AC 18 ms 532 KB
2
in5.txt AC 20 ms 504 KB
2