Borderou de evaluare (job #1783045)

Utilizator Mircea_DonciuDonciu Mircea Mircea_Donciu Data 18 octombrie 2016 18:44:22
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld" ,&n); ^ user.cpp:12:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld" ,&v[i]); ^ user.cpp:32:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%lld",q[i]); ^ user.cpp:9:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld" ,&n); ^ user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld" ,&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms276kbOK10
3160ms1844kbOK10
4312ms3400kbOK10
5324ms3400kbOK10
6548ms5748kbOK10
7632ms6532kbOK10
8Depăşit8080kbTime limit exceeded.0
9Depăşit8076kbTime limit exceeded.0
10Depăşit8084kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?