/ SeriousOJ /

Record Detail

Compile Error

foo.c: In function 'main':
foo.c:6:24: error: expected expression before '%' token
    6 |         scanf("%d",&a, %b);
      |                        ^

Code

#include <stdio.h>

int main()
{
    int a,b;
	scanf("%d",&a, %b);
	printf("%d", a+b);
}

Information

Submit By
Type
Submission
Problem
P1000 A + B
Language
C99 (GCC 13.2.0)
Submit At
2025-05-03 07:53:59
Judged At
2025-05-03 07:53:59
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes