Borderou de evaluare (job #1809214)

Utilizator alex.craciunCraciun Alexandru alex.craciun Data 18 noiembrie 2016 18:36:25
Problema Branza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&n,&s,&t); ^ user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:14:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&c[i],&p[i]); ^ user.cpp:14:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&n,&s,&t); ^ user.cpp:14:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&c[i],&p[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbOK1030
20ms452kbOK10
30ms500kbOK10
432ms1216kbOK1030
552ms1708kbOK10
656ms1864kbOK10
764ms1992kbOK1010
860ms1996kbOK1010
964ms2000kbOK1010
1060ms1996kbOK1010
Punctaj total100

Ceva nu functioneaza?