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_38448591_29162.cpp:11:2: error: stray '#' in program
     for (int i = 1; i <= y; i++) {
  ^
0_0_38448591_29162.cpp:11:9: error: stray '#' in program
     for (int i = 1; i <= y; i++) {
         ^
0_0_38448591_29162.cpp:12:2: error: stray '#' in program
         int flag = x;
  ^
0_0_38448591_29162.cpp:12:9: error: stray '#' in program
         int flag = x;
         ^
0_0_38448591_29162.cpp:12:16: error: stray '#' in program
         int flag = x;
                ^
0_0_38448591_29162.cpp:12:23: error: stray '#' in program
         int flag = x;
                       ^
0_0_38448591_29162.cpp:13:2: error: stray '#' in program
         cout << ">+";
  ^
0_0_38448591_29162.cpp:13:9: error: stray '#' in program
         cout << ">+";
         ^
0_0_38448591_29162.cpp:13:16: error: stray '#' in program
         cout << ">+";
                ^
0_0_38448591_29162.cpp:13:23: error: stray '#' in program
         cout << ">+";
                       ^
0_0_38448591_29162.cpp:14:2: error: stray '#' in program
         while (flag > 2) {
  ^
0_0_38448591_29162.cpp:14:9: error: stray '#' in program
         while (flag > 2) {
         ^
0_0_38448591_29162.cpp:14:16: error: stray '#' in program
         while (flag > 2) {
                ^
0_0_38448591_29162.cpp:14:23: error: stray '#' in program
         while (flag > 2) {
                       ^
0_0_38448591_29162.cpp:15:2: error: stray '#' in program
             cout << "-";
  ^
0_0_38448591_29162.cpp:15:9: error: stray '#' in program
             cout << "-";
         ^
0_0_38448591_29162.cpp:15:16: error: stray '#' in program
             cout << "-";
                ^
0_0_38448591_29162.cpp:15:23: error: stray '#' in program
             cout << "-";
                       ^
0_0_38448591_29162.cpp:15:30: error: stray '#' in program
             cout << "-";
                              ^
0_0_38448591_29162.cpp:15:37: error: stray '#' in program
             cout << "-";
                                     ^
0_0_38448591_29162.cpp:16:2: error: stray '#' in program
             flag--;
  ^
0_0_38448591_29162.cpp:16:9: error: stray '#' in program
             flag--;
         ^
0_0_38448591_29162.cpp:16:16: error: stray '#' in program
             flag--;
                ^
0_0_38448591_29162.cpp:16:23: error: stray '#' in program
             flag--;
                       ^
0_0_38448591_29162.cpp:16:30: error: stray '#' in program
             flag--;
                              ^
0_0_38448591_29162.cpp:16:37: error: stray '#' in program
             flag--;
                                     ^
0_0_38448591_29162.cpp:17:2: error: stray '#' in program
         }
  ^
0_0_38448591_29162.cpp:17:9: error: stray '#' in program
         }
         ^
0_0_38448591_29162.cpp:17:16: error: stray '#' in program
         }
                ^
0_0_38448591_29162.cpp:17:23: error: stray '#' in program
         }
                       ^
0_0_38448591_29162.cpp:18:2: error: stray '#' in program
         cout << "+>" << endl;
  ^
0_0_38448591_29162.cpp:18:9: error: stray '#' in program
         cout << "+>" << endl;
         ^
0_0_38448591_29162.cpp:18:16: error: stray '#' in program
         cout << "+>" << endl;
                ^
0_0_38448591_29162.cpp:18:23: error: stray '#' in program
         cout << "+>" << endl;
                       ^
0_0_38448591_29162.cpp:19:2: error: stray '#' in program
     }
  ^
0_0_38448591_29162.cpp:19:9: error: stray '#' in program
     }
         ^
0_0_38448591_29162.cpp:22:2: error: stray '#' in program
     cin >> n;
  ^
0_0_38448591_29162.cpp:22:9: error: stray '#' in program
     cin >> n;
         ^
0_0_38448591_29162.cpp:23:2: error: stray '#' in program
     while (n--) {
  ^
0_0_38448591_29162.cpp:23:9: error: stray '#' in program
     while (n--) {
         ^
0_0_38448591_29162.cpp:24:2: error: stray '#' in program
         cin >> t; 
  ^
0_0_38448591_29162.cpp:24:9: error: stray '#' in program
         cin >> t; 
         ^
0_0_38448591_29162.cpp:24:16: error: stray '#' in program
         cin >> t; 
                ^
0_0_38448591_29162.cpp:24:23: error: stray '#' in program
         cin >> t; 
                       ^
0_0_38448591_29162.cpp:25:2: error: stray '#' in program
         for (int i = 1; i <= t; i++) {
  ^
0_0_38448591_29162.cpp:25:9: error: stray '#' in program
         for (int i = 1; i <= t; i++) {
         ^
0_0_38448591_29162.cpp:25:16: error: stray '#' in program
         for (int i = 1; i <= t; i++) {
                ^
0_0_38448591_29162.cpp:25:23: error: stray '#' in program
         for (int i = 1; i <= t; i++) {
                       ^
0_0_38448591_29162.cpp:26:2: error: stray '#' in program
             cin >> a[i] >> b[i];
  ^
0_0_38448591_29162.cpp:26:9: error: stray '#' in program
             cin >> a[i] >> b[i];
         ^
0_0_38448591_29162.cpp:26:16: error: stray '#' in program
             cin >> a[i] >> b[i];
                ^
0_0_38448591_29162.cpp:26:23: error: stray '#' in program
             cin >> a[i] >> b[i];
                       ^
0_0_38448591_29162.cpp:26:30: error: stray '#' in program
             cin >> a[i] >> b[i];
                              ^
0_0_38448591_29162.cpp:26:37: error: stray '#' in program
             cin >> a[i] >> b[i];
                                     ^
0_0_38448591_29162.cpp:27:2: error: stray '#' in program
             func(a[i], b[i]);
  ^
0_0_38448591_29162.cpp:27:9: error: stray '#' in program
             func(a[i], b[i]);
         ^
0_0_38448591_29162.cpp:27:16: error: stray '#' in program
             func(a[i], b[i]);
                ^
0_0_38448591_29162.cpp:27:23: error: stray '#' in program
             func(a[i], b[i]);
                       ^
0_0_38448591_29162.cpp:27:30: error: stray '#' in program
             func(a[i], b[i]);
                              ^
0_0_38448591_29162.cpp:27:37: error: stray '#' in program
             func(a[i], b[i]);
                                     ^
0_0_38448591_29162.cpp:28:2: error: stray '#' in program
         }
  ^
0_0_38448591_29162.cpp:28:9: error: stray '#' in program
         }
         ^
0_0_38448591_29162.cpp:28:16: error: stray '#' in program
         }
                ^
0_0_38448591_29162.cpp:28:23: error: stray '#' in program
         }
                       ^
0_0_38448591_29162.cpp:29:2: error: stray '#' in program
     }
  ^
0_0_38448591_29162.cpp:29:9: error: stray '#' in program
     }
         ^
0_0_38448591_29162.cpp:31:2: error: stray '#' in program
     return 0;
  ^
0_0_38448591_29162.cpp:31:9: error: stray '#' in program
     return 0;
         ^
0_0_38448591_29162.cpp: In function 'void func(int, int)':
0_0_38448591_29162.cpp:11:3: error: lvalue required as unary '&' operand
     for (int i = 1; i <= y; i++) {
   ^
0_0_38448591_29162.cpp:11:10: error: lvalue required as unary '&' operand
     for (int i = 1; i <= y; i++) {
          ^
0_0_38448591_29162.cpp:12:3: error: lvalue required as unary '&' operand
         int flag = x;
   ^
0_0_38448591_29162.cpp:12:10: error: lvalue required as unary '&' operand
         int flag = x;
          ^
0_0_38448591_29162.cpp:12:17: error: lvalue required as unary '&' operand
         int flag = x;
                 ^
0_0_38448591_29162.cpp:12:24: error: lvalue required as unary '&' operand
         int flag = x;
                        ^
0_0_38448591_29162.cpp:13:3: error: lvalue required as unary '&' operand
         cout << ">+";
   ^
0_0_38448591_29162.cpp:13:10: error: lvalue required as unary '&' operand
         cout << ">+";
          ^
0_0_38448591_29162.cpp:13:17: error: lvalue required as unary '&' operand
         cout << ">+";
                 ^
0_0_38448591_29162.cpp:13:24: error: lvalue required as unary '&' oper


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-25 22:39:28, Gzip enabled