Pagini recente » Borderou de evaluare (job #49313) | Borderou de evaluare (job #1742981) | Borderou de evaluare (job #2964075) | Borderou de evaluare (job #1392054) | Borderou de evaluare (job #2670959)
Borderou de evaluare (job #2670959)
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 main()':
main.cpp:214: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:215: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:218:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:220: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:241: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 | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 2ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
7 | 2ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 2ms | 131kb | Killed by Signal 11 | 0 |
11 | 2ms | 131kb | Killed by Signal 11 | 0 |
12 | 2ms | 131kb | Killed by Signal 11 | 0 |
13 | 2ms | 131kb | Killed by Signal 11 | 0 |
14 | 2ms | 131kb | Killed by Signal 11 | 0 |
15 | 2ms | 131kb | Killed by Signal 11 | 0 |
16 | 2ms | 131kb | Killed by Signal 11 | 0 |
17 | 2ms | 131kb | Killed by Signal 11 | 0 |
18 | 2ms | 131kb | Killed by Signal 11 | 0 |
19 | 2ms | 131kb | Killed by Signal 11 | 0 |
20 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |