結果
問題 | No.522 Make Test Cases(テストケースを作る) |
ユーザー |
![]() |
提出日時 | 2020-07-18 03:29:49 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 251 ms / 2,000 ms |
コード長 | 231 bytes |
コンパイル時間 | 2,960 ms |
コンパイル使用メモリ | 190,908 KB |
最終ジャッジ日時 | 2025-01-11 23:56:28 |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main() {int N;cin >> N;for (int i = 1; i <= N / 3; i++) {for (int j = i; j <= (N - i) / 2; j++) {cout << i << " " << j << " " << N - i - j << "\n";}}}