Borderou de evaluare (job #1065490)

Utilizator lianaliana tucar liana Data 23 decembrie 2013 13:38:20
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:40: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:52: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:78: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:85: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:89: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:114:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:117: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
10ms236kbIncorect00
24ms268kbIncorect00
340ms3348kbIncorect00
4188ms1488kbIncorect00
5252ms1796kbIncorect00
6248ms1796kbIncorect00
7Depăşit3336kbTime limit exceeded.00
880ms3336kbKilled by signal 11(SIGSEGV).0
976ms3340kbKilled by signal 11(SIGSEGV).0
1068ms3336kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?