Submission #00107


ソースコード

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=-32767;
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:26:47
言語 C++17
状態 Wrong Answer
得点 0
ソースコード長 496 Byte
最大実行時間 23 ms
最大メモリ使用量 572 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt WA 23 ms 476 KB
1
in2.txt WA 20 ms 432 KB
1
in3.txt WA 18 ms 400 KB
1
in4.txt WA 20 ms 368 KB
1
in5.txt WA 22 ms 472 KB
1
in6.txt WA 20 ms 572 KB
1
in7.txt WA 20 ms 544 KB
1
in8.txt WA 21 ms 508 KB
1