Pagini recente » Borderou de evaluare (job #1081016) | Borderou de evaluare (job #867190) | Borderou de evaluare (job #1031240) | Borderou de evaluare (job #2518889) | Borderou de evaluare (job #1606518)
Borderou de evaluare (job #1606518)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:26: warning: narrowing conversion of ‘k’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
mytype e = { k, i, j };
^
user.cpp:50:26: warning: narrowing conversion of ‘i’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp:50:26: warning: narrowing conversion of ‘j’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp:65:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d %d %d", nr[w[first].second.a], nr[w[first].second.b], nr[w[first].second.c],
^
user.cpp:65:75: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d %d %d", nr[w[first].second.a], nr[w[first].second.b], nr[w[first].second.c],
^
user.cpp:65:98: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d %d %d", nr[w[first].second.a], nr[w[first].second.b], nr[w[first].second.c],
^
user.cpp:66:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[w[second].second.a], nr[w[second].second.b], nr[w[second].second.c]);
^
user.cpp:66:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[w[second].second.a], nr[w[second].second.b], nr[w[second].second.c]);
^
user.cpp:66:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[w[second].second.a], nr[w[second].second.b], nr[w[second].second.c]);
^
user.cpp:58:6: warning: unused variable ‘jumate’ [-Wunused-variable]
int jumate = s / 2 + s % 2;
^
user.cpp:40:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("loto.in", "r", stdin);
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("loto.out", "w", stdout);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &s);
^
user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 424kb | OK! | 5 | 5 |
2 | 0ms | 420kb | OK! | 5 | 5 |
3 | 0ms | 432kb | OK! | 5 | 0 |
4 | 0ms | 428kb | Wrong answer! | 0 |
5 | 36ms | 2348kb | OK! | 5 |
6 | 36ms | 2348kb | Wrong answer! | 0 | 0 |
7 | 0ms | 540kb | Wrong answer! | 0 |
8 | 0ms | 600kb | Wrong answer! | 0 |
9 | 36ms | 2348kb | OK! | 5 | 0 |
10 | 4ms | 664kb | Wrong answer! | 0 |
11 | 4ms | 712kb | Wrong answer! | 0 |
12 | 8ms | 756kb | Wrong answer! | 0 | 0 |
13 | 12ms | 908kb | Wrong answer! | 0 | 0 |
14 | 16ms | 980kb | Wrong answer! | 0 | 0 |
15 | 20ms | 1300kb | Wrong answer! | 0 | 0 |
16 | 28ms | 1300kb | Wrong answer! | 0 | 0 |
17 | 36ms | 1488kb | Wrong answer! | 0 | 0 |
18 | 44ms | 2348kb | Wrong answer! | 0 | 0 |
19 | 48ms | 2348kb | Wrong answer! | 0 | 0 |
20 | 52ms | 2344kb | Wrong answer! | 0 | 0 |
Punctaj total | 10 |