Pagini recente » Borderou de evaluare (job #419367) | Borderou de evaluare (job #418474) | Borderou de evaluare (job #899200) | Borderou de evaluare (job #436649) | Borderou de evaluare (job #2557099)
Borderou de evaluare (job #2557099)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:182:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
if (a[i - 1][j] + a[i - 1][j] != a[i][j] > maxi)
~~~~~~~~^~~~~~
main.cpp:189:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
if (a[i][j - 1] + a[i][j - 1] != a[i][j] > maxi)
~~~~~~~~^~~~~~
main.cpp:196:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
if (a[i + 1][j] + a[i + 1][j] != a[i][j] > maxi)
~~~~~~~~^~~~~~
main.cpp:203:47: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
if (a[i][j + 1] + a[i][j + 1] != a[i][j] > maxi)
~~~~~~~~^~~~~~
main.cpp:68:10: warning: unused variable 'max_char' [-Wunused-variable]
char max_char;
^~~~~~~~
main.cpp:64:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i <= n; ++i)
^~~
main.cpp:212:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout << ax << " " << ay << "\n" << car << "\n";
^~~~
main.cpp:63:8: warning: 'car' may be used uninitialized in this function [-Wmaybe-uninitialized]
char car;
^~~
main.cpp:212:46: warning: 'ay' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << ax << " " << ay << "\n" << car << "\n";
^~~~
main.cpp:212:18: warning: 'ax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << ax << " " << ay << "\n" << car << "\n";
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | Corect! Varianta 1 | 5 |
2 | 4ms | 393kb | Corect! Varianta 1 | 5 |
3 | 5ms | 786kb | Corect! Varianta 1 | 5 |
4 | 8ms | 917kb | Corect! Varianta 1 | 5 |
5 | 39ms | 8650kb | Corect! Varianta 1 | 5 |
6 | 2ms | 131kb | Linie in afara matricei | 0 |
7 | 3ms | 262kb | Corect! Varianta 2 | 5 |
8 | 3ms | 262kb | Gresit! | 0 |
9 | 3ms | 393kb | Gresit! | 0 |
10 | 3ms | 393kb | Gresit! | 0 |
11 | 5ms | 524kb | Gresit! | 0 |
12 | 7ms | 786kb | Gresit! | 0 |
13 | 11ms | 1310kb | Gresit! | 0 |
14 | 7ms | 786kb | Gresit! | 0 |
15 | 12ms | 1048kb | Gresit! | 0 |
16 | 12ms | 1048kb | Gresit! | 0 |
17 | 13ms | 1179kb | Gresit! | 0 |
18 | 12ms | 1048kb | Gresit! | 0 |
19 | 18ms | 1572kb | Gresit! | 0 |
20 | 2ms | 131kb | Corect! Varianta 1 | 5 |
Punctaj total | 35 |