Submission #63180
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #include<stdio.h> int main( void ){ int a,b; scanf ( "%d %d" ,&a,&b); if (a>b){ if (a-b>10) printf ( "%d\n" ,a-b); else printf ( "TNOK\n" ); } else { if (b-a>10) printf ( "%d\n" ,b-a); else printf ( "TNOK\n" ); } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0814 - 黒塗りの高級車 |
ユーザー名 | sth19_y-kusunoki |
投稿日時 | 2020-08-28 14:04:43 |
言語 | C |
状態 | Accepted |
得点 | 5 |
ソースコード長 | 244 Byte |
最大実行時間 | 37 ms |
最大メモリ使用量 | 548 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | distance | 2 / 2 | in1.txt, in3.txt |
2 | TNOK | 3 / 3 | in2.txt, in4.txt, in5.txt |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # | |
---|---|---|---|---|---|
in1.txt | AC | 37 ms | 504 KB |
1
|
|
in2.txt | AC | 23 ms | 304 KB |
2
|
|
in3.txt | AC | 16 ms | 316 KB |
1
|
|
in4.txt | AC | 24 ms | 368 KB |
2
|
|
in5.txt | AC | 15 ms | 548 KB |
2
|