Borderou de evaluare (job #1407623)

Utilizator AlexRazvanBogdanPetrescu Harsan Cretu AlexRazvanBogdan Data 29 martie 2015 19:13:22
Problema Tempest Status done
Runda ONIS 2015, Runda 2 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:65:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘int’ [-Wformat=] fscanf(fin, "%d%d%d%d", &n, &m, s, &t); ^ user.c:62:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &gogu); ^ user.c:65:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d%d", &n, &m, s, &t); ^ user.c:72:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &x, &y, &z); ^ user.c:76:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &u); ^ user.c:79:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &r); ^ user.c:65:11: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(fin, "%d%d%d%d", &n, &m, s, &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?