Borderou de evaluare (job #1606502)
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:70: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:70:76: 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:70:100: 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:71:31: 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:71:55: 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:71:79: 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: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]);
^
user.cpp:71:69: warning: ‘second’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr[w[second].second.a], nr[w[second].second.b], nr[w[second].second.c]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 420kb | OK! | 5 | 5 |
2 | 0ms | 424kb | OK! | 5 | 5 |
3 | 0ms | 420kb | OK! | 5 | 0 |
4 | 0ms | 424kb | Wrong answer! | 0 |
5 | 36ms | 2344kb | OK! | 5 |
6 | 36ms | 2344kb | Wrong answer! | 0 | 0 |
7 | 0ms | 536kb | Wrong answer! | 0 |
8 | 0ms | 596kb | Wrong answer! | 0 |
9 | 36ms | 2344kb | OK! | 5 | 0 |
10 | 4ms | 660kb | Wrong answer! | 0 |
11 | 4ms | 704kb | Wrong answer! | 0 |
12 | 8ms | 752kb | Wrong answer! | 0 | 0 |
13 | 12ms | 900kb | 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 | 1480kb | Wrong answer! | 0 | 0 |
18 | 44ms | 2344kb | Wrong answer! | 0 | 0 |
19 | 48ms | 2348kb | Wrong answer! | 0 | 0 |
20 | 52ms | 2344kb | Wrong answer! | 0 | 0 |
Punctaj total | 10 |