Borderou de evaluare (job #1645783)

Utilizator andrew1312Okukura Andrew-Hiroaki andrew1312 Data 10 martie 2016 13:45:16
Problema Livada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d%ld",&m,&n,&p); ^ user.cpp:16:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%ld ",&v[i]); ^ user.cpp:11:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%ld",&m,&n,&p); ^ user.cpp:16:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld ",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms348kbKilled by signal 11(SIGSEGV).0
20ms348kbKilled by signal 11(SIGSEGV).0
30ms348kbKilled by signal 11(SIGSEGV).0
40ms348kbKilled by signal 11(SIGSEGV).0
50ms352kbKilled by signal 11(SIGSEGV).0
60ms348kbKilled by signal 11(SIGSEGV).0
70ms348kbKilled by signal 11(SIGSEGV).0
80ms348kbKilled by signal 11(SIGSEGV).0
90ms344kbKilled by signal 11(SIGSEGV).0
100ms348kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?