Pagini recente » Borderou de evaluare (job #1191465) | Borderou de evaluare (job #1139811) | Borderou de evaluare (job #1270996) | Borderou de evaluare (job #2576804) | Borderou de evaluare (job #1953335)
Borderou de evaluare (job #1953335)
Raport evaluator
Compilare:
user.cpp: In function ‘void makefor(int)’:
user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[t][str[i]]) nod[i] = v[t][str[i]];
^
user.cpp:17:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[t][str[i]]) nod[i] = v[t][str[i]];
^
user.cpp:18:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else v[t][str[i]] = nod[i] = ++k;
^
user.cpp: In function ‘int main()’:
user.cpp:24:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aiacupalindroame.in", "r", stdin);
^
user.cpp:25:50: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aiacupalindroame.out", "w", stdout);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &q);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
^
user.cpp:33:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n");
^
user.cpp:34:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (str + 2);
^
user.cpp:46:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
/tmp/cc1PnH7g.o: In function `main':
user.cpp:(.text.startup+0xb0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 340kb | OK | 5 |
2 | 4ms | 300kb | OK | 5 |
3 | 4ms | 360kb | OK | 5 |
4 | 4ms | 364kb | OK | 5 |
5 | 4ms | 400kb | OK | 5 |
6 | 76ms | 1776kb | OK | 5 |
7 | 76ms | 1304kb | OK | 5 |
8 | 76ms | 1636kb | OK | 5 |
9 | 80ms | 1696kb | OK | 5 |
10 | 80ms | 1988kb | OK | 5 |
11 | 76ms | 1708kb | OK | 5 |
12 | 76ms | 1740kb | OK | 5 |
13 | 396ms | 4480kb | OK | 5 |
14 | 400ms | 4392kb | OK | 5 |
15 | 400ms | 5208kb | OK | 5 |
16 | 412ms | 10832kb | OK | 5 |
17 | 396ms | 4804kb | OK | 5 |
18 | 380ms | 4360kb | OK | 5 |
19 | 0ms | 272kb | OK | 5 |
20 | 0ms | 280kb | OK | 5 |
Punctaj total | 100 |