Pagini recente » Borderou de evaluare (job #2952409) | Borderou de evaluare (job #1374829) | Borderou de evaluare (job #3134283) | Borderou de evaluare (job #3205913) | Borderou de evaluare (job #1853352)
Borderou de evaluare (job #1853352)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:19:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[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:19:25:
/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/cc64twBM.o: In function `read()':
user.cpp:(.text+0x3d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | OK | 5 |
| 2 | 0ms | 468kb | OK | 5 |
| 3 | 0ms | 488kb | OK | 5 |
| 4 | 0ms | 476kb | OK | 5 |
| 5 | 0ms | 508kb | OK | 5 |
| 6 | 0ms | 500kb | OK | 5 |
| 7 | 4ms | 1108kb | Incorect | 0 |
| 8 | 4ms | 1168kb | Incorect | 0 |
| 9 | 8ms | 1268kb | OK | 5 |
| 10 | 8ms | 1312kb | OK | 5 |
| 11 | 8ms | 1380kb | OK | 5 |
| 12 | 8ms | 1424kb | Incorect | 0 |
| 13 | 20ms | 3020kb | Incorect | 0 |
| 14 | 12ms | 2252kb | Incorect | 0 |
| 15 | 16ms | 2452kb | Incorect | 0 |
| 16 | 28ms | 3024kb | OK | 5 |
| 17 | 184ms | 13516kb | OK | 5 |
| 18 | 96ms | 10908kb | Incorect | 0 |
| 19 | 136ms | 13400kb | Incorect | 0 |
| 20 | 120ms | 13204kb | Incorect | 0 |
| Punctaj total | 55 |