結果
問題 | No.5002 stick xor |
ユーザー |
![]() |
提出日時 | 2022-07-11 14:14:30 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 657 bytes |
コンパイル時間 | 2,878 ms |
実行使用メモリ | 3,508 KB |
スコア | -23 |
最終ジャッジ日時 | 2022-12-17 14:11:29 |
合計ジャッジ時間 | 4,401 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 |
ソースコード
#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;}