Borderou de evaluare (job #2671352)

Utilizator akumariaPatrascanu Andra-Maria akumaria Data 11 noiembrie 2020 22:36:35
Problema Arbori binari de cautare echilibrati Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool deleteNode(int, node*)': main.cpp:96:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (current_node == 0) ^~ main.cpp:99:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(current_node->x == x) { ^~ main.cpp: In function 'bool find(int, node*)': main.cpp:149:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(current_node->leftSon == 0 && current_node->rightSon == 0) ^~ main.cpp:152:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (current_node->x > x) ^~ main.cpp: In function 'int findMin(int, node*)': main.cpp:160:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (current_node == 0) ^~ main.cpp:163:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (current_node->x == x) ^~ main.cpp: In function 'int findMax(int, node*)': main.cpp:183:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (current_node == 0) ^~ main.cpp:186:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (current_node->x == x) ^~ main.cpp: In function 'int main()': main.cpp:222:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abce.in", "r", stdin); ^ main.cpp:223:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abce.out", "w", stdout); ^ main.cpp:226:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:228:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &t, &x); ^ main.cpp:249:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
122ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
142ms131kbKilled by Signal 110
153ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
1811ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?