Pagini recente » Diferente pentru problema/kmalloc intre reviziile 16 si 8 | Borderou de evaluare (job #3332766) | Borderou de evaluare (job #2552421) | Borderou de evaluare (job #1942890) | Borderou de evaluare (job #1567140)
Borderou de evaluare (job #1567140)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("evo.in", "r", stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("evo.out", "w", stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &nr);
^
user.cpp:25:52: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (init[i] + 1), l[i] = strlen (init[i] + 1);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:30:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), N = strlen (sir + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:25:52:
/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/ccLXcDiP.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0xcd): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 432kb | OK | 5 | 5 |
| 2 | 0ms | 428kb | OK | 5 | 5 |
| 3 | 0ms | 288kb | OK | 5 | 5 |
| 4 | 20ms | 784kb | OK | 5 | 5 |
| 5 | 24ms | 796kb | OK | 5 | 5 |
| 6 | 100ms | 1284kb | OK | 5 | 5 |
| 7 | 84ms | 1292kb | OK | 5 | 5 |
| 8 | 144ms | 1976kb | OK | 5 | 5 |
| 9 | 440ms | 1980kb | OK | 5 | 5 |
| 10 | 244ms | 1988kb | OK | 5 | 5 |
| 11 | 136ms | 2540kb | OK | 5 | 5 |
| 12 | Depăşit | 7112kb | Time limit exceeded. | 0 | 0 |
| 13 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 14 | Depăşit | 10532kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 5736kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 10536kb | Time limit exceeded. | 0 |
| 17 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 18 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 19 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 20 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| Punctaj total | 55 |