Borderou de evaluare (job #2511296)

Utilizator monicalMonica L monical Data 18 decembrie 2019 18:32:57
Problema Heavy metal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f,"%d",&n); ^ main.cpp:24:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f,"%d%d",&x,&y); ^ main.cpp:24:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:38:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g,"%d",optim[a[n].t2]); ^ main.cpp:22:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ main.cpp:24:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
23ms131kbOK10
32ms131kbOK10
43ms131kbOK10
544ms626kbOK10
657ms729kbOK10
763ms917kbOK10
890ms1048kbOK10
9128ms1241kbOK10
1089ms1179kbOK10
Punctaj total100

Ceva nu functioneaza?