Pagini recente » Borderou de evaluare (job #1757810) | Borderou de evaluare (job #1496992) | Borderou de evaluare (job #2500369) | Borderou de evaluare (job #1336674) | Borderou de evaluare (job #1596705)
Borderou de evaluare (job #1596705)
Raport evaluator
Compilare:
user.cpp: In function ‘void upd(Trie*, int)’:
user.cpp:81:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!T -> nxt[ s[ind] ])
^
user.cpp:82:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T -> nxt[ s[ind] ] = new Trie(T);
^
user.cpp:83:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
upd(T -> nxt[ s[ind] ], ind + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:130:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.in", "r", stdin);
^
user.cpp:131:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.out", "w", stdout);
^
user.cpp:133:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &n, &k, &win, &draw);
^
user.cpp:139:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccYrjALs.o: In function `main':
user.cpp:(.text.startup+0xee): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 5 |
2 | 0ms | 444kb | OK | 5 |
3 | 4ms | 1464kb | OK | 5 |
4 | 0ms | 1364kb | Incorect | 0 |
5 | 4ms | 1708kb | Incorect | 0 |
6 | 0ms | 1300kb | OK | 5 |
7 | 204ms | Depăşit | Memory limit exceeded. | 0 |
8 | 216ms | Depăşit | Memory limit exceeded. | 0 |
9 | 204ms | Depăşit | Memory limit exceeded. | 0 |
10 | 204ms | Depăşit | Memory limit exceeded. | 0 |
11 | 216ms | Depăşit | Memory limit exceeded. | 0 |
12 | 204ms | Depăşit | Memory limit exceeded. | 0 |
13 | 212ms | Depăşit | Memory limit exceeded. | 0 |
14 | 204ms | Depăşit | Memory limit exceeded. | 0 |
15 | 200ms | Depăşit | Memory limit exceeded. | 0 |
16 | 204ms | Depăşit | Memory limit exceeded. | 0 |
17 | 200ms | Depăşit | Memory limit exceeded. | 0 |
18 | 208ms | Depăşit | Memory limit exceeded. | 0 |
19 | 204ms | Depăşit | Memory limit exceeded. | 0 |
20 | 128ms | 9892kb | OK | 5 |
Punctaj total | 25 |