Borderou de evaluare (job #1063958)

Utilizator lianaliana tucar liana Data 21 decembrie 2013 12:51:33
Problema Kami Status done
Runda Algoritmiada 2014 - Runda 1, Clasele 11-12 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:32: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:44: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:70: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:77: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:81: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:106:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:109:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&op); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
24ms264kbIncorect0
352ms3332kbKilled by signal 11(SIGSEGV).0
4260ms1476kbIncorect0
5356ms1800kbIncorect0
6352ms1796kbIncorect0
7Depăşit2412kbTime limit exceeded.0
876ms3340kbKilled by signal 11(SIGSEGV).0
976ms3332kbKilled by signal 11(SIGSEGV).0
1068ms3340kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?