Submission #00006
ソースコード
1 2 3 4 5 6 7 8 9 10 11 | #include<stdio.h> int main(){ int a,b; scanf ( "%d %d" ,&a,&b); if (a-b<10||b-a<10){ printf ( "TNOK\n" ); } else { if (a>b){ printf ( "%d\n" ,a-b); } else { printf ( "%d\n" ,b-a); |
ステータス
項目 | データ |
---|---|
問題 | 0001 - 黒塗りの高級車 |
ユーザー名 | crom |
投稿日時 | 2017-08-10 20:37:47 |
言語 | C |
状態 | Compile Error |
得点 | 0 |
ソースコード長 | 171 Byte |
最大実行時間 | - |
最大メモリ使用量 |
コンパイルメッセージ
./Main.c: In function ‘main’: ./Main.c:11:1: error: expected declaration or statement at end of input printf("%d\n",b-a); ^~~~~~ ./Main.c:11:1: error: expected declaration or statement at end of input ./Main.c:11:1: error: expected declaration or statement at end of input
セット
セット | 得点 | Cases |
---|
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|