Borderou de evaluare (job #2564185)

Utilizator MAF10000nu va dau numele MAF10000 Data 1 martie 2020 18:54:39
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:70: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:70:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:73: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:79:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&x); ^ main.cpp:84: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:84:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:86: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:89: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:89:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:70: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:73: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:79: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:84: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:89: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
212ms131kbOK1010
318ms262kbOK1010
449ms393kbOK1010
571ms2883kbOK1010
687ms3014kbOK1050
7207ms3670kbOK10
8178ms3276kbOK10
9187ms3276kbOK10
10201ms3407kbOK10
Punctaj total100

Ceva nu functioneaza?