結果

問題 No.3368 トッピング
コンテスト
ユーザー Naru820
提出日時 2025-11-08 20:28:37
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 855 bytes
コンパイル時間 9,664 ms
コンパイル使用メモリ 352,676 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-11-17 20:44:19
合計ジャッジ時間 10,677 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 2 RE * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

// 目がついてなさすぎる...
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
#define all(a) begin(a), end(a)

const int min_N = 2;
const int max_N = 300;
const int min_M = 1;
const int max_M = 10;
const int min_C = 1;
const int max_C = 1e9;
const int min_A = 1;
const int max_A = 1e9;

int main() {
    registerValidation();
    int N = inf.readInt(min_N, max_N);
    inf.readSpace();
    int M = inf.readInt(min_M, max_M);
    inf.readSpace();
    int C = inf.readInt(min_C, max_C);
    inf.readSpace();
    int X = inf.readInt(0,N);
    inf.readEoln();
    for(int i = 0; i < N; i++){
        for(int j = 0; j < M; j++){
            int A = inf.readInt(min_A, max_A);
            if(j+1 < M) inf.readSpace();
            else inf.readEoln();
        }
    }
    inf.readEof();
}
0