結果
| 問題 | 
                            No.2663 Zero-Sum Submatrices
                             | 
                    
| コンテスト | |
| ユーザー | 
                             keisuke6
                         | 
                    
| 提出日時 | 2024-03-08 22:08:27 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 44 ms / 2,000 ms | 
| コード長 | 220 bytes | 
| コンパイル時間 | 2,046 ms | 
| コンパイル使用メモリ | 191,488 KB | 
| 最終ジャッジ日時 | 2025-02-20 02:28:24 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 31 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
    int H,W;
    cin>>H>>W;
    for(int i=0;i<(1<<H);i++){
    	for(int j=0;j<(1<<W);j++) cout<<i*(1<<W)+j<<' ';
    	cout<<endl;
    }
}
            
            
            
        
            
keisuke6