Borderou de evaluare (job #1070248)

Utilizator robertstrecheStreche Robert robertstreche Data 31 decembrie 2013 14:24:35
Problema Multimi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:21:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n1 ",n/2+1); ^ user.cpp:26:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:28:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:31:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("\n%ld\n",n/2); ^ user.cpp:36:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:38:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:44:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n1",n/2); ^ user.cpp:50:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:52:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:55:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("\n%ld\n",n/2); ^ user.cpp:60:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:62:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:68:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n1 2 ",n/2+1); ^ user.cpp:73:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:75:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",i); ^ user.cpp:77:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbFelicitarile lui Cash, ai raspuns corect10
20ms236kbFelicitarile lui Cash, ai raspuns corect10
34ms236kbFelicitarile lui Cash, ai raspuns corect10
428ms232kbFelicitarile lui Cash, ai raspuns corect10
5164ms232kbFelicitarile lui Cash, ai raspuns corect10
6180ms236kbCash e cam suparat, ai raspuns gresit0
7208ms232kbCash e cam suparat, ai raspuns gresit0
8240ms236kbFelicitarile lui Cash, ai raspuns corect10
9272ms236kbCash e cam suparat, ai raspuns gresit0
100ms232kbCash e cam suparat, ai raspuns gresit0
Punctaj total60

Ceva nu functioneaza?