Borderou de evaluare (job #1980322)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 12 mai 2017 20:45:44
Problema Orase2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 73

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&N); ^ user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&N,&X); ^ user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:39:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] for(int i=1;i<=N;i++)fscanf(f,"%d",&A[i]); ^ user.cpp:40:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] for(int i=1;i<=N;i++)fscanf(f,"%d",&B[i]); ^ user.cpp:37:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp:38:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&N,&X); ^ user.cpp:39:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=N;i++)fscanf(f,"%d",&A[i]); ^ user.cpp:40:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=N;i++)fscanf(f,"%d",&B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOk2
20ms280kbOk1
30ms276kbOk1
40ms276kbOk1
50ms284kbOk3
64ms288kbOk3
74ms288kbOk4
848ms436kbOk3
948ms436kbOk3
1048ms436kbIncorect0
11252ms1056kbIncorect0
120ms276kbOk4
130ms280kbOk4
1496ms584kbIncorect0
15264ms1052kbIncorect0
1656ms436kbOk5
17156ms752kbOk5
18252ms1052kbIncorect0
19256ms1052kbOk6
20256ms1048kbOk8
21272ms1056kbOk10
22244ms1052kbOk10
Punctaj total73

Ceva nu functioneaza?