Pagini recente » Rezultatele filtrării | Borderou de evaluare (job #1381843)
Borderou de evaluare (job #1381843)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:40:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘void Merge()’:
user.cpp:58:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<fr.size() && j<sc.size()){
^
user.cpp:58:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<fr.size() && j<sc.size()){
^
user.cpp:67:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<fr.size()){
^
user.cpp:71:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<sc.size()){
^
user.cpp: In function ‘int main()’:
user.cpp:79:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("compunere.in",1024*1024);
^
user.cpp:124:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ans.size());
^
user.cpp:125:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++){
^
user.cpp:80:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compunere.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:13: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:43: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 |
Punctaj/grupa |
✗ | 1 | 0ms | 1312kb | Incorect | 0 | 0 |
✓ | 2 | 0ms | 1768kb | Incorect | 0 |
✗ | 3 | 4ms | 3996kb | Incorect | 0 |
✓ | 4 | 0ms | 1400kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✗ | 5 | 0ms | 1468kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✗ | 6 | 0ms | 1396kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✗ | 7 | 0ms | 1408kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | 0ms | 1464kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 9 | 0ms | 1400kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 0ms | 1396kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |