Borderou de evaluare (job #1519912)

Utilizator sirbu12Sirbu Claudiu sirbu12 Data 8 noiembrie 2015 00:56:49
Problema Densitate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f, "%lld" , &n); ^ user.cpp:43:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld\n",a[dr]-a[st]+1); ^ user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld\n",a[dr]-a[st]); ^ user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld" , &n); ^ user.cpp:38:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld" , &x); ^ user.cpp:41:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld%ld" , &st,&dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
24ms436kbOK10
30ms476kbOK10
40ms500kbOK10
528ms492kbOK10
660ms824kbOK10
776ms984kbOK10
884ms2196kbOK10
992ms2312kbOK10
1096ms2388kbOK10
Punctaj total100

Ceva nu functioneaza?