Pagini recente » Borderou de evaluare (job #2372859) | Borderou de evaluare (job #1872365) | Borderou de evaluare (job #176674) | Borderou de evaluare (job #2923626)
Borderou de evaluare (job #2923626)
Raport evaluator
Compilare:
main.cpp:28:5: warning: built-in function 'log2' declared as non-function [-Wbuiltin-declaration-mismatch]
28 | int log2[1 + 2 * NMAX];
| ^~~~
main.cpp: In function 'void dfsCostJos(int)':
main.cpp:36:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i = 0; i < graf[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfsLCA(int)':
main.cpp:56:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for (int i = 0; i < graf[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfsLanturi(int)':
main.cpp:81:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (int i = 0; i < graf[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
98 | for (int i = 0; i < graf[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void preCalcRMQ()':
main.cpp:174:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for (int i = 2; i < liniarizareLCA.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:177:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
177 | for (int i = 1; i < liniarizareLCA.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:183:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
183 | for (int l = 1; (1 << l) < liniarizareLCA.size(); l++)
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:185:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for (int i = 1; i + (1 << l) - 1 < liniarizareLCA.size(); i++)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:269:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
269 | for (int i = 1; i < lanturi.size(); i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:271:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
271 | for (int j = 1; j < lanturi[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:279:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
279 | for (int i = 1; i < lanturi.size(); i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:281:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
281 | for (int i = 1; i < lanturi.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 5 | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 2ms | 3067kb | Incorect | 0 | 0 |
4 | 10ms | 3592kb | Incorect | 0 |
5 | 124ms | 17604kb | OK | 5 | 0 |
6 | 214ms | 14622kb | Incorect | 0 |
7 | 127ms | 17297kb | Incorect | 0 |
8 | 217ms | 14753kb | Incorect | 0 |
9 | 50ms | 20496kb | Memory limit exceeded | 0 | 0 |
10 | 37ms | 19464kb | Killed by Signal 9 | 0 |
11 | 49ms | 19222kb | Killed by Signal 9 | 0 |
12 | 43ms | 20496kb | Memory limit exceeded | 0 |
13 | 63ms | 20254kb | Killed by Signal 9 | 0 | 0 |
14 | 54ms | 20496kb | Memory limit exceeded | 0 |
15 | 65ms | 20496kb | Memory limit exceeded | 0 |
16 | 55ms | 20496kb | Memory limit exceeded | 0 |
17 | 79ms | 20496kb | Memory limit exceeded | 0 | 0 |
18 | 64ms | 20496kb | Memory limit exceeded | 0 |
19 | 80ms | 20496kb | Memory limit exceeded | 0 |
20 | 64ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 0 |