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_36039455_9979.cpp: In function 'int main()':
0_0_36039455_9979.cpp:7:2: error: expected ';' before 'for'
  for(int i=0;i*50<=n;i++)//5
  ^
0_0_36039455_9979.cpp:7:14: error: 'i' was not declared in this scope
  for(int i=0;i*50<=n;i++)//5
              ^
0_0_36039455_9979.cpp:8:14: error: 'j' was not declared in this scope
  for(int j=0;j*25<=n;j++)//10
              ^
0_0_36039455_9979.cpp:9:14: error: 'k' was not declared in this scope
  for(int k=0;k*10<=n;k++)//25
              ^
0_0_36039455_9979.cpp:10:14: error: 'l' was not declared in this scope
  for(int l=0;l*5<=n;l++)//50
              ^


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-12-03 10:35:53, Gzip enabled