Pagini recente » Borderou de evaluare (job #873890) | Borderou de evaluare (job #2493245) | Borderou de evaluare (job #1571048) | Borderou de evaluare (job #215995) | Borderou de evaluare (job #1228649)
Borderou de evaluare (job #1228649)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga_elimina(char*, int)’:
user.cpp:18:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++)
^
user.cpp: In function ‘int nraparitii(char*)’:
user.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s) && v[nod].urm[s[i]-'a'];i++) nod=v[nod].urm[s[i]-'a'];
^
user.cpp:37:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<strlen(s)) return 0;
^
user.cpp: In function ‘int prefix(char*)’:
user.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++)
^
user.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==strlen(s)) sol=i;
^
user.cpp: In function ‘int main()’:
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in", "r", stdin);
^
user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out", "w", stdout);
^
user.cpp:63:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s\n",&x,s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 5 | 5 |
2 | 0ms | 288kb | OK | 5 | 5 |
3 | 0ms | 292kb | OK | 5 | 5 |
4 | 0ms | 280kb | OK | 5 | 5 |
5 | 0ms | 296kb | OK | 5 | 5 |
6 | 0ms | 296kb | OK | 5 | 5 |
7 | 4ms | 360kb | OK | 5 | 5 |
8 | 4ms | 328kb | OK | 5 | 5 |
9 | 8ms | 528kb | Incorect | 0 | 0 |
10 | 16ms | 1144kb | OK | 5 | 5 |
11 | 20ms | 400kb | OK | 5 | 5 |
12 | 32ms | 2164kb | Incorect | 0 | 0 |
13 | 40ms | 2168kb | Incorect | 0 | 0 |
14 | 40ms | 768kb | OK | 5 | 5 |
15 | 48ms | 764kb | OK | 5 | 0 |
16 | 108ms | 14540kb | Incorect | 0 |
17 | 60ms | 324kb | Incorect | 0 | 0 |
18 | 116ms | 14540kb | Incorect | 0 |
19 | 64ms | 360kb | OK | 5 | 0 |
20 | 124ms | 14544kb | Incorect | 0 |
Punctaj total | 55 |