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_23174086_10512.cpp: In function 'int main()':
0_0_23174086_10512.cpp:71:11: error: expected primary-expression before '%' token
     scanf(%d, &T);
           ^
0_0_23174086_10512.cpp:71:12: error: 'd' was not declared in this scope
     scanf(%d, &T);
            ^
0_0_23174086_10512.cpp:73:15: error: expected primary-expression before '%' token
         scanf(%d%d, &n, &m);
               ^
0_0_23174086_10512.cpp:78:23: error: expected primary-expression before '%' token
                 scanf(%d, &tmp);
                       ^
0_0_23174086_10512.cpp:82:23: error: expected primary-expression before '%' token
                 scanf(%d, &tar[i][j]);
                       ^
0_0_23174086_10512.cpp:91:19: error: expected primary-expression before '%' token
             scanf(%s%d%d, oper, &x, &color);
                   ^
0_0_23174086_10512.cpp:91:20: error: 's' was not declared in this scope
             scanf(%s%d%d, oper, &x, &color);
                    ^
0_0_23174086_10512.cpp:97:16: error: expected primary-expression before '%' token
         printf(%d, order[m-1]);
                ^
0_0_23174086_10512.cpp:99:21: error: expected primary-expression before '%' token
             printf( %d, order[i]);
                     ^
0_0_23174086_10512.cpp:100:14: error: too few arguments to function 'int puts(const char*)'
         puts();
              ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42:0,
                 from 0_0_23174086_10512.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:504:15: note: declared here
   int __cdecl puts(const char *_Str);
               ^


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 09:34:21, Gzip enabled