代码CE求调
查看原帖
代码CE求调
1205245
HCdnaMDly2013zxy楼主2025/6/22 15:18

有没有dalao帮忙看一下为什么CE

#include <bits/stdc++.h>
using namespace std;

int n, x, y, a, b, g, k;
int num[100000][100000] = {0};

int main() {
	cin >> n;
	for (int i = 1; i <= n; i++) {
		cin >> a >> b >> g >> k;
		for (int j = a; j <= a + g; j++) {
			for (int l = b; l <= b + k; l++) {
				num[i][l]++;
			}
		}
	}
	cin >> x >> y;
	if (num[x][y] == 0) {
		cout << -1;
	} else {
		cout << num[x][y];
	}
	return 0;
}

这是洛谷编辑器的报错,窝不知道是什么意思

No valid executable file was produced by the compiler
./ccZzggYS.o: in function `_GLOBAL__sub_I_src':
src:(.text.startup+0x1b7): relocation truncated to fit: R_X86_64_PC32 against `.bss'
src:(.text.startup+0x1d1): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: 错误:ld 返回 1

2025/6/22 15:18
加载中...