Submission #536351


Source Code Expand

int main(void) {
int a,b,c,d;
scanf("%d %d %d %d\n",&a,&b,&c,&d);
if(c*b==a*d) puts("DRAW");
else if(b*c>a*d) puts("TAKAHASHI");
else puts("AOKI");
}

Submission Info

Submission Time
Task A - 勝率計算
User amamama
Language C (GCC 4.9.2)
Score 0
Code Size 157 Byte
Status RE
Exec Time 24 ms
Memory 804 KB

Compile Error

./Main.c: In function ‘main’:
./Main.c:4:1: warning: incompatible implicit declaration of built-in function ‘scanf’
 scanf("%d %d %d %d\n",&a,&b,&c,&d);
 ^

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 3
RE × 33
Set Name Test Cases
Sample subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt
All 0.txt, 1.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 2.txt, 20.txt, 21.txt, 22.txt, 23.txt, 24.txt, 25.txt, 26.txt, 27.txt, 28.txt, 29.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt
Case Name Status Exec Time Memory
0.txt RE 24 ms 792 KB
1.txt RE 23 ms 804 KB
10.txt RE 23 ms 800 KB
11.txt RE 23 ms 796 KB
12.txt RE 23 ms 716 KB
13.txt RE 23 ms 704 KB
14.txt RE 23 ms 800 KB
15.txt RE 23 ms 800 KB
16.txt RE 24 ms 800 KB
17.txt RE 22 ms 800 KB
18.txt RE 23 ms 796 KB
19.txt RE 23 ms 792 KB
2.txt RE 22 ms 800 KB
20.txt RE 24 ms 792 KB
21.txt RE 23 ms 804 KB
22.txt RE 24 ms 796 KB
23.txt RE 24 ms 708 KB
24.txt RE 22 ms 700 KB
25.txt RE 24 ms 800 KB
26.txt RE 22 ms 800 KB
27.txt RE 24 ms 720 KB
28.txt RE 23 ms 796 KB
29.txt RE 23 ms 800 KB
3.txt RE 24 ms 800 KB
4.txt RE 24 ms 708 KB
5.txt RE 23 ms 704 KB
6.txt RE 23 ms 792 KB
7.txt RE 24 ms 656 KB
8.txt RE 23 ms 704 KB
9.txt RE 22 ms 704 KB
subtask0_sample_01.txt RE 23 ms 796 KB
subtask0_sample_02.txt RE 22 ms 800 KB
subtask0_sample_03.txt RE 23 ms 804 KB