Borderou de evaluare (job #1146372)

Utilizator a96tudorAvram Tudor a96tudor Data 18 martie 2014 21:56:05
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Update(long long unsigned int, long long unsigned int)’: user.cpp:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=x;i<=N;i+=ub(i)) AIB[i]+=NR; ^ user.cpp: In function ‘int main()’: user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",&N,&M); ^ user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:21:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1;i<=N;++i) scanf("%lld",&x), Update(i,x); ^ user.cpp:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1;i<=M;++i) ^ user.cpp:29:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
188ms356kbCorect!20
288ms352kbCorect!20
388ms352kbCorect!20
492ms356kbCorect!20
588ms356kbCorect!20
Punctaj total100

Ceva nu functioneaza?