結果
| 問題 | No.706 多眼生物の調査 |
| コンテスト | |
| ユーザー |
mlpj56d
|
| 提出日時 | 2018-06-29 22:30:02 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 333 bytes |
| 記録 | |
| コンパイル時間 | 464 ms |
| コンパイル使用メモリ | 72,160 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-21 13:52:13 |
| 合計ジャッジ時間 | 1,183 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 5 |
ソースコード
#include<stdio.h>
#include<iostream>
int N;
int a[1010];
using namespace std;
int main (){
cin >> N;
for(int i=0; i<N; i++){
string s;
cin >> s;
a[s.length()-2]++;
}
int ans = -1;
for(int i=0; i<1001; i++){
if( a[i] > ans ) ans = i;
}
cout << ans << endl;
return 0;
}
mlpj56d