Borderou de evaluare (job #1341750)

Utilizator danyro364Savu Ioan Daniel danyro364 Data 13 februarie 2015 01:19:31
Problema Proc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&ti,&d); ^ user.cpp:41:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:56:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",x); ^ user.cpp:35:17: warning: unused variable ‘j’ [-Wunused-variable] long long i,j,nod=0,ti,d,x; ^ user.cpp:36:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&n,&m); ^ user.cpp:41:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&ti,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms760kbIncorect0
28ms760kbIncorect0
38ms628kbIncorect0
4116ms876kbIncorect0
5Depăşit856kbTime limit exceeded.0
6Depăşit968kbTime limit exceeded.0
7Depăşit1032kbTime limit exceeded.0
8Depăşit1152kbTime limit exceeded.0
9Depăşit1080kbTime limit exceeded.0
10Depăşit1156kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?