Pagini recente » Borderou de evaluare (job #892123) | Borderou de evaluare (job #235571) | Borderou de evaluare (job #535901) | Borderou de evaluare (job #2010347) | Borderou de evaluare (job #1478166)
Borderou de evaluare (job #1478166)
Raport evaluator
Compilare:
user.cpp: In function ‘void goThrough(Trie*, char*, int, int)’:
user.cpp:39:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (nod->nrC & comp == comp)
^
user.cpp: In function ‘int main()’:
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:49:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,NMAX,stdin);
^
user.cpp:55:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,NMAX,stdin);
^
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* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:49:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:55:30:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 5 |
2 | 0ms | 440kb | OK | 5 |
3 | 0ms | 448kb | Incorect | 0 |
4 | 0ms | 444kb | Incorect | 0 |
5 | 0ms | 452kb | Incorect | 0 |
6 | 0ms | 452kb | Incorect | 0 |
7 | 4ms | 1900kb | Incorect | 0 |
8 | 4ms | 2040kb | Incorect | 0 |
9 | 4ms | 1316kb | Incorect | 0 |
10 | 4ms | 1700kb | Incorect | 0 |
11 | 4ms | 1800kb | Incorect | 0 |
12 | 8ms | 2616kb | Incorect | 0 |
13 | 20ms | 6136kb | Incorect | 0 |
14 | 16ms | 4452kb | Incorect | 0 |
15 | 16ms | 4904kb | Incorect | 0 |
16 | 16ms | 4232kb | Incorect | 0 |
17 | 60ms | 14336kb | Incorect | 0 |
18 | 92ms | 22912kb | Incorect | 0 |
19 | 76ms | 18808kb | Incorect | 0 |
20 | 112ms | 27668kb | Incorect | 0 |
Punctaj total | 10 |