Borderou de evaluare (job #1251247)

Utilizator dragos_vecerdeaVecerdea Dragos dragos_vecerdea Data 29 octombrie 2014 09:46:21
Problema Bere Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=] fscanf(fin ,"%d%d" ,&n ,&q); ^ user.c:31:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin , "%d%d" ,&i ,&sum); ^ user.c:31:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:36:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout ,"%d\n" ,rez); ^ user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d%d" ,&n ,&q); ^ user.c:25:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d" , &v[i]); ^ user.c:31:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%d%d" ,&i ,&sum); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms176kbKilled by signal 11(SIGSEGV).0
20ms176kbKilled by signal 11(SIGSEGV).0
30ms180kbKilled by signal 11(SIGSEGV).0
40ms176kbKilled by signal 11(SIGSEGV).0
50ms176kbKilled by signal 11(SIGSEGV).0
60ms176kbKilled by signal 11(SIGSEGV).0
70ms180kbKilled by signal 11(SIGSEGV).0
80ms176kbKilled by signal 11(SIGSEGV).0
90ms176kbKilled by signal 11(SIGSEGV).0
100ms176kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?