Pagini recente » Borderou de evaluare (job #143630) | Borderou de evaluare (job #2012231) | Borderou de evaluare (job #2724912) | Borderou de evaluare (job #1627042) | Borderou de evaluare (job #2018854)
Borderou de evaluare (job #2018854)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:39: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:73: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:74: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:77: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:81:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:89:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:91: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:81: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/ccVEkpe2.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 252ms | 1800kb | Incorect | 0 |
2 | 252ms | 1808kb | Incorect | 0 |
3 | 20ms | 2072kb | Incorect | 0 |
4 | 20ms | 2068kb | Incorect | 0 |
5 | 24ms | 2028kb | Incorect | 0 |
6 | 20ms | 2028kb | Incorect | 0 |
7 | 228ms | 3928kb | Incorect | 0 |
8 | 216ms | 3996kb | Incorect | 0 |
9 | 228ms | 4000kb | Incorect | 0 |
10 | 236ms | 1808kb | Incorect | 0 |
11 | 264ms | 1612kb | OK | 5 |
12 | 244ms | 2064kb | Incorect | 0 |
13 | 248ms | 1820kb | Incorect | 0 |
14 | 244ms | 2068kb | Incorect | 0 |
15 | 256ms | 1820kb | Incorect | 0 |
16 | 252ms | 61028kb | Incorect | 0 |
17 | 380ms | 61172kb | Incorect | 0 |
18 | 352ms | 61224kb | Incorect | 0 |
19 | 380ms | 61080kb | Incorect | 0 |
20 | 384ms | 61072kb | Incorect | 0 |
Punctaj total | 5 |