Borderou de evaluare (job #1803138)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 11 noiembrie 2016 00:12:36
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:81: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:81: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:17: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:19: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:23: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:81: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:87: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:88: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
2328ms14124kbKilled by signal 11(SIGSEGV).0
3604ms51100kbIncorect0
4192ms8888kbIncorect0
5316ms14120kbKilled by signal 11(SIGSEGV).0
6308ms22752kbIncorect0
7456ms42404kbIncorect0
8300ms14120kbKilled by signal 11(SIGSEGV).0
9300ms14124kbKilled by signal 11(SIGSEGV).0
10288ms14124kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?