Pagini recente » Borderou de evaluare (job #2076298) | Borderou de evaluare (job #1533242) | Borderou de evaluare (job #457961) | Borderou de evaluare (job #1038450) | Borderou de evaluare (job #1228281)
Borderou de evaluare (job #1228281)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.in", "r", stdin);
^
user.cpp:85:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.out", "w", stdout);
^
user.cpp:86:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:89:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
user.cpp:93:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&m);m;m--)
^
user.cpp:95:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&x,&y);
^
user.cpp: In function ‘inarbore arbint_query(int, int, int)’:
user.cpp:70:32: warning: ‘auxdr.inarbore::dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
auxnod.dr+=auxst.dr;
^
user.cpp:65:32: warning: ‘auxdr.inarbore::st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
auxnod.st+=auxdr.st;
^
user.cpp:79:12: warning: ‘auxdr.inarbore::mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return auxnod;
^
user.cpp:68:9: warning: ‘auxdr.inarbore::pozdr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(auxnod.pozdr==mid+1 && auxst.dr>0)
^
user.cpp:79:12: warning: ‘auxdr.inarbore::pozst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return auxnod;
^
user.cpp:70:32: warning: ‘auxst.inarbore::dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
auxnod.dr+=auxst.dr;
^
user.cpp:65:32: warning: ‘auxst.inarbore::st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
auxnod.st+=auxdr.st;
^
user.cpp:63:9: warning: ‘auxst.inarbore::pozst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(auxnod.pozst==mid && auxdr.st>0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 4ms | 348kb | Incorect | 0 |
3 | 4ms | 408kb | Incorect | 0 |
4 | 8ms | 536kb | Incorect | 0 |
5 | 272ms | 4380kb | Incorect | 0 |
6 | 320ms | 8476kb | Incorect | 0 |
7 | 364ms | 8476kb | Incorect | 0 |
8 | 376ms | 8472kb | Incorect | 0 |
9 | 404ms | 8472kb | Incorect | 0 |
10 | 412ms | 8472kb | Incorect | 0 |
11 | 292ms | 8476kb | Incorect | 0 |
12 | 380ms | 8476kb | Incorect | 0 |
13 | 464ms | 8476kb | Incorect | 0 |
14 | 516ms | 8472kb | Incorect | 0 |
15 | 740ms | 16668kb | Incorect | 0 |
16 | 760ms | 16664kb | Incorect | 0 |
17 | 772ms | 16664kb | Incorect | 0 |
18 | 772ms | 16664kb | Incorect | 0 |
19 | 784ms | 16668kb | Incorect | 0 |
20 | 784ms | 16664kb | Incorect | 0 |
Punctaj total | 0 |