Pagini recente » Borderou de evaluare (job #1043549) | Borderou de evaluare (job #1952892) | Borderou de evaluare (job #1526163) | Cod sursa (job #3201625) | Borderou de evaluare (job #1570723)
Borderou de evaluare (job #1570723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i ){
^
user.cpp:39:21: warning: unknown conversion type character 0xa in format [-Wformat=]
scanf("%d%\n",&n);
^
user.cpp:43:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lit] = !v[lit];
^
user.cpp:43:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lit] = !v[lit];
^
user.cpp:22:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:22:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:22:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:22:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:22:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp: In function ‘bool f3()’:
user.cpp:107:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r = v[q[indi]];
^
user.cpp: In function ‘int main()’:
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:25:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q,1500,stdin);
^
user.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%\n",&n);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&lit);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 256kb | Incorect | 0 |
| 3 | 0ms | 256kb | Incorect | 0 |
| 4 | 0ms | 256kb | Incorect | 0 |
| 5 | 0ms | 248kb | Incorect | 0 |
| 6 | 0ms | 252kb | Incorect | 0 |
| 7 | 0ms | 252kb | Incorect | 0 |
| 8 | 0ms | 252kb | Incorect | 0 |
| 9 | 0ms | 252kb | Incorect | 0 |
| 10 | 0ms | 248kb | OK | 10 |
| Punctaj total | 20 |