Borderou de evaluare (job #1909605)

Utilizator akaprosAna Kapros akapros Data 7 martie 2017 13:16:42
Problema Miting Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &t, &n, &m); ^ user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(p + 1); ^ user.cpp:46: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 ‘void read()’ at user.cpp:46: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/ccBRhMKm.o: In function `read()': user.cpp:(.text+0x162): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0xfb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK5
20ms516kbOK5
30ms536kbOK5
40ms520kbOK5
50ms496kbOK5
60ms572kbOK5
74ms580kbIncorect0
80ms576kbOK5
90ms508kbOK5
108ms784kbIncorect0
110ms716kbOK5
128ms716kbIncorect0
130ms604kbOK5
144ms756kbOK5
150ms560kbOK5
1648ms1296kbIncorect0
1752ms1320kbIncorect0
1852ms1324kbIncorect0
1956ms1336kbIncorect0
2076ms1336kbIncorect0
Punctaj total60

Ceva nu functioneaza?