Pagini recente » Borderou de evaluare (job #2588064) | Borderou de evaluare (job #1825577) | Borderou de evaluare (job #121434) | Borderou de evaluare (job #169388) | Borderou de evaluare (job #1862144)
Borderou de evaluare (job #1862144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].nr);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:35:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&alcat,&ccost);
^
user.cpp:53:23: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(v[st-1].cost==v[m].cost&&st>1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 192ms | 1420kb | OK | 10 |
5 | 208ms | 1428kb | OK | 10 |
6 | 200ms | 1432kb | OK | 10 |
7 | 180ms | 1320kb | OK | 10 |
8 | 212ms | 1432kb | OK | 10 |
9 | 204ms | 1424kb | OK | 10 |
10 | 204ms | 1428kb | OK | 10 |
Punctaj total | 100 |