Pagini recente » Borderou de evaluare (job #1909802) | Borderou de evaluare (job #780070) | Borderou de evaluare (job #764223) | Borderou de evaluare (job #2368334) | Borderou de evaluare (job #1346359)
Borderou de evaluare (job #1346359)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5008]’ [-Wformat=]
scanf("%s\n", &cuvinte[i]);
^
user.cpp:47:55: warning: operation on ‘num’ may be undefined [-Wsequence-point]
st[++num] = d[st[num-1]][s[j]-'a'];
^
user.cpp:19:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:20:18: warning: unused variable ‘poz’ [-Wunused-variable]
int num = 0, poz;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in", "r", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out", "w", stdout);
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:17:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &cuvinte[i]);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n", &s[d]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 300kb | OK | 5 |
3 | 0ms | 436kb | OK | 5 |
4 | 0ms | 520kb | OK | 5 |
5 | 4ms | 840kb | OK | 5 |
6 | 0ms | 508kb | OK | 5 |
7 | 24ms | 1172kb | OK | 5 |
8 | 32ms | 1188kb | OK | 5 |
9 | 204ms | 1644kb | OK | 5 |
10 | 232ms | 1640kb | OK | 5 |
11 | 228ms | 1640kb | OK | 5 |
12 | 180ms | 1568kb | OK | 5 |
13 | 184ms | 1600kb | OK | 5 |
14 | 196ms | 1624kb | OK | 5 |
15 | 92ms | 1104kb | OK | 5 |
16 | 268ms | 1564kb | OK | 5 |
17 | 224ms | 1640kb | OK | 5 |
18 | 260ms | 1648kb | OK | 5 |
19 | 224ms | 1644kb | OK | 5 |
20 | 288ms | 1636kb | OK | 5 |
Punctaj total | 100 |