Borderou de evaluare (job #2276186)

Utilizator Calin998Calin Gligore Calin998 Data 4 noiembrie 2018 12:34:06
Problema Mediana Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=] fscanf(fin,"%d",&T); ^ main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=] fscanf(fin,"%d%d%d",&N,&M,&Q); ^ main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'size_t* {aka long unsigned int*}' [-Wformat=] main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'size_t* {aka long unsigned int*}' [-Wformat=] main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=] fscanf(fin,"%d%d%d%d",&le1,&ri1,&le2,&ri2); ^ main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'size_t* {aka long unsigned int*}' [-Wformat=] main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'size_t* {aka long unsigned int*}' [-Wformat=] main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'size_t* {aka long unsigned int*}' [-Wformat=] main.cpp:34:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&T); ^ main.cpp:37:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d",&N,&M,&Q); ^ main.cpp:42:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",A+i); ^ main.cpp:46:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",B+i); ^ main.cpp:50:55: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d",&le1,&ri1,&le2,&ri2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?