Pagini recente » Borderou de evaluare (job #2762641) | Borderou de evaluare (job #1269707) | Borderou de evaluare (job #835379) | Borderou de evaluare (job #2165376) | Borderou de evaluare (job #1768078)
Borderou de evaluare (job #1768078)
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:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i2<=i && d2>u)
^
user.cpp:136:27: 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 | 16008kb | OK | 10 |
| 2 | 24ms | 16096kb | OK | 10 |
| 3 | 32ms | 16388kb | OK | 10 |
| 4 | 76ms | 17824kb | OK | 10 |
| 5 | 68ms | 17692kb | Incorect | 0 |
| 6 | 284ms | 21300kb | OK | 10 |
| 7 | 536ms | 23140kb | Incorect | 0 |
| 8 | 640ms | 23076kb | Incorect | 0 |
| 9 | 1048ms | 31820kb | Incorect | 0 |
| 10 | 1160ms | 39160kb | Incorect | 0 |
| Punctaj total | 50 |