Pagini recente » Borderou de evaluare (job #1270334) | Borderou de evaluare (job #2559627) | Borderou de evaluare (job #1840457) | Borderou de evaluare (job #55807) | Borderou de evaluare (job #1276397)
Borderou de evaluare (job #1276397)
Raport evaluator
Compilare:
user.cpp: In function ‘std::pair<int, int> GET(int)’:
user.cpp:16:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ap[sir[j]]) sir[j] = ap[sir[j]];
^
user.cpp:16:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ap[sir[j]]) sir[j] = ap[sir[j]];
^
user.cpp:17:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else sir[j] = ap[sir[j]] = j;
^
user.cpp:26:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[j] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("criptare2.in", "r", stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("criptare2.out", "w", stdout);
^
user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", sir + 1);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &m);
^
user.cpp:48:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", sir + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 48ms | 600kb | OK | 10 |
5 | 104ms | 908kb | OK | 10 |
6 | 104ms | 904kb | OK | 10 |
7 | 104ms | 908kb | OK | 10 |
8 | 104ms | 908kb | OK | 10 |
9 | 104ms | 904kb | OK | 10 |
10 | 104ms | 908kb | OK | 10 |
Punctaj total | 100 |