Pagini recente » Atasamentele paginii Profil PMihai | Borderou de evaluare (job #2685603) | Borderou de evaluare (job #1006055) | Borderou de evaluare (job #1036547) | Borderou de evaluare (job #2690805)
Borderou de evaluare (job #2690805)
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 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 3ms | 131kb | OK | 5 |
| 12 | 3ms | 131kb | OK | 5 |
| 13 | 3ms | 131kb | OK | 5 |
| 14 | 3ms | 131kb | OK | 5 |
| 15 | 3ms | 131kb | OK | 5 |
| 16 | 3ms | 131kb | Incorect | 0 |
| 17 | 53ms | 131kb | OK | 5 |
| 18 | 95ms | 131kb | OK | 5 |
| 19 | 183ms | 262kb | Incorect | 0 |
| 20 | 3ms | 131kb | Incorect | 0 |
| Punctaj total | 80 |