Pagini recente » Diferente pentru problema/split2 intre reviziile 3 si 26 | Borderou de evaluare (job #2770285) | Borderou de evaluare (job #2820491) | Borderou de evaluare (job #3262786) | Borderou de evaluare (job #2672043)
Borderou de evaluare (job #2672043)
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:126:46: warning: variable 'parentSon' set but not used [-Wunused-but-set-variable]
node * nextSon = current_node->rightSon, * parentSon = current_node;
^~~~~~~~~
main.cpp: In function 'bool find(int, node*)':
main.cpp:163:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(current_node->leftSon == 0 && current_node->rightSon == 0)
^~
main.cpp:166: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:174:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (current_node == 0)
^~
main.cpp:177: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:197:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (current_node == 0)
^~
main.cpp:200: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:245: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:246: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:249:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:251: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:272: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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 141ms | 1179kb | OK | 5 |
| 5 | 132ms | 1179kb | OK | 5 |
| 6 | 134ms | 1179kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | OK | 5 |
| 10 | 3ms | 131kb | OK | 5 |
| 11 | 129ms | 1179kb | OK | 5 |
| 12 | 128ms | 1048kb | OK | 5 |
| 13 | 128ms | 1048kb | OK | 5 |
| 14 | 119ms | 1048kb | OK | 5 |
| 15 | 3ms | 131kb | OK | 5 |
| 16 | 3ms | 131kb | OK | 5 |
| 17 | 3ms | 131kb | OK | 5 |
| 18 | 179ms | 1966kb | OK | 5 |
| 19 | 184ms | 2097kb | OK | 5 |
| 20 | 159ms | 1966kb | OK | 5 |
| Punctaj total | 100 |