Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68069 陈 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 70 2024-03-18 21:14:43

Tests(0/0):


Code:

#include<stdio.h> int a,b; scanf("%d%d",&a,&b); printf("%d",a+b);


Run Info:

Main.cc:4:6: error: expected constructor, destructor, or type conversion before '(' token
 scanf("%d%d",&a,&b);
      ^
Main.cc:5:7: error: expected constructor, destructor, or type conversion before '(' token
 printf("%d",a+b);
       ^