Pagini recente » Borderou de evaluare (job #2842597) | Borderou de evaluare (job #423957) | Borderou de evaluare (job #1205776) | Borderou de evaluare (job #2497166) | Borderou de evaluare (job #2299832)
Borderou de evaluare (job #2299832)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:31:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
fprintf( fout, "%d %d %d", inc + 1, sf + 1, smax );
^
main.c:8:37: warning: variable 'lmax' set but not used [-Wunused-but-set-variable]
int n, k, i, sc, inc, sf, l, x, lmax;
^~~~
main.c:10:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &k );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &x );
^~~~~~~~~~~~~~~~~~~~~~~
main.c:31:5: warning: 'sf' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf( fout, "%d %d %d", inc + 1, sf + 1, smax );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:31: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 | 2ms | 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 | 20ms | 131kb | Wrong answer! | 0 |
Punctaj total | 10 |