Borderou de evaluare (job #1733676)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 25 iulie 2016 12:35:24
Problema Multimi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",ct); ^ user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] {if(v[i]==1)printf("%d ",i); ^ user.cpp:27:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(s!=p){printf("%d ",p-s);} ^ user.cpp:28:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("\n%d\n",n-ct); ^ user.cpp:30:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] {if(v[i]==0&&i!=p-s)printf("%d ",i); ^ user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",ct); ^ user.cpp:45:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(v[i]==1)printf("%d ",i); ^ user.cpp:47:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(s!=p){printf("%d ",p+1-s);} ^ user.cpp:48:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("\n%d\n",n-ct); ^ user.cpp:50:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] {if(v[i]==0&&i!=p+1-s)printf("%d ",i); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen("multimi2.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbFelicitarile lui Cash, ai raspuns corect10
20ms432kbFelicitarile lui Cash, ai raspuns corect10
30ms440kbFelicitarile lui Cash, ai raspuns corect10
424ms468kbFelicitarile lui Cash, ai raspuns corect10
5144ms604kbFelicitarile lui Cash, ai raspuns corect10
6168ms636kbFelicitarile lui Cash, ai raspuns corect10
7188ms668kbFelicitarile lui Cash, ai raspuns corect10
8216ms692kbFelicitarile lui Cash, ai raspuns corect10
9240ms720kbFelicitarile lui Cash, ai raspuns corect10
100ms428kbFelicitarile lui Cash, ai raspuns corect10
Punctaj total100

Ceva nu functioneaza?