Borderou de evaluare (job #2188991)

Utilizator Arsene_DenisaArsene Denisa Arsene_Denisa Data 27 martie 2018 16:46:09
Problema Cufar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘long int*’ [-Wformat=] fscanf( fin, "%d %lld",&p,&n); ^ user.cpp:17:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf( fin, "%d%d",&a, &b); ^ user.cpp:17:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:29:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf( fin, "%d %d",&j, &c); ^ user.cpp:29:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:14:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d %lld",&p,&n); ^ user.cpp:17:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d",&a, &b); ^ user.cpp:29:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d %d",&j, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
196ms5320kbCorect2
2120ms9124kbCorect8
392ms5324kbCorect4
492ms5324kbCorect4
5120ms9128kbCorect5
6120ms9128kbCorect5
7120ms9128kbCorect3
8120ms9124kbCorect3
9120ms9132kbCorect3
10120ms9128kbCorect3
11124ms9128kbCorect3
12132ms9128kbCorect3
13144ms9128kbCorect4
14172ms9124kbCorect4
15248ms9128kbCorect4
16372ms9132kbCorect4
17568ms9128kbCorect9
18624ms9128kbCorect9
19628ms9124kbCorect10
20620ms9124kbCorect10
Punctaj total100

Ceva nu functioneaza?