結果
| 問題 |
No.5002 stick xor
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-31 12:50:22 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 1,000 ms |
| コード長 | 739 bytes |
| コンパイル時間 | 2,775 ms |
| 実行使用メモリ | 3,452 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2022-07-31 12:50:26 |
| 合計ジャッジ時間 | 3,303 ms |
|
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 |
ソースコード
// 777395のコピペ
// https://twitter.com/yukicoder/status/1553445730261471232
#include <cassert>
#include <cmath>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <climits>
#include <map>
#include <queue>
#include <set>
#include <cstring>
#include <vector>
using namespace std;
typedef long long ll;
const int N = 60;
int K;
int A[N][N];
vector<int> L;
int main() {
int _N;
cin >> _N >> K;
L.reserve(K);
for (int i = 0; i < K; ++i) {
cin >> L[i];
}
for (int y = 0; y < N; ++y) {
string row;
cin >> row;
for (int x = 0; x < N; ++x) {
int v = row[x] - '0';
A[y][x] = v;
}
}
for (int i = 0; i < K; ++i) {
cout << "1 1 1 " << L[i] << endl;
}
return 0;
}