Pagini recente » Borderou de evaluare (job #840903) | Borderou de evaluare (job #1237281) | Borderou de evaluare (job #305801) | Borderou de evaluare (job #962099) | Borderou de evaluare (job #1768079)
Borderou de evaluare (job #1768079)
Raport evaluator
Compilare:
user.cpp:9:17: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
unsigned int v[1<<20+5];
^
user.cpp: In function ‘int find(unsigned int)’:
user.cpp:40:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((*it).first==x)
^
user.cpp: In function ‘void erase(unsigned int)’:
user.cpp:61:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((*it).first==x)
^
user.cpp: In function ‘int find1(unsigned int)’:
user.cpp:83:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((*it).first==x)
^
user.cpp: In function ‘void erase1(unsigned int)’:
user.cpp:104:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((*it).first==x)
^
user.cpp: In function ‘int main()’:
user.cpp:131:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i1<=i && d1>=l)
^
user.cpp:131:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i1<=i && d1>=l)
^
user.cpp:136:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i2<i && d2>u)
^
user.cpp:136:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i2<i && d2>u)
^
user.cpp:141:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d2>=l) sol=sol+(i1-i2);
^
user.cpp: In function ‘void citeste(unsigned int&)’:
user.cpp:19:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:119:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:120:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:121:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 16004kb | OK | 10 |
2 | 24ms | 16100kb | OK | 10 |
3 | 32ms | 16384kb | OK | 10 |
4 | 76ms | 17824kb | OK | 10 |
5 | 68ms | 17696kb | Incorect | 0 |
6 | 284ms | 21304kb | OK | 10 |
7 | 536ms | 23144kb | Incorect | 0 |
8 | 636ms | 23076kb | Incorect | 0 |
9 | 1044ms | 31824kb | Incorect | 0 |
10 | 1164ms | 39164kb | Incorect | 0 |
Punctaj total | 50 |