Record Detail

Compile Error

/in/ex2.c:3:1: error: expected identifier or '(' before '/' token
 /#define JOJ
 ^
/in/ex2.c:3:2: error: stray '#' in program
 /#define JOJ
  ^
/in/ex2.c: In function 'ex2':
/in/ex2.c:18:20: error: implicit declaration of function 'gcd' [-Werror=implicit-function-declaration]
     printf("%d\n", gcd(a, b));
                    ^~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Homework 4
Language
C
Submit At
2022-10-28 22:34:06
Judged At
2022-10-28 22:34:06
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes