Pagini recente » Borderou de evaluare (job #2284847) | Borderou de evaluare (job #2727088) | Borderou de evaluare (job #2623027) | Borderou de evaluare (job #594819) | Borderou de evaluare (job #2622568)
Borderou de evaluare (job #2622568)
Raport evaluator
Compilare:
main.cpp: In function 'void precompute()':
main.cpp:43:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g_euler_tour.size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:50:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i + (1 << j) <= g_euler_tour.size(); ++i)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:87:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 2; i < g_euler_tour.size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:73:34: 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:74:36: 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);
^
main.cpp:76:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &number_of_nodes, &number_of_requests);
^
main.cpp:81:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &l_temp_var);
^
main.cpp:96:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 3276kb | OK | 10 | 10 |
2 | 10ms | 3407kb | OK | 10 | 10 |
3 | 32ms | 5373kb | OK | 10 | 10 |
4 | 257ms | 15196kb | OK | 10 | 10 |
5 | 345ms | 22925kb | OK | 10 | 10 |
6 | 484ms | 23056kb | OK | 10 | 10 |
7 | 1121ms | 33677kb | OK | 10 | 10 |
8 | 1670ms | 25546kb | OK | 10 | 30 |
9 | 2091ms | 26480kb | OK | 10 |
10 | 2734ms | 26988kb | OK | 10 |
Punctaj total | 100 |