QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#830867 | #8892. Power Grid | edogawa_something# | 0 | 29ms | 3708kb | C++23 | 688b | 2024-12-24 23:57:36 | 2024-12-24 23:57:38 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vii;
typedef pair<ll,ll> pii;
#define F first
#define S second
#define pb push_back
#define all(v) v.begin(),v.end()
const ll M=5e5+10;
const ll inf=2e18;
const ll mod=1e9+7;
ll pow(ll x,ll y,ll mod=mod){
x%=mod;
ll res=1;
while(y>0){
if((y&1)>0)
res*=x,res%=mod;
x*=x,x%=mod;
y/=2;
}
return res;
}
ll n,m;
int main(){
ios_base::sync_with_stdio(0),cin.tie(0);
ll TC=1;
//cin>>TC;
while(TC--){
cin>>n>>m;
for(int i=0;i<n;i++){
for(int j=0;j<m;j++)
cout<<0<<' ';
cout<<'\n';
}
}
}
详细
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 8
Accepted
time: 0ms
memory: 3708kb
input:
1 1 0
output:
0
result:
ok correct
Test #2:
score: 8
Accepted
time: 0ms
memory: 3652kb
input:
1 1 0
output:
0
result:
ok correct
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3572kb
input:
1 2 1 1
output:
0 0
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #2:
score: 0
Skipped
Dependency #1:
0%
Subtask #3:
score: 0
Wrong Answer
Test #23:
score: 11
Accepted
time: 0ms
memory: 3572kb
input:
1 1 0
output:
0
result:
ok correct
Test #24:
score: 0
Wrong Answer
time: 0ms
memory: 3700kb
input:
1 10 230 289 918 752 224 184 573 217 398 715
output:
0 0 0 0 0 0 0 0 0 0
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #4:
score: 0
Wrong Answer
Test #30:
score: 6
Accepted
time: 0ms
memory: 3584kb
input:
2 2 0 0 0 0
output:
0 0 0 0
result:
ok correct
Test #31:
score: 0
Wrong Answer
time: 0ms
memory: 3564kb
input:
2 2 7 7 7 7
output:
0 0 0 0
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #5:
score: 0
Wrong Answer
Test #46:
score: 0
Wrong Answer
time: 0ms
memory: 3656kb
input:
2 4 253 431 207 483 243 65 289 13
output:
0 0 0 0 0 0 0 0
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #6:
score: 0
Wrong Answer
Test #58:
score: 0
Wrong Answer
time: 29ms
memory: 3648kb
input:
1000 1000 1 0 0 1 0 1 0 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 0 1 1 0 1 1 1 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 0 0 0 1 1 0 1 1 ...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #7:
score: 0
Wrong Answer
Test #68:
score: 0
Wrong Answer
time: 1ms
memory: 3700kb
input:
2 2 5 52 52 5
output:
0 0 0 0
result:
wrong answer Rowsum 1 and columnsum 1 did not correspond to C
Subtask #8:
score: 0
Skipped
Dependency #2:
0%
Subtask #9:
score: 0
Skipped
Dependency #1:
0%