Borderou de evaluare (job #1975006)

Utilizator akaprosAna Kapros akapros Data 29 aprilie 2017 17:56:27
Problema Origami2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:111:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:114:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i] + 1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:114:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccsG1Bev.o: In function `main': user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbOk5
20ms472kbOk5
30ms476kbOk5
40ms480kbOk5
50ms504kbOk5
60ms512kbOk5
740ms1108kbOk5
856ms1256kbOk5
920ms860kbOk5
1016ms888kbOk5
1148ms1140kbOk5
1256ms1208kbOk5
1368ms1300kbOk5
1488ms1440kbOk5
1580ms1224kbKilled by signal 11(SIGSEGV).0
1668ms1224kbKilled by signal 11(SIGSEGV).0
1776ms1448kbKilled by signal 11(SIGSEGV).0
1884ms1224kbKilled by signal 11(SIGSEGV).0
1984ms1228kbKilled by signal 11(SIGSEGV).0
2068ms1416kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?