Pagini recente » Cod sursa (job #2138331) | Borderou de evaluare (job #2671347) | Borderou de evaluare (job #2419430) | Borderou de evaluare (job #1578282) | Borderou de evaluare (job #2634649)
Borderou de evaluare (job #2634649)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
fprintf(fout, "%lld ", i);
^
main.cpp:24:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
else fprintf(fout, "%lld ", i);
^
main.cpp:11:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld %lld", &n, &m);
^
main.cpp:22:26: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int i = n;i > n - k;--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 | 3ms | 131kb | OK! | 10 |
| 6 | 5ms | 131kb | OK! | 10 |
| 7 | 7ms | 262kb | OK! | 10 |
| 8 | 14ms | 262kb | OK! | 10 |
| 9 | 24ms | 524kb | OK! | 10 |
| 10 | 36ms | 655kb | OK! | 10 |
| Punctaj total | 100 |