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_36634316_16000.cpp: In function 'int main()':
0_0_36634316_16000.cpp:4:31: error: 'scanf' was not declared in this scope
     while (scanf("%d %d",&m,&n)!=EOF){//
                               ^
0_0_36634316_16000.cpp:4:34: error: 'EOF' was not declared in this scope
     while (scanf("%d %d",&m,&n)!=EOF){//
                                  ^
0_0_36634316_16000.cpp:5:9: error: 'vector' was not declared in this scope
         vector<vector<int>> vec(m,vector<int>(n));
         ^
0_0_36634316_16000.cpp:5:23: error: expected primary-expression before 'int'
         vector<vector<int>> vec(m,vector<int>(n));
                       ^
0_0_36634316_16000.cpp:8:17: error: 'cin' was not declared in this scope
                 cin>>vec[i][j];
                 ^
0_0_36634316_16000.cpp:8:22: error: 'vec' was not declared in this scope
                 cin>>vec[i][j];
                      ^
0_0_36634316_16000.cpp:9:34: error: 'abs' was not declared in this scope
                 if (abs(vec[i][j]) > abs(max)) {
                                  ^
0_0_36634316_16000.cpp:16:9: error: 'cout' was not declared in this scope
         cout << r + 1 << " " << c + 1 << " " << result << endl;
         ^
0_0_36634316_16000.cpp:16:59: error: 'endl' was not declared in this scope
         cout << r + 1 << " " << c + 1 << " " << result << endl;
                                                           ^
0_0_36634316_16000.cpp:17:9: error: 'vec' was not declared in this scope
         vec.clear(); r=0;c=0;result=0; max=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 20:35:56, Gzip enabled