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_23006980_7234.cpp: In function 'int main()':
0_0_23006980_7234.cpp:9:13: error: 'i' was not declared in this scope
         for(i=x;i<=y;i++)
             ^
0_0_23006980_7234.cpp:11:16: error: 'j' was not declared in this scope
            for(j=2,j*j<=i,j++) 
                ^
0_0_23006980_7234.cpp:17:9: error: expected primary-expression before 'if'
         if(c!=1)
         ^
0_0_23006980_7234.cpp:17:9: error: expected ';' before 'if'
0_0_23006980_7234.cpp:17:9: error: expected primary-expression before 'if'
0_0_23006980_7234.cpp:17:9: error: expected ')' before 'if'
0_0_23006980_7234.cpp:17:12: error: 'c' was not declared in this scope
         if(c!=1)
            ^


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-17 19:37:43, Gzip enabled