Borderou de evaluare (job #1481288)
Utilizator | Data | 4 septembrie 2015 09:41:42 | |
---|---|---|---|
Problema | Triplete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘bitset’ does not name a type
bitset<4100> c[4100],r;
^
user.cpp: In function ‘int main()’:
user.cpp:8:31: error: ‘c’ was not declared in this scope
scanf("%d%d",a+i,b+i),c[a[i]<b[i]?a[i]:b[i]].set(a[i]<b[i]?b[i]:a[i]);
^
user.cpp:10:9: error: ‘r’ was not declared in this scope
r=c[a[j]]&c[b[j]],t+=r.count();
^
user.cpp:10:11: error: ‘c’ was not declared in this scope
r=c[a[j]]&c[b[j]],t+=r.count();
^
user.cpp:6:92: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triplete.in","r",stdin),freopen("triplete.out","w",stdout),scanf("%d%d",&n,&m);
^
user.cpp:6:92: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:92: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !