coalscam WA!!!

hey after implementing the editorials i m still getting WA…
plzzz…help me up

Do not print the road’s value+ U might get TLE as the question reckons FAST_INPUT usage.

#define llu long long int
llu scan()
    llu noRead=0;
    char p= getchar_unlocked();
     noRead = (noRead << 3) + (noRead << 1) + (p - '0');
    return noRead;

Also use long long int as the answer might overflow the trivial int type.

soorry bt mistake i did post the wrong link
heres my new one
after removing the road value

the code finalyy worked after changing int to long long int .
thnx for ur help.:slight_smile: