Pagini recente » Borderou de evaluare (job #1084311) | Borderou de evaluare (job #1343417) | Borderou de evaluare (job #1349916) | Borderou de evaluare (job #1349901) | Borderou de evaluare (job #1789991)
Borderou de evaluare (job #1789991)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
str[w_poz] = 'E';
^
user.cpp:72:13: warning: statement has no effect [-Wunused-value]
first_e;
^
user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d\n", &n);
^
user.cpp:14:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%s", str);
^
user.cpp:41:13: warning: ‘last_e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
j = last_e;
^
user.cpp:36:18: warning: ‘w_poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
number = w_poz;
^
user.cpp:40:14: warning: ‘first_e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
i = first_e;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 460kb | Incorect | 0 | 0 |
2 | 4ms | 464kb | Incorect | 0 |
3 | 0ms | 364kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 260kb | OK | 8 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 296kb | Incorect | 0 |
10 | 0ms | 296kb | OK | 8 |
11 | 0ms | 260kb | OK | 8 |
12 | 0ms | 264kb | OK | 8 |
Punctaj total | 0 |