Pagini recente » Borderou de evaluare (job #1752919) | Borderou de evaluare (job #47991) | Borderou de evaluare (job #1343411) | Borderou de evaluare (job #2134502) | Borderou de evaluare (job #1789939)
Borderou de evaluare (job #1789939)
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:59:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d\n", number);
^
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:19: 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 | 456kb | Incorect | 0 | 0 |
2 | 4ms | 452kb | Incorect | 0 |
3 | 0ms | 360kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 0ms | 256kb | OK | 8 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 300kb | Incorect | 0 |
10 | 0ms | 296kb | OK | 8 |
11 | 0ms | 260kb | OK | 8 |
12 | 0ms | 260kb | OK | 8 |
Punctaj total | 0 |