結果
問題 | No.522 Make Test Cases(テストケースを作る) |
ユーザー |
![]() |
提出日時 | 2019-04-10 13:19:28 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 135 ms / 2,000 ms |
コード長 | 198 bytes |
コンパイル時間 | 213 ms |
コンパイル使用メモリ | 28,416 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-07 03:33:22 |
合計ジャッジ時間 | 2,466 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <stdio.h>int main() {int n;scanf("%d",&n);for (int i=1;i<n/3+1;i++) {for (int j=i;j<(n-i)/2+1;j++) {printf("%d %d %d\n",i,j,n-j-i);}}}