Borderou de evaluare (job #1658887)

Utilizator touristGennady Korotkevich tourist Data 21 martie 2016 20:55:39
Problema P-sir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void Normalize()’: user.cpp:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2;i<=n;++i) ^ user.cpp: In function ‘int main()’: user.cpp:35:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<=n;++i) ^ user.cpp:41:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=2;i<=n;++i) ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:51:36: note: in expansion of macro ‘MOD’ if(val<0) val+=MOD; ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:55:21: note: in expansion of macro ‘MOD’ if(sol>=MOD) sol-=MOD; ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:55:31: note: in expansion of macro ‘MOD’ if(sol>=MOD) sol-=MOD; ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:57:30: note: in expansion of macro ‘MOD’ if(sum[i][a[j]]>=MOD) sum[i][a[j]]-=MOD; ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:57:49: note: in expansion of macro ‘MOD’ if(sum[i][a[j]]>=MOD) sum[i][a[j]]-=MOD; ^ user.cpp:59:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=2;j<=maxx;++j) ^ user.cpp:3:18: warning: left shift count >= width of type [enabled by default] #define MOD (1u<<32) ^ user.cpp:62:27: note: in expansion of macro ‘MOD’ if(sum[i][j]>=MOD) sum[i][j]-=MOD; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbOK10
20ms744kbOK10
30ms1024kbOK10
412ms4808kbIncorect0
532ms8296kbIncorect0
632ms8484kbIncorect0
7112ms15348kbOK10
8124ms16040kbOK10
988ms13520kbIncorect0
10124ms16132kbIncorect0
Punctaj total50

Ceva nu functioneaza?