結果
| 問題 |
No.522 Make Test Cases(テストケースを作る)
|
| コンテスト | |
| ユーザー |
CuriousFairy315
|
| 提出日時 | 2017-06-20 19:13:25 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1,098 ms / 2,000 ms |
| コード長 | 223 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 55,196 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-02 07:47:18 |
| 合計ジャッジ時間 | 3,488 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<iostream>
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 << endl;
}
}
return 0;
}
CuriousFairy315