Borderou de evaluare (job #946196)

Utilizator Al3ks1002Alex Cociorva Al3ks1002 Data 3 mai 2013 23:59:58
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘long long int check(long long int*)’: user.cpp:112:25: warning: unused variable ‘nr’ [-Wunused-variable] long long B[2005],i,nr=A[1]; ^ user.cpp: In function ‘int main()’: user.cpp:130:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); unu[0]=unu[1]=1; ^ user.cpp:133:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%s%d\n",s+1,&P); nr=strlen(s+1); ^ user.cpp:150:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",m[m[0]]); ^ user.cpp:151:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] for(i=m[0]-1;i;i--) printf("%.8d",m[i]); printf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms324kbOK50100
213992ms336kbOK50
Punctaj total100

Ceva nu functioneaza?