Pagini recente » Borderou de evaluare (job #2216698) | Borderou de evaluare (job #657900) | Borderou de evaluare (job #2065672) | Borderou de evaluare (job #1560276) | Borderou de evaluare (job #2018831)
Borderou de evaluare (job #2018831)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:37:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < h[pref].size(); ++ i) {
^
user.cpp: In function ‘int main()’:
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:74:28: 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:77:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:85:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:87:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
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:77:21:
/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/ccHJN9z3.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 228ms | 1016kb | Incorect | 0 |
2 | 240ms | 1024kb | Incorect | 0 |
3 | 56ms | 1224kb | Incorect | 0 |
4 | 56ms | 1224kb | Incorect | 0 |
5 | 56ms | 1180kb | Incorect | 0 |
6 | 56ms | 1180kb | Incorect | 0 |
7 | Depăşit | 2784kb | Time limit exceeded. | 0 |
8 | Depăşit | 2852kb | Time limit exceeded. | 0 |
9 | Depăşit | 2844kb | Time limit exceeded. | 0 |
10 | 240ms | 1020kb | Incorect | 0 |
11 | 240ms | 832kb | OK | 5 |
12 | 236ms | 1280kb | Incorect | 0 |
13 | 244ms | 1028kb | Incorect | 0 |
14 | 236ms | 1272kb | Incorect | 0 |
15 | 236ms | 1032kb | Incorect | 0 |
16 | 328ms | 20792kb | Incorect | 0 |
17 | Depăşit | 20900kb | Time limit exceeded. | 0 |
18 | Depăşit | 20952kb | Time limit exceeded. | 0 |
19 | Depăşit | 20808kb | Time limit exceeded. | 0 |
20 | Depăşit | 20792kb | Time limit exceeded. | 0 |
Punctaj total | 5 |