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_23703721_3256.cpp: In function 'int main()':
0_0_23703721_3256.cpp:6:2: error: '_int64' was not declared in this scope
  _int64 div[30], a[30];
  ^
0_0_23703721_3256.cpp:7:2: error: 'a' was not declared in this scope
  a[1] = 0; 
  ^
0_0_23703721_3256.cpp:9:9: error: assignment of function 'div_t div(int, int)'
  div[0] = 1;
         ^
0_0_23703721_3256.cpp:9:9: error: cannot convert 'int' to 'div_t(int, int) {aka _div_t(int, int)}' in assignment
0_0_23703721_3256.cpp:10:9: error: assignment of read-only location '*(div + 1u)'
  div[1] = 1;
         ^
0_0_23703721_3256.cpp:10:9: error: cannot convert 'int' to 'div_t(int, int) {aka _div_t(int, int)}' in assignment
0_0_23703721_3256.cpp:11:9: error: assignment of read-only location '*(div + 2u)'
  div[2] = 2;
         ^
0_0_23703721_3256.cpp:11:9: error: cannot convert 'int' to 'div_t(int, int) {aka _div_t(int, int)}' in assignment
0_0_23703721_3256.cpp:16:23: error: invalid operands of types 'int' and 'div_t(int, int) {aka _div_t(int, int)}' to binary 'operator*'
   div[i] = i*div[i - 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-16 19:48:13, Gzip enabled