Pagini recente » Borderou de evaluare (job #673007) | Borderou de evaluare (job #2677774) | Borderou de evaluare (job #2017640) | Borderou de evaluare (job #2001630) | Borderou de evaluare (job #1402521)
Borderou de evaluare (job #1402521)
Raport evaluator
Compilare:
user.cpp: In function ‘void addA(int, int)’:
user.cpp:58:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!t->f[a])
^
user.cpp:59:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->f[a] = new trie;
^
user.cpp:61:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t = t->f[a];
^
user.cpp: In function ‘void addB(int)’:
user.cpp:78:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!t->f[a])
^
user.cpp:79:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->f[a] = new trie;
^
user.cpp:81:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t = t->f[a];
^
user.cpp: In function ‘int main()’:
user.cpp:99:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:100:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:102:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:105:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:112:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:115:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | Incorect | 0 |
2 | 0ms | 1328kb | Incorect | 0 |
3 | 8ms | 5204kb | Incorect | 0 |
4 | 64ms | 31196kb | Incorect | 0 |
5 | Depăşit | 116412kb | Time limit exceeded. | 0 |
6 | Depăşit | 113508kb | Time limit exceeded. | 0 |
7 | Depăşit | 118132kb | Time limit exceeded. | 0 |
8 | Depăşit | 119580kb | Time limit exceeded. | 0 |
9 | Depăşit | 113904kb | Time limit exceeded. | 0 |
10 | Depăşit | 119844kb | Time limit exceeded. | 0 |
Punctaj total | 0 |