Borderou de evaluare (job #993712)

Utilizator Stefex09Stefan Teodorescu Stefex09 Data 4 septembrie 2013 12:28:14
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void BFS()’: user.cpp:38:26: warning: narrowing conversion of ‘capete’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] now = state {1,capete}; ^ user.cpp:56:37: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] Q.push (state{i,left}); ^ user.cpp:56:37: warning: narrowing conversion of ‘left’ from ‘const int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp: In function ‘int main()’: user.cpp:72:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf ("%d %d", duratie + i, taiate + i); ^ user.cpp:72:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:64:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zmeu2.in", "r", stdin); ^ user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zmeu2.out", "w", stdout); ^ user.cpp:67:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &capete, &povesti, &cupluri); ^ user.cpp:72:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", duratie + i, taiate + i); ^ user.cpp:76:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbOK10
20ms492kbOK10
384ms532kbKilled by signal 11(SIGSEGV).0
4Depăşit524kbTime limit exceeded.0
58ms532kbOK10
60ms496kbOK10
78ms520kbOK10
80ms488kbOK10
9Depăşit544kbTime limit exceeded.0
108ms312kbWall time limit exceeded.0
Punctaj total60

Ceva nu functioneaza?