Borderou de evaluare (job #1723130)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 29 iunie 2016 19:29:28
Problema Car Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&a[i][j]); ^ user.cpp:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<cost[i].size();j++) ^ user.cpp:44:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.in","r",stdin); ^ user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.out","w",stdout); ^ user.cpp:48:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&n,&m,&li,&ci,&lf,&cf); ^ user.cpp:53:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12236kbKilled by signal 11(SIGSEGV).0
216ms12240kbKilled by signal 11(SIGSEGV).0
316ms12284kbKilled by signal 11(SIGSEGV).0
416ms12280kbKilled by signal 11(SIGSEGV).0
528ms12392kbKilled by signal 11(SIGSEGV).0
636ms12408kbKilled by signal 11(SIGSEGV).0
740ms12424kbKilled by signal 11(SIGSEGV).0
844ms12420kbKilled by signal 11(SIGSEGV).0
952ms12468kbKilled by signal 11(SIGSEGV).0
1056ms12476kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?