Pagini recente » Borderou de evaluare (job #3002147) | Borderou de evaluare (job #3195706) | Borderou de evaluare (job #50720) | Borderou de evaluare (job #1946401) | Borderou de evaluare (job #1200708)
Borderou de evaluare (job #1200708)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Cmp(char*, char*)’:
user.cpp:21:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return Ap[A[x]] < Ap[B[x]];
^
user.cpp:21:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return Ap[A[x]] < Ap[B[x]];
^
user.cpp: In function ‘int main()’:
user.cpp:32:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Ap[Alf[i]] = i;
^
user.cpp:25: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:26: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:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Tip);
^
user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:29:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Alf);
^
user.cpp:34:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:34:19:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccoxz0Jv.o: In function `main':
user.cpp:(.text.startup+0x102): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 8ms | 288kb | OK | 5 |
3 | Depăşit | 592kb | Time limit exceeded. | 0 |
4 | Depăşit | 932kb | Time limit exceeded. | 0 |
5 | Depăşit | 1616kb | Time limit exceeded. | 0 |
6 | Depăşit | 2980kb | Time limit exceeded. | 0 |
7 | 0ms | 276kb | OK | 5 |
8 | 8ms | 276kb | OK | 5 |
9 | 40ms | 288kb | OK | 5 |
10 | 264ms | 312kb | OK | 5 |
11 | Depăşit | 324kb | Time limit exceeded. | 0 |
12 | Depăşit | 388kb | Time limit exceeded. | 0 |
13 | Depăşit | 528kb | Time limit exceeded. | 0 |
14 | Depăşit | 796kb | Time limit exceeded. | 0 |
15 | Depăşit | 932kb | Time limit exceeded. | 0 |
16 | Depăşit | 1280kb | Time limit exceeded. | 0 |
17 | Depăşit | 1612kb | Time limit exceeded. | 0 |
18 | Depăşit | 1956kb | Time limit exceeded. | 0 |
19 | Depăşit | 2440kb | Time limit exceeded. | 0 |
20 | Depăşit | 2980kb | Time limit exceeded. | 0 |
Punctaj total | 30 |