結果
問題 | No.2663 Zero-Sum Submatrices |
ユーザー |
![]() |
提出日時 | 2024-03-08 21:24:08 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 2,919 ms |
コンパイル使用メモリ | 244,028 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-09-29 18:57:14 |
合計ジャッジ時間 | 3,509 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> using namespace std; int N, M; int main(void){ ios::sync_with_stdio(false); cin.tie(0); cin >> N >> M; for(int i = 0;i < 1 << N;i++){ for(int j = 0;j < 1 << M;j++){ cout << (i << M | j) << " \n"[j + 1 == (1 << M)]; } } return 0; }