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_37398111_17258.c: In function 'main':
0_0_37398111_17258.c:4:5: error: expected expression before '/' token
     // 矩阵大小(n * n)
     ^
0_0_37398111_17258.c:4:5: error: stray '\276' in program
0_0_37398111_17258.c:4:5: error: stray '\330' in program
0_0_37398111_17258.c:4:5: error: stray '\325' in program
0_0_37398111_17258.c:4:5: error: stray '\363' in program
0_0_37398111_17258.c:4:5: error: stray '\264' in program
0_0_37398111_17258.c:4:5: error: stray '\363' in program
0_0_37398111_17258.c:4:5: error: stray '\320' in program
0_0_37398111_17258.c:4:5: error: stray '\241' in program
0_0_37398111_17258.c:4:5: error: stray '\243' in program
0_0_37398111_17258.c:4:5: error: stray '\250' in program
0_0_37398111_17258.c:4:5: error: stray '\243' in program
0_0_37398111_17258.c:4:5: error: stray '\251' in program
0_0_37398111_17258.c:6:18: error: 'm' undeclared (first use in this function)
     scanf("%d", &m);
                  ^
0_0_37398111_17258.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
0_0_37398111_17258.c:8:22: error: 'n' undeclared (first use in this function)
         scanf("%d", &n);
                      ^
0_0_37398111_17258.c:10:9: error: expected expression before '/' token
         // 数组初始化
         ^
0_0_37398111_17258.c:10:9: error: stray '\312' in program
0_0_37398111_17258.c:10:9: error: stray '\375' in program
0_0_37398111_17258.c:10:9: error: stray '\327' in program
0_0_37398111_17258.c:10:9: error: stray '\351' in program
0_0_37398111_17258.c:10:9: error: stray '\263' in program
0_0_37398111_17258.c:10:9: error: stray '\365' in program
0_0_37398111_17258.c:10:9: error: stray '\312' in program
0_0_37398111_17258.c:10:9: error: stray '\274' in program
0_0_37398111_17258.c:10:9: error: stray '\273' in program
0_0_37398111_17258.c:10:9: error: stray '\257' in program
0_0_37398111_17258.c:16:9: error: stray '\266' in program
         // 定义行与列以及矩阵并初始化为 0
         ^
0_0_37398111_17258.c:16:9: error: stray '\250' in program
0_0_37398111_17258.c:16:9: error: stray '\322' in program
0_0_37398111_17258.c:16:9: error: stray '\345' in program
0_0_37398111_17258.c:16:9: error: stray '\320' in program
0_0_37398111_17258.c:16:9: error: stray '\320' in program
0_0_37398111_17258.c:16:9: error: stray '\323' in program
0_0_37398111_17258.c:16:9: error: stray '\353' in program
0_0_37398111_17258.c:16:9: error: stray '\301' in program
0_0_37398111_17258.c:16:9: error: stray '\320' in program
0_0_37398111_17258.c:16:9: error: stray '\322' in program
0_0_37398111_17258.c:16:9: error: stray '\324' in program
0_0_37398111_17258.c:16:9: error: stray '\274' in program
0_0_37398111_17258.c:16:9: error: stray '\260' in program
0_0_37398111_17258.c:16:9: error: stray '\276' in program
0_0_37398111_17258.c:16:9: error: stray '\330' in program
0_0_37398111_17258.c:16:9: error: stray '\325' in program
0_0_37398111_17258.c:16:9: error: stray '\363' in program
0_0_37398111_17258.c:16:9: error: stray '\262' in program
0_0_37398111_17258.c:16:9: error: stray '\242' in program
0_0_37398111_17258.c:16:9: error: stray '\263' in program
0_0_37398111_17258.c:16:9: error: stray '\365' in program
0_0_37398111_17258.c:16:9: error: stray '\312' in program
0_0_37398111_17258.c:16:9: error: stray '\274' in program
0_0_37398111_17258.c:16:9: error: stray '\273' in program
0_0_37398111_17258.c:16:9: error: stray '\257' in program
0_0_37398111_17258.c:16:9: error: stray '\316' in program
0_0_37398111_17258.c:16:9: error: stray '\252' in program
0_0_37398111_17258.c:18:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i = 1; i <= n * n; ++i){
         ^
0_0_37398111_17258.c:18:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_37398111_17258.c:19:20: error: 'r' undeclared (first use in this function)
             if(num[r][j] != 0){
                    ^
0_0_37398111_17258.c:19:23: error: 'j' undeclared (first use in this function)
             if(num[r][j] != 0){
                       ^
0_0_37398111_17258.c:20:17: error: expected expression before '/' token
                 // 若该矩阵的元素已被赋值 未判断是否向下取行不会占领
                 ^
0_0_37398111_17258.c:20:17: error: stray '\310' in program
0_0_37398111_17258.c:20:17: error: stray '\364' in program
0_0_37398111_17258.c:20:17: error: stray '\270' in program
0_0_37398111_17258.c:20:17: error: stray '\303' in program
0_0_37398111_17258.c:20:17: error: stray '\276' in program
0_0_37398111_17258.c:20:17: error: stray '\330' in program
0_0_37398111_17258.c:20:17: error: stray '\325' in program
0_0_37398111_17258.c:20:17: error: stray '\363' in program
0_0_37398111_17258.c:20:17: error: stray '\265' in program
0_0_37398111_17258.c:20:17: error: stray '\304' in program
0_0_37398111_17258.c:20:17: error: stray '\324' in program
0_0_37398111_17258.c:20:17: error: stray '\252' in program
0_0_37398111_17258.c:20:17: error: stray '\313' in program
0_0_37398111_17258.c:20:17: error: stray '\330' in program
0_0_37398111_17258.c:20:17: error: stray '\322' in program
0_0_37398111_17258.c:20:17: error: stray '\321' in program
0_0_37398111_17258.c:20:17: error: stray '\261' in program
0_0_37398111_17258.c:20:17: error: stray '\273' in program
0_0_37398111_17258.c:20:17: error: stray '\270' in program
0_0_37398111_17258.c:20:17: error: stray '\263' in program
0_0_37398111_17258.c:20:17: error: stray '\326' in program
0_0_37398111_17258.c:20:17: error: stray '\265' in program
0_0_37398111_17258.c:20:17: error: stray '\316' in program
0_0_37398111_17258.c:20:17: error: stray '\264' in program
0_0_37398111_17258.c:20:17: error: stray '\305' in program
0_0_37398111_17258.c:20:17: error: stray '\320' in program
0_0_37398111_17258.c:20:17: error: stray '\266' in program
0_0_37398111_17258.c:20:17: error: stray '\317' in program
0_0_37398111_17258.c:20:17: error: stray '\312' in program
0_0_37398111_17258.c:20:17: error: stray '\307' in program
0_0_37398111_17258.c:20:17: error: stray '\267' in program
0_0_37398111_17258.c:20:17: error: stray '\361' in program
0_0_37398111_17258.c:20:17: error: stray '\317' in program
0_0_37398111_17258.c:20:17: error: stray '\362' in program
0_0_37398111_17258.c:20:17: error: stray '\317' in program
0_0_37398111_17258.c:20:17: error: stray '\302' in program
0_0_37398111_17258.c:20:17: error: stray '\310' in program
0_0_37398111_17258.c:20:17: error: stray '\241' in program
0_0_37398111_17258.c:20:17: error: stray '\320' in program
0_0_37398111_17258.c:20:17: error: stray '\320' in program
0_0_37398111_17258.c:20:17: error: stray '\262' in program
0_0_37398111_17258.c:20:17: error: stray '\273' in program
0_0_37398111_17258.c:20:17: error: stray '\273' in program
0_0_37398111_17258.c:20:17: error: stray '\341' in program
0_0_37398111_17258.c:20:17: error: stray '\325' in program
0_0_37398111_17258.c:20:17: error: stray '\274' in program
0_0_37398111_17258.c:20:17: error: stray '\301' in program
0_0_37398111_17258.c:20:17: error: stray '\354' in program
0_0_37398111_17258.c:21:49: error: expected expression before '/' token
                 r = (rt + 1 == n) ? 0 : rt + 1; // 若 行 超出下边界
                                                 ^
0_0_37398111_17258.c:21:49: error: stray '\310' in program
0_0_37398111_17258.c:21:49: error: stray '\364' in program
0_0_37398111_17258.c:21:49: error: stray '\320' in program
0_0_37398111_17258.c:21:49: error: stray '\320' in program
0_0_37398111_17258.c:21:49: error: stray '\263' in program
0_0_37398111_17258.c:21:49: error: stray '\254' in program
0_0_37398111_17258.c:21:49: error: stray '\263' in program
0_0_37398111_17258.c:21:49: error: stray '\366' in program
0_0_37398111_17258.c:21:49: error: stray '\317' in program
0_0_37398111_17258.c:21:49: error: stray '\302' in program
0_0_37398111_17258.c:21:49: error: stray '\261' in program
0_0_37398111_17258.c:21:49: error: stray '\337' in program
0_0_37398111_17258.c:21:49: error: stray '\275' in program
0_0_37398111_17258.c:21:49: error: stray '\347' in program
0_0_37398111_17258.c:23:32: error: expected expression before '/' token
                 num[r][j] = i; // 赋值
                                ^
0_0_37398111_17258.c:23:32: error: stray '\270' in program
0_0_37398111_17258.c:23:32: error: stray '\263' in program
0_0_37398111_17258.c:23:32: error: stray '\326' in program
0_0_37398111_17258.c:23:32: error: stray '\265' in program
0_0_37398111_17258.c:25:32: error: expected expression before '/' token
                 num[r][j] = i; // 赋值
                                ^
0_0_37398111_17258.c:25:32: error: stray '\270' in program
0_0_37398111_17258.c:25:32: error: stray '\263' in program
0_0_37398111_17258.c:25:32: error: stray '\326' in program
0_0_37398111_17258.c:25:32: error: stray '\265' in program
0_0_37398111_17258.c:27:17: error: 'jt' undeclared (first use in this function)
                 jt = j;
                 ^
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-23 02:59:05, Gzip enabled