Borderou de evaluare (job #2272623)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 30 octombrie 2018 14:48:01
Problema Traffickers Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In constructor 'Node::Node()': main.cpp:58:19: warning: 'Node::weight' will be initialized after [-Wreorder] int idx, depth, weight, chain_position; ^~~~~~ main.cpp:58:12: warning: 'int Node::depth' [-Wreorder] int idx, depth, weight, chain_position; ^~~~~ main.cpp:62:3: warning: when initialized here [-Wreorder] Node() : weight(0), depth(0) {} ^~~~ main.cpp: In function 'void ReadGraph()': main.cpp:83:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:85:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int u, v; scanf("%d%d", &u, &v); ^ main.cpp: In function 'void AddInitialTraffickers()': main.cpp:175:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int k; scanf("%d", &k); ^ main.cpp:178:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int u, v; scanf("%d%d", &u, &v); ^ main.cpp: In function 'void ProcessOperations()': main.cpp:228:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int q; scanf("%d", &q); ^ main.cpp:231:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int type, u, v; scanf("%d%d%d", &type, &u, &v); ^ main.cpp:238:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int t1, t2; scanf("%d%d", &t1, &t2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms1835kbOK5
220ms3538kbOK5
325ms4718kbOK5
4269ms26607kbOK5
5268ms28573kbOK5
6219ms20316kbOK5
7229ms28442kbOK5
8271ms31064kbOK5
9231ms29753kbOK5
10256ms27656kbOK5
11233ms20971kbOK5
12241ms19791kbOK5
132246ms81465kbOK5
142015ms68444kbOK5
152287ms60686kbOK5
162126ms94240kbOK5
171963ms95551kbOK5
182152ms63696kbOK5
192622ms55963kbOK5
202099ms55570kbOK5
Punctaj total100

Ceva nu functioneaza?