Pagini recente » Borderou de evaluare (job #125092) | Borderou de evaluare (job #2391517) | Borderou de evaluare (job #714854) | Borderou de evaluare (job #2106103) | Borderou de evaluare (job #2725599)
Borderou de evaluare (job #2725599)
Raport evaluator
Compilare:
main.cpp: In member function 'OutParser& OutParser::operator<<(char*)':
main.cpp:85:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s); i++)
~~^~~~~~~~~~~
main.cpp: In function 'void pop_cbc(int, int)':
main.cpp:135:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cbc_muchii != cbc[nr_cbc].size() * (cbc[nr_cbc].size() - 1) / 2) /// cbc tb sa fie graf complet
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:182:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
out << "DA\n2\n1 2\n";
^~~~~~~~~~~~~~
main.cpp:184:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
out << "NU\n";
^~~~~~
main.cpp:212:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stiva.size() != nod_idx - 1)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:216:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
out << "NU\n";
^~~~~~
main.cpp:218:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
out << "DA\n" << (int)(stiva.size() + 1) << '\n';
^~~~~~
main.cpp: In member function 'char InParser::get_char()':
main.cpp:20:55: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, sizeof(buff[0]), BUFF_SIZE, in_file);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 262kb | OK! | 2 |
| 2 | 24ms | 786kb | OK! | 2 |
| 3 | 4ms | 393kb | OK! | 2 |
| 4 | 103ms | 9289kb | OK! | 6 |
| 5 | 4ms | 393kb | OK! | 2 |
| 6 | 4ms | 393kb | OK! | 2 |
| 7 | 4ms | 393kb | OK! | 2 |
| 8 | 4ms | 393kb | OK! | 3 |
| 9 | 2ms | 262kb | OK! | 11 |
| 10 | 3ms | 262kb | OK! | 13 |
| 11 | 4ms | 262kb | OK! | 3 |
| 12 | 3ms | 262kb | OK! | 13 |
| 13 | 2ms | 262kb | OK! | 5 |
| 14 | 4ms | 393kb | OK! | 3 |
| 15 | 6ms | 393kb | OK! | 3 |
| 16 | 4ms | 262kb | OK! | 3 |
| 17 | 4ms | 393kb | OK! | 3 |
| 18 | 3ms | 262kb | OK! | 13 |
| 19 | 85ms | 8908kb | OK! | 7 |
| 20 | 19ms | 393kb | OK! | 2 |
| Punctaj total | 100 |