結果
問題 | No.2700 Please Hack Greedy Solution! |
ユーザー |
![]() |
提出日時 | 2024-03-30 01:22:12 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1 ms / 500 ms |
コード長 | 332 bytes |
コンパイル時間 | 5,661 ms |
コンパイル使用メモリ | 251,180 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-06 11:38:23 |
合計ジャッジ時間 | 6,082 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include <bits/stdc++.h>using namespace std;void fast_io() {ios::sync_with_stdio(false);std::cin.tie(nullptr);}int main() {fast_io();cout << 1000 << " " << 1000 << "\n";cout << 1000 << " " << 1 << "\n";for (int i = 2; i <= 1000; i++) {cout << 1001 * (i - 1) << " " << i << "\n";}}