結果
| 問題 |
No.2663 Zero-Sum Submatrices
|
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2024-04-25 19:02:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 458 bytes |
| コンパイル時間 | 403 ms |
| コンパイル使用メモリ | 41,088 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-08 06:37:33 |
| 合計ジャッジ時間 | 2,138 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2663.cc: No.2663 Zero-Sum Submatrices - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
/* typedef */
/* global variables */
/* subroutines */
/* main */
int main() {
int n, m;
scanf("%d%d", &n, &m);
int h = 1 << n, w = 1 << m;
for (int i = 0, a = 0; i < h; i++)
for (int j = 0; j < w; j++, a++)
printf("%d%c", a, (j + 1 < w) ? ' ' : '\n');
return 0;
}
tnakao0123