結果
問題 | No.2663 Zero-Sum Submatrices |
ユーザー | askr58 |
提出日時 | 2024-03-08 21:46:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 2,000 ms |
コード長 | 237 bytes |
コンパイル時間 | 3,300 ms |
コンパイル使用メモリ | 242,928 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-09-29 19:26:49 |
合計ジャッジ時間 | 3,819 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll=long long; int main(){ int n,m; cin>>n>>m; int a=1<<n,b=1<<m; for(int i=0;i<a;i++){ for(int j=0;j<b;j++){ cout<<b*i+j; if(j<b-1)cout<<" "; else cout<<endl; } } }