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_20719137_8293.cpp: In function 'int main()':
0_0_20719137_8293.cpp:4:30: error: expected unqualified-id before 'this'
  int s[5010], t, n, i, time, this;
                              ^
0_0_20719137_8293.cpp:9:3: error: invalid use of 'this' in non-member function
   this = 0;
   ^
0_0_20719137_8293.cpp:13:5: error: invalid use of 'this' in non-member function
     this = this%n + 1;
     ^
0_0_20719137_8293.cpp:13:12: error: invalid use of 'this' in non-member function
     this = this%n + 1;
            ^
0_0_20719137_8293.cpp:14:15: error: invalid use of 'this' in non-member function
     while (!s[this])this = this%n + 1;
               ^
0_0_20719137_8293.cpp:14:21: error: invalid use of 'this' in non-member function
     while (!s[this])this = this%n + 1;
                     ^
0_0_20719137_8293.cpp:14:28: error: invalid use of 'this' in non-member function
     while (!s[this])this = this%n + 1;
                            ^
0_0_20719137_8293.cpp:16:6: error: invalid use of 'this' in non-member function
    s[this] = 0;
      ^


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 00:31:17, Gzip enabled