結果

問題 No.2799 Cut and Eat
コンテスト
ユーザー 👑 potato167
提出日時 2024-06-25 03:12:42
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.90.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 509 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,382 ms
コンパイル使用メモリ 337,472 KB
実行使用メモリ 9,140 KB
最終ジャッジ日時 2026-07-05 01:54:08
合計ジャッジ時間 6,735 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2 RE * 1
other WA * 8 RE * 23
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
using ll = long long;
const ll MIN_N = 1;
const ll MAX_N = 100;
const ll MIN_K = 1;
const ll MAX_K = 1'000'000'000;
const ll MIN_A = 1;
const ll MAX_A = 1'000'000'000;


int main(){
	registerValidation();
	ll N = inf.readLong(MIN_N, MAX_N);
	inf.readSpace();
	ll K = inf.readLong(MIN_K, MAX_K);
	inf.readEoln();
	for (ll i = 0; i < N; i++){
		if (i) inf.readSpace();
		ll ai = inf.readLong(MIN_N, MAX_N);
	}
	inf.readEoln();
	inf.readEof();
}
0