結果
| 問題 |
No.2714 Amaou
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-05 21:21:52 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 537 bytes |
| コンパイル時間 | 2,584 ms |
| コンパイル使用メモリ | 251,924 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-01 01:31:46 |
| 合計ジャッジ時間 | 3,300 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
ソースコード
// #pragma GCC optimize("O3,unroll-loops")
#include <bits/stdc++.h>
// #include <x86intrin.h>
using namespace std;
#if __cplusplus >= 202002L
using namespace numbers;
#endif
int main(){
cin.tie(0)->sync_with_stdio(0);
cin.exceptions(ios::badbit | ios::failbit);
set<string> s{"akai", "marui", "okii", "umai"};
int n;
cin >> n;
int res = 0;
for(auto i = 0; i < n; ++ i){
set<string> c;
for(auto j = 0; j < 4; ++ j){
string s;
cin >> s;
c.insert(s);
}
res += c == s;
}
cout << res << "\n";
return 0;
}
/*
*/