Pagini recente » Borderou de evaluare (job #2391418) | Borderou de evaluare (job #1706362) | Borderou de evaluare (job #1923949) | Borderou de evaluare (job #1090808) | Borderou de evaluare (job #2299835)
Borderou de evaluare (job #2299835)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:37: warning: unused variable 'lmax' [-Wunused-variable]
int n, k, i, sc, inc, sf, l, x, lmax, smax;
^~~~
main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &k );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &x );
^~~~~~~~~~~~~~~~~~~~~~~
main.c:29:5: warning: 'sf' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf( fout, "%d %d %d", inc + 1, sf + 1, smax );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:5: warning: 'inc' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Wrong answer! | 0 |
2 | 2ms | 131kb | Wrong answer! | 0 |
3 | 3ms | 131kb | Wrong answer! | 0 |
4 | 2ms | 131kb | Wrong answer! | 0 |
5 | 4ms | 131kb | Wrong answer! | 0 |
6 | 6ms | 131kb | Wrong answer! | 0 |
7 | 8ms | 131kb | OK! | 10 |
8 | 11ms | 131kb | Wrong answer! | 0 |
9 | 14ms | 131kb | Wrong answer! | 0 |
10 | 21ms | 131kb | Wrong answer! | 0 |
Punctaj total | 10 |