結果
問題 | No.2663 Zero-Sum Submatrices |
ユーザー | anonymously |
提出日時 | 2024-03-08 21:17:51 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 246 bytes |
コンパイル時間 | 1,915 ms |
コンパイル使用メモリ | 200,952 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-09-29 18:55:06 |
合計ジャッジ時間 | 2,817 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n,m; cin >> n >> m; int N=1<<n; int M=1<<m; for(int i=0;i<N;i++){ for(int j=0;j<M;j++){ if(j)cout << ' '; cout << (i*M+j); } cout << endl; } return EXIT_SUCCESS; }