Pagini recente » Borderou de evaluare (job #963918) | Borderou de evaluare (job #2170212) | Borderou de evaluare (job #385781) | Borderou de evaluare (job #1213567) | Borderou de evaluare (job #1213464)
Borderou de evaluare (job #1213464)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool cmp1::operator()(const arte&, const arte&) const’:
user.cpp:30:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.v==b.v)
^
user.cpp: In member function ‘bool cmp2::operator()(const art&, const art&) const’:
user.cpp:39:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.v==b.v)
^
user.cpp: In function ‘short int cb(art)’:
user.cpp:74:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if(el.l==e[m].l)
^
user.cpp: In function ‘int main()’:
user.cpp:117:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:84:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp:84:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp: In function ‘void cit(short int&)’:
user.cpp:17:52: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++pz==DIM)fread(ax, 1, DIM, stdin), pz=0;
^
user.cpp:20:54: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++pz==DIM)fread(ax,1, DIM, stdin),pz=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 248kb | Incorect | 0 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 240kb | Incorect | 0 |
8 | 0ms | 240kb | Incorect | 0 |
9 | 0ms | 244kb | Incorect | 0 |
10 | 0ms | 244kb | OK | 10 |
Punctaj total | 40 |