Pagini recente » Borderou de evaluare (job #2572889) | Borderou de evaluare (job #1935157) | Borderou de evaluare (job #2161773) | Borderou de evaluare (job #2695750) | Borderou de evaluare (job #1200712)
Borderou de evaluare (job #1200712)
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/cckGr91x.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 | 260kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 40ms | 756kb | OK | 5 |
| 4 | 88ms | 1244kb | OK | 5 |
| 5 | 184ms | 2216kb | OK | 5 |
| 6 | Depăşit | 4148kb | Time limit exceeded. | 0 |
| 7 | 0ms | 264kb | OK | 5 |
| 8 | 0ms | 272kb | OK | 5 |
| 9 | 0ms | 284kb | OK | 5 |
| 10 | 4ms | 312kb | OK | 5 |
| 11 | 8ms | 356kb | OK | 5 |
| 12 | 16ms | 456kb | OK | 5 |
| 13 | 36ms | 648kb | OK | 5 |
| 14 | 80ms | 1040kb | OK | 5 |
| 15 | 100ms | 1236kb | OK | 5 |
| 16 | 156ms | 1724kb | OK | 5 |
| 17 | 216ms | 2212kb | OK | 5 |
| 18 | 272ms | 2700kb | OK | 5 |
| 19 | Depăşit | 3384kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 4144kb | Time limit exceeded. | 0 |
| Punctaj total | 85 |