Pagini recente » Borderou de evaluare (job #133266) | Borderou de evaluare (job #1142739) | Borderou de evaluare (job #661227) | Borderou de evaluare (job #2463898) | Borderou de evaluare (job #2654115)
Borderou de evaluare (job #2654115)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:50:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
fprintf( fout, "%lld", sum + max ( max1 + max2, max3 ) );
^
main.c:14:18: warning: unused variable 'c' [-Wunused-variable]
int n, a, b, c, sum, max1, max2, pozmax1, i;
^
main.c:14:15: warning: unused variable 'b' [-Wunused-variable]
int n, a, b, c, sum, max1, max2, pozmax1, i;
^
main.c:14:12: warning: unused variable 'a' [-Wunused-variable]
int n, a, b, c, sum, max1, max2, pozmax1, i;
^
main.c:16: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:22: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 |