結果
| 問題 |
No.2714 Amaou
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-07 20:50:28 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 15 ms / 2,000 ms |
| コード長 | 288 bytes |
| コンパイル時間 | 2,631 ms |
| コンパイル使用メモリ | 204,760 KB |
| 最終ジャッジ日時 | 2025-02-20 22:49:21 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int ans=0;
for(int i=0;i<n;++i){
vector<string> s(4);
cin>>s[0]>>s[1]>>s[2]>>s[3];
sort(s.begin(),s.end());
if(s==vector<string>{"akai","marui","okii","umai"}) ans++;
}
cout<<ans<<endl;
}