Borderou de evaluare (job #1866250)

Utilizator lazar_elena_ingridlazar elena ingrid lazar_elena_ingrid Data 2 februarie 2017 19:49:02
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘short int (*)[161]’ [-Wformat=] {fscanf(f,"%hd",&a[j]); ^ user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%hd%hd",&s,&n); ^ user.cpp:20:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {fscanf(f,"%hd",&a[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms604kbKilled by signal 11(SIGSEGV).0
20ms608kbKilled by signal 11(SIGSEGV).0
30ms600kbKilled by signal 11(SIGSEGV).0
40ms612kbKilled by signal 11(SIGSEGV).0
50ms604kbKilled by signal 11(SIGSEGV).0
60ms604kbKilled by signal 11(SIGSEGV).0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?