Borderou de evaluare (job #2403340)

Utilizator alexradu04Radu Alexandru alexradu04 Data 11 aprilie 2019 14:32:12
Problema Bazaf Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void desc(long long int)': main.cpp:28:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d ",(int)ans.size()); ^ main.cpp:20:15: warning: unused variable 'clim' [-Wunused-variable] long long clim=lim; ^~~~ main.cpp: In function 'int32_t main()': main.cpp:72:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d ",coefs.size()); ^ main.cpp:40:19: warning: unused variable 'x' [-Wunused-variable] long long p,n,x; ^ main.cpp: In function 'long long int max_fact(long long int)': main.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int32_t main()': main.cpp:38:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bazaf.in","r",stdin); ^ main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bazaf.out","w",stdout); ^ main.cpp:41:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&p); ^ main.cpp:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ main.cpp:54:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ main.cpp:60:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
890ms1560kbOK10
989ms1560kbOK10
1089ms1560kbOK10
Punctaj total90

Ceva nu functioneaza?