Borderou de evaluare (job #1803132)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 10 noiembrie 2016 23:41:24
Problema Carray Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:75:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d", &node, &p); ^ user.cpp:75:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void Read()’: user.cpp:16:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &M, &Q); ^ user.cpp:18:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Array[i]), Len[i] = 1; ^ user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp: In function ‘void Solve()’: user.cpp:75:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d", &node, &p); ^ user.cpp: In function ‘int main()’: user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carray.in", "r", stdin); ^ user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carray.out", "w" ,stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms664kbOK10
2328ms14116kbKilled by signal 11(SIGSEGV).0
3620ms51096kbIncorect0
4196ms8888kbIncorect0
5324ms14120kbKilled by signal 11(SIGSEGV).0
6308ms22744kbIncorect0
7460ms42400kbIncorect0
8292ms14124kbKilled by signal 11(SIGSEGV).0
9304ms14120kbKilled by signal 11(SIGSEGV).0
10288ms14116kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?