Problem medianontree
User bribritt
Submission Time 2023-12-16 10:42:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianontree.cpp: In function ‘int main()’:
medianontree.cpp:25:20: error: ‘n’ was not declared in this scope
25 | for(int i=1,u,v;i<n;i++) {
| ^
medianontree.cpp:30:14: error: conversion from ‘int’ to non-scalar type ‘ii’ {aka ‘std::pair<long long int, long long int>’} requested
30 | ii maxdeg = 0;
| ^