結果
問題 |
No.2663 Zero-Sum Submatrices
|
ユーザー |
![]() |
提出日時 | 2024-03-09 05:22:58 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 15 ms / 2,000 ms |
コード長 | 454 bytes |
コンパイル時間 | 2,319 ms |
コンパイル使用メモリ | 192,400 KB |
最終ジャッジ日時 | 2025-02-20 03:25:07 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> #ifdef LOCAL #include "./debug.cpp" #else #define debug(...) #define print_line #endif using namespace std; using ll = long long; int main() { int N, M; cin >> N >> M; int tmp = 0; for (int i = 0; i < 1 << N; i++) { for (int j = 0; j < 1 << M; j++) { if (j > 0) { cout << ' '; } cout << tmp; tmp++; } cout << endl; } }