結果

問題 No.2663 Zero-Sum Submatrices
ユーザー Diana773
提出日時 2024-03-08 21:08:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 279 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 62,720 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-09-29 18:51:22
合計ジャッジ時間 1,745 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cstdio>

using namespace std;

int n,m;
int ccf;

int main()
{
	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<<ccf<<' ';
			ccf++;
		}
		cout<<'\n';
	}
	
	
	return 0;
}
0