Pagini recente » Borderou de evaluare (job #2693524) | Borderou de evaluare (job #2654116)
Borderou de evaluare (job #2654116)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:17:22: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
fscanf( fin, "%d%d%d%d", &n, &v[0], &v[1], &v[2] );
^
main.c:17:24: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
fscanf( fin, "%d%d%d%d", &n, &v[0], &v[1], &v[2] );
^
main.c:17:26: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long long int *' [-Wformat=]
fscanf( fin, "%d%d%d%d", &n, &v[0], &v[1], &v[2] );
^
main.c:23:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
fscanf( fin, "%d", &v[i] );
^
main.c:15:18: warning: unused variable 'c' [-Wunused-variable]
int n, a, b, c, pozmax1, i;
^
main.c:15:15: warning: unused variable 'b' [-Wunused-variable]
int n, a, b, c, pozmax1, i;
^
main.c:15:12: warning: unused variable 'a' [-Wunused-variable]
int n, a, b, c, pozmax1, i;
^
main.c:17:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d%d%d", &n, &v[0], &v[1], &v[2] );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:23:7: warning: ignoring return value of 'fscanf', 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 | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 80 |