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_36247352_12237.cpp: In function 'int main()':
0_0_36247352_12237.cpp:19:7: error: incompatible types in assignment of 'll {aka long long int}' to 'll [100520] {aka long long int [100520]}'
     a = mod1[mod[i]] + 1;
       ^
0_0_36247352_12237.cpp:20:5: error: 'b' was not declared in this scope
     b = i;
     ^
0_0_36247352_12237.cpp:24:13: error: invalid conversion from 'll* {aka long long int*}' to 'int' [-fpermissive]
   for(int i=a;i<=b;i++) printf("%d%c", i, (i == b) ? '\n' : ' ');
             ^
0_0_36247352_12237.cpp:24:18: error: 'b' was not declared in this scope
   for(int i=a;i<=b;i++) printf("%d%c", i, (i == b) ? '\n' : ' ');
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 08:49:16, Gzip enabled