Borderou de evaluare (job #2634649)

Utilizator irimia_alexIrimia Alex irimia_alex Data 11 iulie 2020 20:17:22
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms131kbOK!10
22ms131kbOK!10
32ms131kbOK!10
42ms131kbOK!10
53ms131kbOK!10
65ms131kbOK!10
77ms262kbOK!10
814ms262kbOK!10
924ms524kbOK!10
1036ms655kbOK!10
Punctaj total100

Ceva nu functioneaza?