Borderou de evaluare (job #2403458)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 11 aprilie 2019 16:23:04
Problema Bazaf Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void desc(long long int)': main.cpp:22:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d ", (int)ans.size()); ^ main.cpp:16:15: warning: unused variable 'clim' [-Wunused-variable] long long clim = lim; ^~~~ main.cpp: In function 'int32_t main()': main.cpp:55:31: 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:31:21: 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:12:31: warning: control reaches end of non-void function [-Wreturn-type] return i - 1; } } } ^ main.cpp: In function 'int32_t main()': main.cpp:29:36: 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:30:38: 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:32:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &p); ^ main.cpp:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ main.cpp:41:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ main.cpp:46:26: 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
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
892ms1560kbOK10
989ms1560kbOK10
1088ms1691kbOK10
Punctaj total100

Ceva nu functioneaza?