Borderou de evaluare (job #1153763)

Utilizator serbanSlincu Serban serban Data 25 martie 2014 18:28:37
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:37:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<=n;i++) ^ user.cpp:39:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f,"%I64d%I64d",&A[i],&B[i]); ^ user.cpp:39:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:43:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=2;i<=m;i++) ^ user.cpp:47:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=2;j<=m/i;j++) ^ user.cpp:53:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=2;i<=m;i++) ^ user.cpp:58:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<=n;i++) ^ user.cpp:63:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(j<=k || B[i]!=1) ^ user.cpp:74:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(j>k && B[i]!=1) ^ user.cpp:79:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=1;j<=desc[0];j++) ^ user.cpp:81:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%I64d\n",numere); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms384kbKilled by signal 8(SIGFPE).00
20ms388kbKilled by signal 8(SIGFPE).00
30ms416kbKilled by signal 8(SIGFPE).00
44ms452kbKilled by signal 8(SIGFPE).00
54ms444kbKilled by signal 8(SIGFPE).00
64ms444kbKilled by signal 8(SIGFPE).00
74ms452kbKilled by signal 8(SIGFPE).00
84ms468kbKilled by signal 8(SIGFPE).00
94ms472kbKilled by signal 8(SIGFPE).0
104ms472kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?