Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67659 殷震博 桃子问题 C++ Compile Error 0 MS 0 KB 155 2024-03-17 11:51:02

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int u(int n){ if(n==1){ return ; } else{ } } int main(){ cout<<"1534"; return 0; }


Run Info:

Main.cc: In function 'int u(int)':
Main.cc:5:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   return ;
   ^