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_37846014_29832.cpp: In function 'int build(int, int)':
0_0_37846014_29832.cpp:29:16: error: 'tot' was not declared in this scope
     int rt = ++tot;
                ^
0_0_37846014_29832.cpp: In function 'int update(int, int, int, int)':
0_0_37846014_29832.cpp:42:16: error: 'tot' was not declared in this scope
     int rt = ++tot;
                ^
0_0_37846014_29832.cpp: In function 'int main(int, const char**)':
0_0_37846014_29832.cpp:69:5: error: 't' was not declared in this scope
     t = read();
     ^
0_0_37846014_29832.cpp:72:9: error: 'n' was not declared in this scope
         n = read(), m = read(), tot = 0;
         ^
0_0_37846014_29832.cpp:72:21: error: 'm' was not declared in this scope
         n = read(), m = read(), tot = 0;
                     ^
0_0_37846014_29832.cpp:72:33: error: 'tot' was not declared in this scope
         n = read(), m = read(), tot = 0;
                                 ^


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-23 06:38:02, Gzip enabled