QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#515604 | #8049. Equal Sums | yz_ly | Compile Error | / | / | C++14 | 945b | 2024-08-11 19:10:31 | 2024-08-11 19:10:32 |
Judging History
answer
#include<bits/stdc++.h>
#define ll long long
using namespace std;
inline int read(){
int f=1,x=0;
char ch=getchar();
while(ch<'0'||ch>'9'){
if(ch=='-')
f=-f;
ch=getchar();
}
while(ch>='0'&&ch<='9'){
x=x*10+ch-'0';
ch=getchar();
}
return f*x;
}
inline void work(int k){
if(k<0){
putchar('-');
k=-k;
}
if(k>9)
work(k/10);
putchar(k%10+'0');
}
const int mod=998244353;
int n,m;
ll dp[505][250005],f[505][250005],sum[505][250005],sum1[505][250005];
pair<int,int> a[505],b[505];
int main(){
n=read();
m=read();
for(int i=1;i<=n;i++){
a[i].first=read();
a[i].second=read();
}
for(int i=1;i<=m;i++){
b[i].first=read();
b[i].second=read();
}
for(int i=0;i<=500;i++){
for(int j=0;j<=250000;j++){
dp[i][j]=f[i][j]=sum[i][j]=sum1[i][j]=1;
}
}
dp[0][0]=f[0][0]=1;
for(int i=1;i<=250000;i++){
}
for(int i=1;i<=n;i++){
// for(int )
}
return 0;
}
详细
/tmp/ccDKnpcj.o: in function `main': answer.code:(.text.startup+0x13): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x1e): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x111): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x11d): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x20a): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x22c): relocation truncated to fit: R_X86_64_PC32 against symbol `dp' defined in .bss section in /tmp/ccDKnpcj.o answer.code:(.text.startup+0x2a6): relocation truncated to fit: R_X86_64_PC32 against symbol `dp' defined in .bss section in /tmp/ccDKnpcj.o collect2: error: ld returned 1 exit status