Borderou de evaluare (job #1002967)

Utilizator crisbodnarCristian Bodnar crisbodnar Data 29 septembrie 2013 14:22:07
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%u %u ", &n, &k); ^ user.cpp:25:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:28:31: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%u %u ", &x, &y); ^ user.cpp:28:31: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<h.size(); i++) ^ user.cpp:60:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%u ", rez); ^ user.cpp:50:16: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] a[x].clear(); ^ user.cpp:48:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] swap(h[poz], h[h.size()-1]); h.pop_back(); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms356kbIncorect0
20ms360kbIncorect0
30ms364kbIncorect0
40ms360kbIncorect0
50ms360kbIncorect0
60ms360kbIncorect0
70ms360kbIncorect0
80ms364kbIncorect0
90ms360kbIncorect0
100ms364kbIncorect0
110ms364kbIncorect0
120ms356kbIncorect0
130ms364kbIncorect0
140ms356kbIncorect0
150ms360kbIncorect0
160ms364kbIncorect0
170ms364kbIncorect0
180ms356kbIncorect0
190ms360kbIncorect0
200ms364kbIncorect0
Punctaj total0

Ceva nu functioneaza?