QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#61007 | #3895. Hungry Henk | SayedHassan# | WA | 0ms | 3300kb | C++ | 846b | 2022-11-09 04:31:06 | 2022-11-09 04:31:10 |
Judging History
answer
#pragma GCC optimize("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target("avx,avx2,fma")
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fi first
#define sc second
const int N=1e5+5;
int n,m;
int c[N],a[N],b[N],p[N];
int main()
{
ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
/*cin>>n>>m;
for(int i=0;i<m;i++)
{
cin>>c[i]>>a[i];
p[c[i]]=a[i];
}
for(int i=0;i<n;i++)
{
cin>>b[i];
}*/
cin>>n;
vector<string >v;
for(int i=0;i<n;i++)
{
int d;
cin>>d;
string s;
for(int i=0;i<d;i++)
{
cin>>s;
if(i==n-1)v.push_back(s);
}
}
cout<<v.size();
for(auto x:v)cout<<x<<endl;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3300kb
input:
3 2 bigburger fries 2 pizza garlicbread 2 macaroni cheese
output:
0
result:
wrong answer Integer parameter [name=count] equals to 0, violates the range [1, 42]