Borderou de evaluare (job #1283629)

Utilizator BorleaAndreiBorlea Andrei Daniel BorleaAndrei Data 5 decembrie 2014 21:30:09
Problema Asmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&s[i]); ^ user.cpp:35:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:37:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&s[i]); ^ user.cpp:40:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbKilled by signal 11(SIGSEGV).0
20ms344kbKilled by signal 11(SIGSEGV).0
30ms344kbKilled by signal 11(SIGSEGV).0
40ms344kbKilled by signal 11(SIGSEGV).0
50ms344kbKilled by signal 11(SIGSEGV).0
60ms344kbKilled by signal 11(SIGSEGV).0
70ms344kbKilled by signal 11(SIGSEGV).0
80ms344kbKilled by signal 11(SIGSEGV).0
90ms340kbKilled by signal 11(SIGSEGV).0
100ms344kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?