Borderou de evaluare (job #1832353)

Utilizator mihai.alphamihai craciun mihai.alpha Data 19 decembrie 2016 20:25:54
Problema Facebook Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:6:13: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define P 1 << 17 ^ user.cpp:8:20: note: in expansion of macro ‘P’ std::vector <int>a[P + 1]; ^ user.cpp: In function ‘int main()’: user.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(a[x].size() > max) ^ user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(a[i].size() >= k) { ^ user.cpp:31:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0;j <= a[i].size() - k;j++) { ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms3300kbKilled by signal 11(SIGSEGV).00
24ms3300kbKilled by signal 11(SIGSEGV).0
34ms3300kbKilled by signal 11(SIGSEGV).0
44ms3300kbKilled by signal 11(SIGSEGV).0
54ms3296kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?