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_20482101_28674.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>
         ^
0_0_20482101_28674.c:2:1: error: expected identifier or '(' before '&' token
  int main() {
 ^
0_0_20482101_28674.c:2:2: error: stray '#' in program
  int main() {
  ^
0_0_20482101_28674.c:2:10: error: expected identifier or '(' before '&' token
  int main() {
          ^
0_0_20482101_28674.c:2:11: error: stray '#' in program
  int main() {
           ^
0_0_20482101_28674.c: In function 'main':
0_0_20482101_28674.c:3:5: error: expected identifier or '(' before '&' token
  int x, m, n, i, j, a1, a2, a3, b, sum;
     ^
0_0_20482101_28674.c:3:6: error: stray '#' in program
  int x, m, n, i, j, a1, a2, a3, b, sum;
      ^
0_0_20482101_28674.c:3:11: error: 'x' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
           ^
0_0_20482101_28674.c:3:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_20482101_28674.c:3:14: error: 'm' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
              ^
0_0_20482101_28674.c:3:17: error: 'n' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                 ^
0_0_20482101_28674.c:3:20: error: 'i' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                    ^
0_0_20482101_28674.c:3:23: error: 'j' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                       ^
0_0_20482101_28674.c:3:26: error: 'a1' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                          ^
0_0_20482101_28674.c:3:30: error: 'a2' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                              ^
0_0_20482101_28674.c:3:34: error: 'a3' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                                  ^
0_0_20482101_28674.c:3:38: error: 'b' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                                      ^
0_0_20482101_28674.c:3:41: error: 'sum' undeclared (first use in this function)
  int x, m, n, i, j, a1, a2, a3, b, sum;
                                         ^
0_0_20482101_28674.c:6:11: error: stray '#' in program
  { b = 0;     scanf("%d%d", &m, &n);
           ^
0_0_20482101_28674.c:6:10: error: lvalue required as unary '&' operand
  { b = 0;     scanf("%d%d", &m, &n);
          ^
0_0_20482101_28674.c:6:17: error: stray '#' in program
  { b = 0;     scanf("%d%d", &m, &n);
                 ^
0_0_20482101_28674.c:6:16: error: lvalue required as unary '&' operand
  { b = 0;     scanf("%d%d", &m, &n);
                ^
0_0_20482101_28674.c:6:23: error: stray '#' in program
  { b = 0;     scanf("%d%d", &m, &n);
                       ^
0_0_20482101_28674.c:6:22: error: lvalue required as unary '&' operand
  { b = 0;     scanf("%d%d", &m, &n);
                      ^
0_0_20482101_28674.c:6:29: error: stray '#' in program
  { b = 0;     scanf("%d%d", &m, &n);
                             ^
0_0_20482101_28674.c:6:28: error: lvalue required as unary '&' operand
  { b = 0;     scanf("%d%d", &m, &n);
                            ^
0_0_20482101_28674.c:6:35: error: stray '#' in program
  { b = 0;     scanf("%d%d", &m, &n);
                                   ^
0_0_20482101_28674.c:6:34: error: lvalue required as unary '&' operand
  { b = 0;     scanf("%d%d", &m, &n);
                                  ^
0_0_20482101_28674.c:17:17: error: stray '#' in program
   printf("no"); 
                 ^
0_0_20482101_28674.c:17:16: error: lvalue required as unary '&' operand
   printf("no"); 
                ^
0_0_20482101_28674.c:20:9: error: stray '#' in program
  return 0;
         ^
0_0_20482101_28674.c:20:8: error: lvalue required as unary '&' operand
  return 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-10-02 06:14:25, Gzip enabled