Borderou de evaluare (job #2709933)

Utilizator YusyBossFares Yusuf YusyBoss Data 21 februarie 2021 14:58:04
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 23

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%d%d", &n, &p); ^ main.cpp:25:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:28:30: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(fin, "%lld", &v[i]); ^ main.cpp:44:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout, "%lld ", v1[0].poz + 1); ^ main.cpp:58:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout, "%lld ", v1[0].poz + 1); ^ main.cpp:25:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &p); ^ main.cpp:28:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCerinta 1 corecta !1
22ms131kbCerinta 1 corecta !1
32ms131kbCerinta 2 incorecta !3
42ms131kbCerinta 1 corecta !1
52ms131kbCerinta 2 incorecta !3
62ms131kbCerinta 2 incorecta !3
72ms131kbCerinta 1 corecta !1
82ms131kbCerinta 1 corecta !1
92ms131kbCerinta 1 corecta !1
102ms131kbCerinta 1 corecta !1
117ms131kbCerinta 1 corecta !1
125ms131kbCerinta 1 corecta !1
1332ms262kbCerinta 1 corecta !1
14173ms393kbCerinta 1 corecta !1
15595ms655kbCerinta 1 corecta !1
16799ms786kbCerinta 1 corecta !1
17801ms786kbTime limit exceeded0
18803ms786kbTime limit exceeded0
19803ms786kbTime limit exceeded0
2073ms1179kbCerinta 1 corecta !1
Punctaj total23

Ceva nu functioneaza?