結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 01:05:36 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 334 bytes |
| 記録 | |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 34,560 KB |
| 実行使用メモリ | 30,320 KB |
| 平均クエリ数 | 18782.41 |
| 最終ジャッジ日時 | 2026-04-18 01:05:50 |
| 合計ジャッジ時間 | 5,103 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 40 |
ソースコード
#include <stdio.h>
int main(void) {
int N, M;
scanf("%d %d", &N, &M);
for (int i = 0; i < M; i++) {
int A, B;
scanf("%d %d", &A, &B);
if (A < B) {
printf("%d %d\n", A, B);
} else {
printf("%d %d\n", B, A);
}
fflush(stdout);
}
return 0;
}