Borderou de evaluare (job #1654045)

Utilizator AttyyKucsvan Attila Attyy Data 16 martie 2016 19:42:35
Problema MaxSubSum Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:19: warning: format ‘%lli’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lli", &x); ^ user.cpp:5:18: warning: unused variable ‘k’ [-Wunused-variable] int n, m, i, j, k, sore, sorv, osz_sz, oszv, x; ^ user.cpp:5:21: warning: unused variable ‘sore’ [-Wunused-variable] int n, m, i, j, k, sore, sorv, osz_sz, oszv, x; ^ user.cpp:5:27: warning: unused variable ‘sorv’ [-Wunused-variable] int n, m, i, j, k, sore, sorv, osz_sz, oszv, x; ^ user.cpp:5:41: warning: unused variable ‘oszv’ [-Wunused-variable] int n, m, i, j, k, sore, sorv, osz_sz, oszv, x; ^ user.cpp:6:35: warning: unused variable ‘maxx’ [-Wunused-variable] long long int a[2002], b[2002], maxx[2002] = { 0 }, maxi = 0, sor_max = 0, osz_max = 0, szum; ^ user.cpp:6:65: warning: unused variable ‘sor_max’ [-Wunused-variable] long long int a[2002], b[2002], maxx[2002] = { 0 }, maxi = 0, sor_max = 0, osz_max = 0, szum; ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.in", "r", stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.out", "w", stdout); ^ user.cpp:9:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lli", &x); ^ user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lli", b + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
140ms296kbOK10100
240ms300kbOK10
344ms296kbOK10
440ms304kbOK10
544ms300kbOK10
644ms300kbOK10
740ms304kbOK10
840ms296kbOK10
940ms304kbOK10
1040ms304kbOK10
Punctaj total100

Ceva nu functioneaza?