Borderou de evaluare (job #2564125)

Utilizator MAF10000nu va dau numele MAF10000 Data 1 martie 2020 18:23:22
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:75: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:75:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:78: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:84:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&x); ^ main.cpp:89: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:89:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:91: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:94: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:94:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:75: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:78: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:84: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:89: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:94: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
212ms131kbIncorect00
317ms262kbOK1010
450ms393kbIncorect00
571ms2883kbIncorect00
688ms3014kbOK100
7216ms3670kbIncorect0
8182ms3276kbIncorect0
9203ms3276kbOK10
10185ms3407kbOK10
Punctaj total20

Ceva nu functioneaza?