Borderou de evaluare (job #2008531)

Utilizator flaviu_2001Craciun Ioan-Flaviu flaviu_2001 Data 6 august 2017 20:05:49
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%d%d",&n,&k); ^ user.cpp:10:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%d",&x); ^ user.cpp:10:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&n,&k); ^ user.cpp:16:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK100
20ms312kbOK10
34ms492kbOK10
464msDepăşitMemory limit exceeded.0
584msDepăşitMemory limit exceeded.0
6112msDepăşitMemory limit exceeded.00
7124msDepăşitMemory limit exceeded.0
80ms296kbOK10
90ms316kbOK10
108ms408kbOK10
Punctaj total0

Ceva nu functioneaza?