Borderou de evaluare (job #2508095)

Utilizator viftode4Iftode Vlad viftode4 Data 11 decembrie 2019 15:47:53
Problema Spargere Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(fin,"%d",&n); ^ main.cpp:32:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin,"%d%d",&v[i].st,&v[i].nd); ^ main.cpp:32:44: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:33:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(fin,"%d",&q); ^ main.cpp:37:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(fin,"%d",&x); ^ main.cpp:38:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=] fprintf(fout,"%d\n",cautbin(0,1000005,x)); ^ main.cpp:30:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ main.cpp:32:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&v[i].st,&v[i].nd); ^ main.cpp:33:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&q); ^ main.cpp:37:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
188ms131kbIncorect00
270ms131kbIncorect0
390ms131kbIncorect0
470ms131kbIncorect0
583ms131kbIncorect0
688ms262kbIncorect0
770ms131kbIncorect0
881ms262kbIncorect0
988ms131kbIncorect0
1070ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?