Pagini recente » Borderou de evaluare (job #3234665) | Borderou de evaluare (job #2135582) | Borderou de evaluare (job #3274685) | Borderou de evaluare (job #2412586) | Borderou de evaluare (job #2771548)
Borderou de evaluare (job #2771548)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:235:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &_);
^
main.cpp:238:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
main.cpp: In function 'void solve(int)':
main.cpp:101:91: warning: 'xRight' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[n][3].len=bestLeft+bestRight+1, dp[n][3].left=xLeft, dp[n][3].right=xRight, dp[n][3].setOp((char)opLeft, (char)opRight);
~~~~~~~~~~~~~~^~~~~~~
main.cpp:101:69: warning: 'xLeft' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[n][3].len=bestLeft+bestRight+1, dp[n][3].left=xLeft, dp[n][3].right=xRight, dp[n][3].setOp((char)opLeft, (char)opRight);
~~~~~~~~~~~~~^~~~~~
main.cpp:101:114: warning: 'opRight' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[n][3].len=bestLeft+bestRight+1, dp[n][3].left=xLeft, dp[n][3].right=xRight, dp[n][3].setOp((char)opLeft, (char)opRight);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:101:114: warning: 'opLeft' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 655kb | corect | 10 |
2 | 3ms | 655kb | corect | 10 |
3 | 3ms | 655kb | corect | 10 |
4 | 5ms | 655kb | lungimea expresiei nu este minima | 0 |
5 | 43ms | 917kb | lungimea expresiei nu este minima | 0 |
6 | 63ms | 786kb | lungimea expresiei nu este minima | 0 |
7 | 53ms | 1310kb | lungimea expresiei nu este minima | 0 |
8 | 43ms | 786kb | lungimea expresiei nu este minima | 0 |
9 | 79ms | 1310kb | lungimea expresiei nu este minima | 0 |
10 | 64ms | 1310kb | lungimea expresiei nu este minima | 0 |
Punctaj total | 30 |