/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 540.0 KiB
#2 Wrong Answer 8ms 328.0 KiB
#3 Wrong Answer 7ms 760.0 KiB

Code

#include <bits/stdc++.h>
#define fast() ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define lli long long int
#define endl "\n"

using namespace std;
 
void solve(){
    int n, m;
    cin >> n >> m;
    std::vector<int> a(n),b(m);
    for (int i = 0; i < n; ++i)
    {
        cin >> a[i];
    }
    for (int i = 0; i < m; ++i)
    {
        cin >> b[i];
    }
    if(n>9 && m>9)
        cout << "YES"<<endl;
    else
        cout<<"NO"<<endl;

}
 
signed main() {
    fast();
    int t;
    cin >> t;
    while (t--)
        solve();
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1153 Is Date Possible?
Contest
Happy New Year 2025
Language
C++17 (G++ 13.2.0)
Submit At
2025-01-02 14:57:00
Judged At
2025-01-02 14:57:00
Judged By
Score
0
Total Time
8ms
Peak Memory
760.0 KiB