Pagini recente » Borderou de evaluare (job #2885860) | Borderou de evaluare (job #2694438) | Borderou de evaluare (job #3153596) | Borderou de evaluare (job #2726011) | Borderou de evaluare (job #2581281)
Borderou de evaluare (job #2581281)
Raport evaluator
Compilare:
main.cpp: In function 'int findLca(int)':
main.cpp:34:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (step <= currPath.size()) {
~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos + step < currPath.size() && inSubtree(currPath[pos + step], otherNode)) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
main.cpp:61:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 20ms | 4980kb | OK | 10 | 10 |
2 | 13ms | 4980kb | OK | 10 | 10 |
3 | 28ms | 5505kb | OK | 10 | 10 |
4 | 204ms | 9306kb | OK | 10 | 10 |
5 | 229ms | 10223kb | OK | 10 | 10 |
6 | 360ms | 12189kb | OK | 10 | 10 |
7 | 1141ms | 33939kb | OK | 10 | 10 |
8 | 1689ms | 35401kb | OK | 10 | 30 |
9 | 2103ms | 43982kb | OK | 10 |
10 | 2327ms | 47251kb | OK | 10 |
Punctaj total | 100 |