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_38893340_27322.cpp: In function 'int main()':
0_0_38893340_27322.cpp:32:30: error: 'temp' was not declared in this scope; did you mean 'tm'?
   32 |                 for (int i = temp; i <= n; i++)
      |                              ^~~~
      |                              tm
0_0_38893340_27322.cpp:34:37: error: 'num' was not declared in this scope; did you mean 'enum'?
   34 |                                 if (num + k >= a[i] && num + k < a[i + 1])
      |                                     ^~~
      |                                     enum
0_0_38893340_27322.cpp:40:21: error: 'num' was not declared in this scope; did you mean 'enum'?
   40 |                 if (num + k >= a[n]) printf("why am I so diao?\n");
      |                     ^~~
      |                     enum


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-26 13:11:50, Gzip enabled