제출 #748995

#제출 시각아이디문제언어결과실행 시간메모리
748995DJeniUpPacking Biscuits (IOI20_biscuits)C++17
컴파일 에러
0 ms0 KiB
#include "biscuits.h" #include "bits/stdc++.h" using namespace std; typedef long long ll; map<ll,ll>m[67]; ll k,n,d[67]; ll S(ll x,ll y){ if(x>=k && y<n)return 1; y+=d[x]; if(y<n)return S(x+1,y/2); //cout<<"! "<<x<<" "<<y<<endl; if(m[x][y]!=0)return m[x][y]; m[x][y]+=S(x+1,y/2); if(y>=n)m[x][y]+=S(x+1,(y-n)/2); //cout<<x<<" "<<y<<" "<<m[x][y]<<endl; return m[x][y]; } long long count_tastiness(long long x, std::vector<long long> a) { k=a.size(); n=x; for(int i=0;i<=65;i++){ m[i].clear(); d[i]=0; } for(int i=0;i<k;i++){ d[i]=a[i]; } //cout<<"! "<<S(0,0)<<endl; return S(0,0); }  

컴파일 시 표준 에러 (stderr) 메시지

biscuits.cpp:36:1: error: extended character   is not valid in an identifier
   36 |  
      | ^
biscuits.cpp:36:1: error: '\U000000a0' does not name a type
   36 |  
      | ^