Submission #00101


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include<bits/stdc++.h>
#define ll long long
#define endl "\n"
using namespace std;
int main(){
int h,w;
cin>>h>>w;
int a[h][w];
int b=0;
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
cin>>a[i][j];
if(b<a[i][j]){
b=a[i][j];
}
}
}
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
if(b==a[i][j]){
cout<<i+1<<" "<<j+1<<" "<<endl;
}
}
}
}

ステータス

項目 データ
問題 0003 - highest
ユーザー名 ei2439
投稿日時 2024-07-18 15:22:11
言語 C++17
状態 Wrong Answer
得点 0
ソースコード長 491 Byte
最大実行時間 31 ms
最大メモリ使用量 696 KB

セット

セット 得点 Cases
1 ALL 0 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt WA 29 ms 600 KB
1
in2.txt WA 21 ms 696 KB
1
in3.txt WA 20 ms 536 KB
1
in4.txt WA 29 ms 512 KB
1
in5.txt WA 17 ms 476 KB
1
in6.txt WA 31 ms 444 KB
1
in7.txt WA 19 ms 416 KB
1
in8.txt WA 30 ms 516 KB
1