跳到正文

个人记录

ChatGPT是如何判断算法的:

szkzyc约 1 分钟
原文
文章信息与版本

文章信息

发布
2023年2月13日
收录
2025年12月12日
更新
2026年11月9日
篇幅
约 1 分钟

版本

  1. v1当前

我发了如下:

C++
#include<bits/stdc++.h>
using namespace std;
int Binary_Search(int x, int y){
	cout << x + y << endl;
	return 113;
}
signed main(){
	int a, b;
	cin >> a >> b;
	Binary_Search(a, b);
return 0;
}这段代码是什么算法

ChatGPT老哥回答的是:

代码
这段代码是二分搜索算法。

666

原文
存档评论2 条抓取于