Pagini recente » Borderou de evaluare (job #1620030) | Borderou de evaluare (job #1087777) | Cod sursa (job #3276662) | Borderou de evaluare (job #1796624) | Borderou de evaluare (job #1941710)
Borderou de evaluare (job #1941710)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadInput()’:
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &T);
^
user.cpp:43:211: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf%lf%lf%lf%d", ¶llelogram[i].x[0], ¶llelogram[i].y[0], ¶llelogram[i].z[1], ¶llelogram[i].x[1], ¶llelogram[i].y[1], ¶llelogram[i].z[0], ¶llelogram[i].direction);
^
user.cpp: In function ‘void ColorPieces(Parallelogram)’:
user.cpp:105:13: warning: ‘z2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int k = z1; k < z2; k++) {
^
user.cpp:105:13: warning: ‘z1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:104:9: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int j = y1; j < y2; j++) {
^
user.cpp:73:17: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x1, x2, y1, y2, z1, z2;
^
user.cpp:103:5: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i = x1; i < x2; i++) {
^
user.cpp:73:9: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x1, x2, y1, y2, z1, z2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 416kb | Accepted | 10 | 15 |
2 | 20ms | 492kb | Accepted | 5 |
3 | 36ms | 940kb | Accepted | 10 | 15 |
4 | 0ms | 404kb | Accepted | 5 |
5 | 0ms | 408kb | Accepted | 10 | 15 |
6 | 0ms | 416kb | Accepted | 5 |
7 | 24ms | 904kb | Accepted | 10 | 55 |
8 | 0ms | 408kb | Accepted | 10 |
9 | 236ms | 2376kb | Accepted | 15 |
10 | 292ms | 2188kb | Accepted | 20 |
Punctaj total | 100 |