Borderou de evaluare (job #1748274)

Utilizator AnaRaduAna-Maria Radu AnaRadu Data 26 august 2016 11:58:40
Problema Ksecv3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:7:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d",&x); ^ user.cpp:17:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:17:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d",&x); ^ user.cpp:40:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:40:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:44:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%I64d",&x); ^ user.cpp:49:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%I64d ",i); ^ user.cpp:7:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:9:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d",&x); ^ user.cpp:17:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:19:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d",&x); ^ user.cpp:40:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d%I64d",&n,&k); ^ user.cpp:44:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%I64d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbIncorect0
20ms264kbIncorect0
30ms264kbIncorect0
40ms260kbOK10
54ms264kbIncorect0
68ms268kbIncorect0
752ms264kbIncorect0
8Depăşit280kbTime limit exceeded.0
964ms268kbIncorect0
1092ms268kbOK10
Punctaj total20

Ceva nu functioneaza?