Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #453043) | Borderou de evaluare (job #453039) | Borderou de evaluare (job #257575) | Borderou de evaluare (job #2000925)
Borderou de evaluare (job #2000925)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < pos1[p].size(); k++) dpv[pos1[p][k]]--;
^
user.cpp:61:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (currentAnswer.size() > ans && ans != - 1) continue;
^
user.cpp:75:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ans > currentAnswer.size()) {
^
user.cpp:85:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < answer.size(); i++)
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.in", "r", stdin);
^
user.cpp:17:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.out", "w", stdout);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &n, &m);
^
user.cpp:21:48: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; i++) gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:21:48:
/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/ccOrfoFs.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 4 |
| 2 | 0ms | 288kb | Incorect | 0 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 0ms | 280kb | Incorect | 0 |
| 5 | 0ms | 288kb | Incorect | 0 |
| 6 | 0ms | 284kb | Incorect | 0 |
| 7 | 4ms | 280kb | Incorect | 0 |
| 8 | 0ms | 284kb | Incorect | 0 |
| 9 | 4ms | 280kb | Incorect | 0 |
| 10 | 4ms | 284kb | Incorect | 0 |
| 11 | 0ms | 284kb | Incorect | 0 |
| 12 | 0ms | 284kb | Incorect | 0 |
| 13 | 36ms | 284kb | Incorect | 0 |
| 14 | 104ms | 288kb | Incorect | 0 |
| 15 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 17 | 0ms | 288kb | Incorect | 0 |
| 18 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 21 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 25 | 0ms | 284kb | Incorect | 0 |
| Punctaj total | 4 |