Borderou de evaluare (job #1275571)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 25 noiembrie 2014 13:00:56
Problema Procesor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%lld", &n); ^ user.cpp:22:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &n); ^ user.cpp:24:69: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i =0; i< n; i++) {fscanf(fin, "%ld %lld", &v[i].t, &v[i].p);if(v[i].t > max) max = v[i].t;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1148kbOK10
20ms272kbOK10
30ms1224kbOK10
40ms1252kbOK10
50ms1260kbOK10
612ms1364kbOK10
744ms1608kbOK10
8292ms1832kbOK10
9492ms2188kbOK10
10388ms2424kbOK10
Punctaj total100

Ceva nu functioneaza?