Pagini recente » Borderou de evaluare (job #2031715) | Borderou de evaluare (job #2826634) | Borderou de evaluare (job #2767485) | Borderou de evaluare (job #1904278) | Borderou de evaluare (job #1186951)
Borderou de evaluare (job #1186951)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paralelipiped.in","r",stdin);
^
user.cpp:80:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paralelipiped.out","w",stdout);
^
user.cpp:82:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:86:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:90:79: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&v1[i].x,&v1[i].y,&v1[i].z,&v2[i].x,&v2[i].y,&v2[i].z);
^
user.cpp:165:19: warning: ‘z2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mars[x1][y1][z2]--;
^
user.cpp:166:19: warning: ‘z1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mars[x1][y2][z1]--;
^
user.cpp:166:19: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:165:19: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mars[x1][y1][z2]--;
^
user.cpp:171:22: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mars[x2][y2][z2]--;
^
user.cpp:166:19: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mars[x1][y2][z1]--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 560ms | 7424kb | OK | 100 |
Punctaj total | 100 |