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_38486577_530.cpp: In function 'void solve(int)':
0_0_38486577_530.cpp:18:34: error: assignment of read-only parameter 's'
  for (int s1 = s ^ lowbit; s1; s = (s1 - 1) & s) if (s1 & lowbit) {
                                  ^
0_0_38486577_530.cpp:24:21: error: 's2' was not declared in this scope
   for (int s1 = s1; s2; s2 = (s2 - 1) & s1) if (s2 & low1) {
                     ^
0_0_38486577_530.cpp: In function 'int main()':
0_0_38486577_530.cpp:45:31: error: 'mesmet' was not declared in this scope
   mesmet(ecnt, 0, sizeof(ecnt));
                               ^
0_0_38486577_530.cpp:46:8: error: 'itn' was not declared in this scope
   for (itn i = 0, f, t; i < m; i++) {
        ^
0_0_38486577_530.cpp:46:25: error: 'i' was not declared in this scope
   for (itn i = 0, f, t; i < m; i++) {
                         ^
0_0_38486577_530.cpp:47:4: error: 'f' was not declared in this scope
    f = ReadInt() - 1, t = ReadInt() - 1;
    ^
0_0_38486577_530.cpp:47:23: error: 't' was not declared in this scope
    f = ReadInt() - 1, t = ReadInt() - 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-22 21:44:27, Gzip enabled