Borderou de evaluare (job #1065520)

Utilizator lianaliana tucar liana Data 23 decembrie 2013 14:07:04
Problema Kami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void schimba()’: user.cpp:8:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld",&poz,&val); ^ user.cpp:8:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void calc()’: user.cpp:37:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&b); rez=-1; val=s[b]+st[b-b%dim]; ^ user.cpp:49:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",rez); ^ user.cpp:75:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",rez); ^ user.cpp: In function ‘int main()’: user.cpp:82:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&n); ////////n=1???? dim=1?????? ^ user.cpp:86:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:111:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:114:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&op); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms240kbIncorect00
24ms268kbIncorect00
340ms3344kbIncorect00
4184ms1480kbIncorect00
5244ms1800kbIncorect00
6244ms1800kbIncorect00
7Depăşit3340kbTime limit exceeded.00
880ms3340kbKilled by signal 11(SIGSEGV).0
976ms3336kbKilled by signal 11(SIGSEGV).0
1068ms3336kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?