Submission #1098330

# Submission time Handle Problem Language Result Execution time Memory
1098330 2024-10-09T09:56:50 Z vjudge1 Pizza (COCI21_pizza) C++
20 / 50
0 ms 440 KB
#include <bits/stdc++.h>
using namespace std;
int main(){
    int b = 100;
    int n,a,m,arr[b],k;
    cin >> n;
    int bisa = 0;
    for(int i = 0;i < n;i++){
        cin >> a;
    }
    cin >> m;
    for(int i=0;i<m;i++){
        cin >> k;
        for(int j = 0; j < k;j++){
            cin >> arr[b];
            if(arr[b] != a){
                bisa++;
            }
        }
    }
    cout << bisa;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 440 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -