Borderou de evaluare (job #2717487)

Utilizator YusyBossFares Yusuf YusyBoss Data 7 martie 2021 15:05:02
Problema Mostenire3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'long long int test(long long int)': main.cpp:23:21: warning: unused variable 'cnt' [-Wunused-variable] long long st, dr, cnt, nrsum, sumcur; ^~~ main.cpp: In function 'int main()': main.cpp:71:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%d%lld", &n, &k); ^ main.cpp:75:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%d", &v[i]); ^ main.cpp:103:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(fout, "%d\n", sume[0].val); ^ main.cpp:114:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(fout, "%d %lld\n", sume1[nrsum], cnt); ^ main.cpp:71:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%lld", &n, &k); ^ main.cpp:75:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^ main.cpp: In function 'long long int caut_bin(long long int, long long int)': main.cpp:63:10: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] return sol; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
63ms131kbSac neluat2
73ms131kbOK5
82ms131kbOK5
92ms131kbOK5
103ms131kbOK5
113ms131kbSac neluat2
123ms131kbSac neluat2
133ms131kbSac neluat2
144ms131kbSac neluat2
156ms131kbSac neluat2
167ms262kbSac neluat2
1711ms262kbSac neluat2
1827ms786kbSac neluat2
1944ms917kbOK5
2041ms917kbSac neluat2
Punctaj total70

Ceva nu functioneaza?