Borderou de evaluare (job #1209157)

Utilizator katakonst94Pirvu Constantin Catalin katakonst94 Data 17 iulie 2014 11:22:25
Problema Placare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(pFile,"%d",&a); ^ user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(pFile,"%d",&b); ^ user.cpp:25:6: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] int ok=0; ^ user.cpp:10:11: warning: unused variable ‘n’ [-Wunused-variable] short n,m[300][300]={},a,b; ^ user.cpp:14:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%d",&a); ^ user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%d",&b); ^ user.cpp:24:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%d",&aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10msDepăşitMemory limit exceeded.0
20msDepăşitMemory limit exceeded.0
34msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
820ms628kbKilled by signal 11(SIGSEGV).0
920msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?