結果
| 問題 | No.8106 Toptree is but what is not. |
| コンテスト | |
| ユーザー |
👑 Nachia
|
| 提出日時 | 2023-03-30 09:19:09 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 73 ms / 4,000 ms |
| コード長 | 355 bytes |
| 記録 | |
| コンパイル時間 | 507 ms |
| コンパイル使用メモリ | 38,528 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-06-30 02:34:06 |
| 合計ジャッジ時間 | 1,545 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#include <cstdio>
int readInt(){ int buf; scanf("%d", &buf); return buf; }
int main(){
int n = readInt();
for(int i=0; i<n-1; i++){ readInt(); readInt(); }
for(int i=0; i<n; i++) readInt();
int q = readInt();
for(int i=0; i<q; i++){
readInt();
readInt();
readInt();
printf("%d\n", readInt());
}
}
Nachia