Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1409240) | Borderou de evaluare (job #2567987) | Borderou de evaluare (job #1639335) | Borderou de evaluare (job #1922951)
Borderou de evaluare (job #1922951)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
flag[j] = 0;
^
user.cpp:45:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
flag[a[x+1]] = 1;
^
user.cpp:49:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!flag[j])
^
user.cpp:52:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (flag[j] <= 'z')
^
user.cpp:20:7: warning: unused variable ‘c’ [-Wunused-variable]
char c = 'b';
^
user.cpp:13:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &n, &x, &i);
^
user.cpp:30:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
user.cpp:52:14: warning: array subscript is above array bounds [-Warray-bounds]
if (flag[j] <= 'z')
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 10 | 100 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 272kb | OK | 10 |
| 6 | 0ms | 268kb | OK | 10 |
| 7 | 0ms | 272kb | OK | 10 |
| 8 | 0ms | 272kb | OK | 10 |
| 9 | 0ms | 268kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 100 |