/ SeriousOJ /

Record Detail

Compile Error

foo.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | {
      | ^

Code

#include <stdio.h>
int main
{
    int a, b;

    scanf("%d %d", &a, &b);

    printf("%d\n", a + b);

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1000 A + B
Language
C99 (GCC 13.2.0)
Submit At
2023-12-31 12:34:05
Judged At
2023-12-31 12:34:05
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes