結果
| 問題 | No.2663 Zero-Sum Submatrices |
| コンテスト | |
| ユーザー |
inkyaman
|
| 提出日時 | 2024-03-22 00:57:35 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 593 bytes |
| 記録 | |
| コンパイル時間 | 816 ms |
| コンパイル使用メモリ | 134,656 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-04 04:54:25 |
| 合計ジャッジ時間 | 2,548 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#define _USE_MATH_DEFINES
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <math.h>
#include <cmath>
#include <stack>
#include <map>
#include <set>
#include <numeric>
#include <iomanip>
#include <climits>
#include <functional>
#include <cassert>
#include <tuple>
using namespace std;
using ll = long long;
int n,m;
int main() {
cin >> n >> m;
int cnt = 0;
for(int i = 0; i < (1<<n); ++i) {
for(int j = 0 ; j < (1<<m); ++j) {
cout << cnt << " ";
cnt++;
}
cout << endl;
}
}
inkyaman