Borderou de evaluare (job #1809206)

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

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
10ms440kbOK100
20ms444kbOK10
30ms504kbIncorect0
428ms1220kbIncorect00
548ms1704kbOK10
656ms1860kbOK10
764ms1996kbOK1010
864ms1992kbOK1010
964ms1996kbOK1010
1060ms2000kbOK1010
Punctaj total40

Ceva nu functioneaza?