Borderou de evaluare (job #1316194)
Utilizator | Data | 13 ianuarie 2015 17:06:44 | |
---|---|---|---|
Problema | Rk | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.8/cstdbool:39:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:56,
from user.cpp:1:
user.cpp:51:1: error: expected initializer before ‘bool’
bool cmp(cc a,cc b)
^
user.cpp: In function ‘int main()’:
user.cpp:64:20: error: ‘cmp’ was not declared in this scope
sort(v+1,v+1+t,cmp);
^
user.cpp:75:38: error: ‘auxx’ was not declared in this scope
for (int l=1;l<=n;++l) ++auxx[s[l] % (1 << p)];
^
user.cpp:77:43: error: ‘auxx’ was not declared in this scope
for (int i=0;i<p2;++i) while (auxx[i]) aux[++k] = i,--auxx[i];
^
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rk.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !