結果
| 問題 | No.2714 Amaou |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-30 23:02:10 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 20 ms / 2,000 ms |
| コード長 | 453 bytes |
| 記録 | |
| コンパイル時間 | 2,445 ms |
| コンパイル使用メモリ | 204,204 KB |
| 最終ジャッジ日時 | 2025-02-21 17:10:20 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
ソースコード
#include<bits/stdc++.h>
#define pt printf(">>>")
#define mid (((l)+(r))/2)
using namespace std;
typedef long long ll;
typedef long double ld;
const ll N=1e6+10,inf=1e18+10,mod=1e9+7;
int main(){
int T;
ll ans=0;
cin >> T;
while(T--){
vector<string> c;
for(ll i=1;i<=4;i++){
string s;
cin >> s;
c.push_back(s);
}
sort(c.begin(),c.end());
ans+=(c[0]=="akai"&&c[1]=="marui"&&c[2]=="okii"&&c[3]=="umai");
}
cout << ans;
return 0;
}