結果
| 問題 |
No.2663 Zero-Sum Submatrices
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-09 00:34:34 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 282 bytes |
| コンパイル時間 | 2,032 ms |
| コンパイル使用メモリ | 192,692 KB |
| 最終ジャッジ日時 | 2025-02-20 03:19:37 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int N,M;
cin>>N>>M;
int t=0;
for(int i=0;i<1<<N;i++){
for(int j=0;j<1<<M;j++){
cout<<t<<(j==(1<<M)-1?'\n':' ');
t+=1;
}
}
}