Pagini recente » Borderou de evaluare (job #2698691) | Borderou de evaluare (job #1210444) | Borderou de evaluare (job #1817774) | Borderou de evaluare (job #2782681) | Borderou de evaluare (job #2690801)
Borderou de evaluare (job #2690801)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if( v[ 0 ] == 0 )
^~
main.cpp:27:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
b[ 0 ] = v[ 0 ] - ni + 1;
^
main.cpp:33:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if( v[ v[ 0 ] ] == 0 )
^~
main.cpp:35:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
a[ 0 ] = v[ 0 ];
^
main.cpp:15:14: warning: unused variable 'n1' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~
main.cpp:15:18: warning: unused variable 'n2' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~
main.cpp:15:25: warning: variable 'j' set but not used [-Wunused-but-set-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^
main.cpp:15:28: warning: unused variable 'c' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^
main.cpp:15:35: warning: unused variable 'poz' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~~
main.cpp:17:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &ni, &nz );
^
main.cpp:21:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &v[ i ] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 5 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 5 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | OK | 5 |
11 | 3ms | 131kb | Incorect | 0 |
12 | 3ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | OK | 5 |
14 | 2ms | 131kb | OK | 5 |
15 | 3ms | 131kb | OK | 5 |
16 | 3ms | 131kb | Incorect | 0 |
17 | 53ms | 131kb | OK | 5 |
18 | 4ms | 131kb | Incorect | 0 |
19 | 4ms | 131kb | Incorect | 0 |
20 | 3ms | 131kb | Incorect | 0 |
Punctaj total | 40 |