Borderou de evaluare (job #1061391)

Utilizator VisanCosminVisan Tudor Cosmin VisanCosmin Data 19 decembrie 2013 18:16:14
Problema Energii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=] fscanf(f,"%u%u",&g,&w); ^ user.cpp:17:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=] user.cpp:19:36: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=] fscanf(f,"%u%u",&a[i],&p[i]); ^ user.cpp:19:36: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=] user.cpp:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(mat[g][w]!=inf) ^ user.cpp:32:33: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf(h,"%u",mat[g][w]); ^ user.cpp:35:26: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%u",mat[g][w]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms428kbWrong answer!0
24ms436kbWrong answer!0
34ms420kbWrong answer!0
44ms416kbWrong answer!0
54ms424kbWrong answer!0
64ms384kbKilled by signal 11(SIGSEGV).0
712ms400kbKilled by signal 11(SIGSEGV).0
84ms396kbKilled by signal 11(SIGSEGV).0
912ms396kbKilled by signal 11(SIGSEGV).0
104ms396kbKilled by signal 11(SIGSEGV).0
114ms400kbKilled by signal 11(SIGSEGV).0
124ms404kbKilled by signal 11(SIGSEGV).0
134ms400kbKilled by signal 11(SIGSEGV).0
144ms404kbKilled by signal 11(SIGSEGV).0
154ms400kbKilled by signal 11(SIGSEGV).0
164ms396kbKilled by signal 11(SIGSEGV).0
174ms396kbKilled by signal 11(SIGSEGV).0
184ms396kbKilled by signal 11(SIGSEGV).0
194ms404kbKilled by signal 11(SIGSEGV).0
204ms400kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?