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_18990095_7043.cpp: In function 'int main()':
0_0_18990095_7043.cpp:11:28: error: 'ts' was not declared in this scope
             scanf("%d %d",&ts[i],&te[i]);
                            ^
0_0_18990095_7043.cpp:11:35: error: 'te' was not declared in this scope
             scanf("%d %d",&ts[i],&te[i]);
                                   ^
0_0_18990095_7043.cpp:15:20: error: 'te' was not declared in this scope
                 if(te[j]>te[j+1]){
                    ^
0_0_18990095_7043.cpp:16:26: error: 'ts' was not declared in this scope
                     swap(ts[j],ts[j+1]);
                          ^
0_0_18990095_7043.cpp:23:15: error: 'te' was not declared in this scope
         minjs=te[0];
               ^
0_0_18990095_7043.cpp:26:23: error: 'ts' was not declared in this scope
             if(minjs<=ts[i]){
                       ^


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-09-28 14:14:33, Gzip enabled