Pagini recente » Borderou de evaluare (job #3188642) | Borderou de evaluare (job #933956) | Borderou de evaluare (job #2414398) | Borderou de evaluare (job #1881739) | Borderou de evaluare (job #2257363)
Borderou de evaluare (job #2257363)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
arr[i] = (arr[i] << 6) ^ hsh[str[j]]; }
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("incantatii.in", "r", stdin);
^
user.cpp:15:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("incantatii.out", "w", stdout);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int n; scanf("%d", &n);
^
user.cpp:21:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(str + 1, 10, stdin);
^
user.cpp:22:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(str + 1, 10, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:21:34:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:22:34:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
2 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
3 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
4 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
5 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
6 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
8 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
9 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
10 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
11 | 4ms | 1652kb | Killed by signal 6(SIGABRT). | 0 |
12 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
13 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
14 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
15 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
16 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
17 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
18 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
19 | 4ms | 1644kb | Killed by signal 6(SIGABRT). | 0 |
20 | 4ms | 1648kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |