Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134077 gqj 02简单两数相加II C++ Compile Error 0 MS 0 KB 101 2025-10-25 16:23:23

Tests(0/0):


Code:

#include <iostream> using namespace std; int mani(){ int a; int b; cin>>a>>b; cout<<a+b; }


Run Info:

Main.cc: In function 'int mani()':
Main.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status