Pagini recente » Borderou de evaluare (job #271532) | Borderou de evaluare (job #1081871) | Borderou de evaluare (job #514279) | Borderou de evaluare (job #1140437) | Borderou de evaluare (job #1402900)
Borderou de evaluare (job #1402900)
Raport evaluator
Compilare:
user.cpp: In function ‘void addA(int, int)’:
user.cpp:59:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!t->f[a])
^
user.cpp:60:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->f[a] = new trie;
^
user.cpp:62:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(t->f[a])
^
user.cpp:63:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t = t->f[a];
^
user.cpp: In function ‘void addB(int)’:
user.cpp:81:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(t->f[a])
^
user.cpp:82:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t = t->f[a];
^
user.cpp: In function ‘int main()’:
user.cpp:101: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:102: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:104:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:107:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:114:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:117: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 | 444kb | OK | 10 |
| 2 | 0ms | 500kb | OK | 10 |
| 3 | 0ms | 564kb | OK | 10 |
| 4 | 0ms | 1004kb | OK | 10 |
| 5 | 4ms | 1704kb | OK | 10 |
| 6 | 4ms | 1812kb | OK | 10 |
| 7 | 16ms | 5560kb | OK | 10 |
| 8 | 16ms | 5652kb | OK | 10 |
| 9 | 20ms | 5688kb | OK | 10 |
| 10 | 20ms | 5472kb | OK | 10 |
| Punctaj total | 100 |