Borderou de evaluare (job #1310014)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 6 ianuarie 2015 12:26:53
Problema Transport2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void bfs(int, int)’: user.cpp:11:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pos==n) ^ user.cpp: In function ‘int main()’: user.cpp:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=m;i++) ^ user.cpp:59:10: warning: variable ‘as’ set but not used [-Wunused-but-set-variable] bool as=0; ^ user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("transport2.in","r",stdin); ^ user.cpp:44:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("transport2.out","w",stdout); ^ user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:50:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p1,&p2,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms844kbOK10
2Depăşit1024kbTime limit exceeded.0
30ms1248kbOK10
4Depăşit1412kbTime limit exceeded.0
58ms4200kbOK10
620msDepăşitMemory limit exceeded.0
720msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
100ms316kbOK10
Punctaj total40

Ceva nu functioneaza?