Mã chấm: 15269
Main.c: In function ‘main’:
Main.c:7:16: error: invalid suffix "x" on integer constant
printf("%d", 3x-a-b);
^~
Main.c:4:10: warning: unused variable ‘c’ [-Wunused-variable]
int a,b,c,x;
^
Main.c:5:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &x);
^~~~~~~~~~~~~~~~~~~~~~~~~~~