Pagini recente » Borderou de evaluare (job #2774981) | Borderou de evaluare (job #1402514)
Borderou de evaluare (job #1402514)
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 | 528kb | OK | 10 |
| 2 | 0ms | 1332kb | OK | 10 |
| 3 | 12ms | 5200kb | OK | 10 |
| 4 | 80ms | 31188kb | OK | 10 |
| 5 | Depăşit | 117600kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 114304kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 119452kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 120508kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 117468kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 118396kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |