Submission #975889

# Submission time Handle Problem Language Result Execution time Memory
975889 2024-05-06T02:16:14 Z vjudge1 Pizza (COCI21_pizza) C++17
0 / 50
1 ms 600 KB
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ll hadiah; cin >> hadiah;
ll tidaksuka[hadiah];
for (int i=0; i<hadiah; i++){
    cin >> tidaksuka[i];
}
ll bingkisan; cin >> bingkisan;
ll isi;
for (int i=0; i<bingkisan; i++){
    cin >> isi;
    ll isi2[102];
      for (int j=0; j<isi; j++){
        cin >> isi2[j];
        if (j==i){
           bingkisan-=1; 
        }
      }
}
cout << bingkisan;
}

  
# 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 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 600 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -