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_32671777_32741.cpp:3:9: error: '_int32' was not declared in this scope
 bool pr(_int32 n)
         ^
0_0_32671777_32741.cpp:4:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_32671777_32741.cpp: In function 'int main()':
0_0_32671777_32741.cpp:14:2: error: '_int32' was not declared in this scope
  _int32 n, tmp, cnt;
  ^
0_0_32671777_32741.cpp:15:9: error: 'n' was not declared in this scope
  cin >> n;
         ^
0_0_32671777_32741.cpp:16:2: error: 'cnt' was not declared in this scope
  cnt = 0;
  ^
0_0_32671777_32741.cpp:17:14: error: expected ';' before 'i'
  for (_int32 i = 0; i < n; i++)
              ^
0_0_32671777_32741.cpp:17:21: error: 'i' was not declared in this scope
  for (_int32 i = 0; i < n; i++)
                     ^
0_0_32671777_32741.cpp:19:10: error: 'tmp' was not declared in this scope
   cin >> tmp;
          ^
0_0_32671777_32741.cpp:20:13: error: 'pr' cannot be used as a function
   if (pr(tmp) == true)
             ^


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-18 14:46:28, Gzip enabled