Borderou de evaluare (job #2561411)

Utilizator MAF10000nu va dau numele MAF10000 Data 28 februarie 2020 19:34:17
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:74:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d%d",&n,&m); ^ main.cpp:74:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:77:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&v[j]); ^ main.cpp:83:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&x); ^ main.cpp:88:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d%d",&c,&d); ^ main.cpp:88:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:90:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(out,"%d\n",maximul); ^ main.cpp:93:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d%d",&c,&d); ^ main.cpp:93:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:74:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&n,&m); ^ main.cpp:77:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&v[j]); ^ main.cpp:83:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&x); ^ main.cpp:88:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&c,&d); ^ main.cpp:93:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&c,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
213ms131kbIncorect00
318ms262kbOK1010
450ms393kbIncorect00
571ms2359kbIncorect00
671ms2490kbOK100
7232ms3276kbIncorect0
8203ms2752kbIncorect0
9182ms2752kbOK10
10168ms2883kbOK10
Punctaj total20

Ceva nu functioneaza?