Pagini recente » Borderou de evaluare (job #3179868) | Borderou de evaluare (job #2205768) | Borderou de evaluare (job #2038473) | Borderou de evaluare (job #2051404) | Borderou de evaluare (job #1423225)
Borderou de evaluare (job #1423225)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:34:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘void Organise(long int)’:
user.cpp:100:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void Dfs_A(long int)’:
user.cpp:122:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<indA[node].size();i++) indA[node][i] = i;
^
user.cpp: In function ‘void Dfs_B(long int)’:
user.cpp:138:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<indB[node].size();i++) indB[node][i] = i;
^
user.cpp: In function ‘int main()’:
user.cpp:178:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("plimbare3.in",1014*1024);
^
user.cpp: In function ‘long int getFirstADuo(long int, long int, long int)’:
user.cpp:88:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:179:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plimbare3.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fileName,"r",stdin);
^
user.cpp: In member function ‘void Buffer::reFill()’:
user.cpp:37:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&Buff[0],1,maxBuf,stdin); pos = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9764kb | OK | 10 |
2 | 16ms | 10284kb | OK | 10 |
3 | 24ms | 10548kb | OK | 10 |
4 | 124ms | 13408kb | OK | 10 |
5 | 284ms | 16264kb | OK | 10 |
6 | 292ms | 16792kb | OK | 10 |
7 | 432ms | 19400kb | OK | 10 |
8 | 656ms | 22248kb | OK | 10 |
9 | 728ms | 25408kb | OK | 10 |
10 | 712ms | 26464kb | OK | 10 |
Punctaj total | 100 |