Borderou de evaluare (job #1036462)

Utilizator costin7856Antonesi Florean Costin costin7856 Data 19 noiembrie 2013 13:28:11
Problema Pariuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ^ user.cpp:12:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d",&m); ^ user.cpp:13:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=1;j<=m;j++) ^ user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:24:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",sol); ^ user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] printf("%d %d ",i,a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms2876kbOK!10
2124ms10508kbOK!10
3260ms13656kbOK!10
4332ms14104kbOK!10
5580ms14852kbOK!10
6940ms15168kbOK!10
71052ms15304kbOK!10
81180ms15384kbOK!10
90ms240kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total80

Ceva nu functioneaza?