Borderou de evaluare (job #2378525)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 12 martie 2019 13:25:18
Problema Tablou Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(IN,"%I64d%I64d",&N,&M); ^ main.cpp:18:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:26:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(IN,"%I64d",&Q); ^ main.cpp:29:65: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(IN,"%I64d%I64d%I64d%I64d%I64d",&X1,&Y1,&X2,&Y2,&C); ^ main.cpp:29:65: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:29:65: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=] main.cpp:29:65: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=] main.cpp:29:65: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'long long int*' [-Wformat=] main.cpp:35:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(OUT,"%I64d\n",N*M*(out[i]*Q-T)); ^ main.cpp:18:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d%I64d",&N,&M); ^ main.cpp:22:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%s",Mat[i]+1); ^ main.cpp:26:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d",&Q); ^ main.cpp:29:66: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d%I64d%I64d%I64d%I64d",&X1,&Y1,&X2,&Y2,&C); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbIncorect0
28ms1835kbIncorect0
38ms1835kbIncorect0
4237ms81395kbIncorect0
5234ms81395kbIncorect0
6228ms81395kbIncorect0
7538ms22544kbIncorect0
8497ms22544kbIncorect0
9678ms88604kbIncorect0
10832ms88604kbIncorect0
Punctaj total0

Ceva nu functioneaza?