F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27171178_19766.cpp: In member function 'bool node::operator>(const node&)':
0_0_27171178_19766.cpp:12:23: error: 'poi' was not declared in this scope
         if((__int128)(poi[a].num-num)*poi[a].to>(__int128)(poi[a].c-c))return 1;
                       ^
0_0_27171178_19766.cpp: In function 'void dfs(int, int)':
0_0_27171178_19766.cpp:26:43: error: invalid types 'll {aka long long int}[int]' for array subscript
     poi[x].c = x*poi[x].prb - poi[x].pra[x];
                                           ^
0_0_27171178_19766.cpp:39:26: error: 'a' was not declared in this scope
         poi[x].to = (poi[a].c-c)/(poi[a].num-num);
                          ^
0_0_27171178_19766.cpp:39:31: error: 'c' was not declared in this scope
         poi[x].to = (poi[a].c-c)/(poi[a].num-num);
                               ^
0_0_27171178_19766.cpp:39:46: error: 'num' was not declared in this scope
         poi[x].to = (poi[a].c-c)/(poi[a].num-num);
                                              ^
0_0_27171178_19766.cpp:45:7: error: 'fail' was not declared in this scope
     q[fail]=poi[x].fa;
       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-15 07:09:26, Gzip enabled