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_39036955_20324.cpp: In function 'int main()':
0_0_39036955_20324.cpp:160:42: error: 'n1' was not declared in this scope; did you mean 'n'?
  160 |                 printf("%04d/%02d/%02d ",n1,yf1,rq1);
      |                                          ^~
      |                                          n
0_0_39036955_20324.cpp:160:45: error: 'yf1' was not declared in this scope
  160 |                 printf("%04d/%02d/%02d ",n1,yf1,rq1);
      |                                             ^~~
0_0_39036955_20324.cpp:160:49: error: 'rq1' was not declared in this scope
  160 |                 printf("%04d/%02d/%02d ",n1,yf1,rq1);
      |                                                 ^~~
0_0_39036955_20324.cpp:161:43: error: 'n2' was not declared in this scope; did you mean 'n'?
  161 |                 printf("%04d/%02d/%02d\n",n2,yf2,rq2);
      |                                           ^~
      |                                           n
0_0_39036955_20324.cpp:161:46: error: 'yf2' was not declared in this scope
  161 |                 printf("%04d/%02d/%02d\n",n2,yf2,rq2);
      |                                              ^~~
0_0_39036955_20324.cpp:161:50: error: 'rq2' was not declared in this scope
  161 |                 printf("%04d/%02d/%02d\n",n2,yf2,rq2);
      |                                                  ^~~


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-21 08:46:10, Gzip enabled