小编Akh*_*dey的帖子

各种C++ main()签名及其效率

最近我在竞争性编程网站上看到了以下给出的代码,

   #include<bits/stdc++.h>
using namespace std;
#define int long long
#define mp make_pair
#define pb push_back
#define d double
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);

signed main()
{ return 0; //Omitted the rest of the code
}
[Full Code][1]
Run Code Online (Sandbox Code Playgroud)

https://www.codechef.com/viewsolution/22121098

我想知道这个代码和常规C++代码int main()在CPU速度方面的效率和性能方面有什么区别,问题集通常很大.

c++ performance program-entry-point signature

-1
推荐指数
2
解决办法
117
查看次数

标签 统计

c++ ×1

performance ×1

program-entry-point ×1

signature ×1