Pagini recente » Borderou de evaluare (job #944929) | Borderou de evaluare (job #330830) | Borderou de evaluare (job #2884410) | Borderou de evaluare (job #2829135) | Borderou de evaluare (job #2299861)
Borderou de evaluare (job #2299861)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^~~~~~~~~~~~~~~~~~~~~
main.c:22:17: warning: 'smax' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i>=k && sc>smax){
~~~~~^~~~~~~~~~
main.c:15:37: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i>k && sum[i]-sum[i-k]>sc+x){
~~^~
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 | OK! | 10 |
6 | 6ms | 131kb | OK! | 10 |
7 | 8ms | 131kb | OK! | 10 |
8 | 12ms | 262kb | OK! | 10 |
9 | 23ms | 307kb | Wrong answer! | 0 |
10 | 22ms | 262kb | Wrong answer! | 0 |
Punctaj total | 40 |