Borderou de evaluare (job #2564177)

Utilizator george211George Ionescu george211 Data 1 martie 2020 18:49:24
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:69: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:69:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:72: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:78:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&x); ^ main.cpp:83: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:83:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:85: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:88: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:88:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:69: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:72: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:78: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:83: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:88: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
317ms262kbOK1010
449ms393kbOK1010
570ms2883kbOK1010
686ms3014kbOK1050
7217ms3670kbOK10
8186ms3276kbOK10
9180ms3276kbOK10
10188ms3407kbOK10
Punctaj total100

Ceva nu functioneaza?