Pagini recente » Borderou de evaluare (job #1971628) | Borderou de evaluare (job #879549) | Borderou de evaluare (job #1687305) | Borderou de evaluare (job #296540) | Borderou de evaluare (job #2299868)
Borderou de evaluare (job #2299868)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:32:29: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int' [-Wformat=]
fprintf(fout, "%d %d %lld", stmax, drmax, smax);
^
main.c:7:62: warning: unused variable 'drc' [-Wunused-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^~~
main.c:7:37: warning: unused variable 'lmax' [-Wunused-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^~~~
main.c:7:32: warning: unused variable 'inc' [-Wunused-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^~~
main.c:7:28: warning: unused variable 'sf' [-Wunused-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^~
main.c:7:18: warning: variable 'l' set but not used [-Wunused-but-set-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^
main.c:7:15: warning: unused variable 'i' [-Wunused-variable]
int n, k, i, l, x, sc, sf, inc, lmax, stc, stmax, drmax, drc, smax;
^
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:17:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Wrong answer! | 0 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 4ms | 131kb | OK! | 10 |
6 | 6ms | 131kb | OK! | 10 |
7 | 9ms | 131kb | OK! | 10 |
8 | 12ms | 262kb | OK! | 10 |
9 | 15ms | 262kb | OK! | 10 |
10 | 22ms | 262kb | OK! | 10 |
Punctaj total | 90 |