Pagini recente » Borderou de evaluare (job #2286060) | Borderou de evaluare (job #619712) | Borderou de evaluare (job #2322479) | Borderou de evaluare (job #2791671) | Borderou de evaluare (job #1200718)
Borderou de evaluare (job #1200718)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Cmp(zimeria, zimeria)’:
user.cpp:24:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return Ap[A.a[x]] < Ap[B.a[x]];
^
user.cpp:24:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return Ap[A.a[x]] < Ap[B.a[x]];
^
user.cpp: In function ‘int main()’:
user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Ap[Alf[i]] = i;
^
user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
user.cpp:29:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Tip);
^
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:32:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Alf);
^
user.cpp:37:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i].a);
^
/tmp/ccFLgiiF.o: In function `main':
user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 40ms | 560kb | OK | 5 |
4 | 84ms | 848kb | OK | 5 |
5 | 176ms | 1436kb | OK | 5 |
6 | Depăşit | 2580kb | Time limit exceeded. | 0 |
7 | 0ms | 264kb | OK | 5 |
8 | 0ms | 268kb | OK | 5 |
9 | 0ms | 272kb | OK | 5 |
10 | 4ms | 296kb | OK | 5 |
11 | 8ms | 320kb | OK | 5 |
12 | 16ms | 384kb | OK | 5 |
13 | 36ms | 492kb | OK | 5 |
14 | 76ms | 732kb | OK | 5 |
15 | 100ms | 852kb | OK | 5 |
16 | 156ms | 1140kb | OK | 5 |
17 | 204ms | 1428kb | OK | 5 |
18 | 256ms | 1728kb | OK | 5 |
19 | Depăşit | 2136kb | Time limit exceeded. | 0 |
20 | Depăşit | 2588kb | Time limit exceeded. | 0 |
Punctaj total | 85 |